QuasiCodo
29-11-2007, 04:50 PM
I'd like to programmatically unload the wifi driver, tnetwln.dll.
In my development efforts, I found that MiniportInitialize() is called only during boot of the P3300. When I use CommManager to disable the wifi, it seems like it only powers down the radio, but does not unload the driver. When I reenable the wifi via CommManager, MiniportInitialize() is not called -- again supporting the idea the driver stays loaded.
I guess this is because the physical device, the TI wifi chip is actually embedded on the board and not truely removed. I am also guessing that the SDIO bus class driver will not unload a device unless it is physically removed.
From my work on SDIO in the past, I seem to remember there is a SDIO register which powers down a slot. If I can do this, it may induce the unload of the driver. Does anyone know of a way to power down a SDIO slot on the P3300?
thx,
((&->
In my development efforts, I found that MiniportInitialize() is called only during boot of the P3300. When I use CommManager to disable the wifi, it seems like it only powers down the radio, but does not unload the driver. When I reenable the wifi via CommManager, MiniportInitialize() is not called -- again supporting the idea the driver stays loaded.
I guess this is because the physical device, the TI wifi chip is actually embedded on the board and not truely removed. I am also guessing that the SDIO bus class driver will not unload a device unless it is physically removed.
From my work on SDIO in the past, I seem to remember there is a SDIO register which powers down a slot. If I can do this, it may induce the unload of the driver. Does anyone know of a way to power down a SDIO slot on the P3300?
thx,
((&->