I'm using kernel 2.6.37 on a dm8148-based platform with a wl1271 tiwi module connected to the processor via sdio. I'm able to use the default kernel module for the wl1271 in order to get station mode. I have been able to connect to a remote AP and transfer data successfully. What I actually need is for the part to work in AP mode. In order to try to accomplish this, I'm using backports-20130528 (I'm not particular about what version, so if there is a better version of backports/compat-wireless to use, please suggest one).
Backports will not offer me the wl217_sdio option, because it says that I do not have wl12xx_platform_data defined. When I grep my kernel config, that flag is actually set. Given that, I just removed the flag from the Kconfig for backports, which gives me access to the wl12xx_sdio option and produces a wlcore_sdio.ko module. When I try to load that module, I get this:
Powering on wl12xx
[77192.730000] wl1271_sdio mmc2:0001:2: missing wlan platform data: -61
[77192.730000] wl1271_sdio: probe of mmc2:0001:2 failed with error -61
[77192.740000] Powering off wl12xx
My board support file has all of the wlan platform data structure stuff defined. I'm at a bit of a loss where to go next. Should I try to figure out why this version of backports doesn't like my platform data? Should I use some other version of backports? Is there some other way to get AP support in a WL1271 driver?