compat-wireless use of iwlwifi driver in Android ics imx6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

compat-wireless use of iwlwifi driver in Android ics imx6

Jump to solution
1,432 Views
michaelrobbelot
Contributor IV

Anyone,

I am trying to get the compat-wireless package to work with the imx6 Android BSP. I am able to get the mac80211, cfg80211, and compat drivers to load fine, but the iwlwifi driver refuses to load. I am getting error messages of the following form:

iwlwifi: disagrees about version of symbol ieee80211_stop_tx_ba_session

iwlwifi: Unknown symbol ieee80211_stop_tx_ba_session (err -22)

iwlwifi: Unknown symbol ieee80211_get_tkip_p1k_iv (err 0)

lsmod provides the following output:

mac80211 177127 0 - Live 0xbf037000

cfg80211 146105 1 mac80211, Live 0xbf004000

compat 1722 0 - Live 0xbf000000

From my development machine, modinfo on each of the drivers in output/.../system/lib/modules (including iwlwifi) gives me:


vermagic: 3.0.35-svn217 preempt mod_unload modversions ARMv7


I'm stumped at this point. My desire for getting this to work is to support the Intel N105 PCI-e module which is a replacement for the N100 that has gone EOL. Thank you.


Michael Robbeloth

Labels (2)
0 Kudos
Reply
1 Solution
963 Views
michaelrobbelot
Contributor IV

It looks like I was copying the driver files from kernel_imx instead of compat-wireless per what was specified in my imx6.mk PRODUCT_COPY_FILES command. Although everything had the same modinfo, the ieee80211 routines had different magic values between the two versions and thus the error you see referenced above this message.

Michael Robbeloth

View solution in original post

0 Kudos
Reply
1 Reply
964 Views
michaelrobbelot
Contributor IV

It looks like I was copying the driver files from kernel_imx instead of compat-wireless per what was specified in my imx6.mk PRODUCT_COPY_FILES command. Although everything had the same modinfo, the ieee80211 routines had different magic values between the two versions and thus the error you see referenced above this message.

Michael Robbeloth

0 Kudos
Reply