2013年4月10日

Broadcom softmac WLAN 驱动解析(2)

摘要: 现在我们来看看driver是如何从WLAN chipset那里接收数据的在上一篇文章中提到,数据过来时会产生中断,而在brcms_attach()函数体中,注册的interrupt handler是brcms_isr(),所以数据过来触发的第一个函数就是brcms_isr()。1. 触发brcms_isr()static irqreturn_t brcms_isr(int irq, void *dev_id){ struct brcms_info *wl; irqreturn_t ret = IRQ_NONE; wl = (struct brcms_info *) dev_i... 阅读全文

posted @ 2013-04-10 22:10 hellolwl 阅读(1419) 评论(0) 推荐(0) 编辑

Broadcom softmac WLAN 驱动解析(1)

摘要: 1. 驱动的主入口如下:/** * This is the main entry point for the brcmsmac driver. * * This function is scheduled upon module initialization and * does the driver registration, which result in brcms_bcma_probe() * call resulting in the driver bringup. */static void brcms_driver_init(struct work_struct *work){ 阅读全文

posted @ 2013-04-10 17:02 hellolwl 阅读(2815) 评论(0) 推荐(0) 编辑

导航