cfg80211 calling crda when suspending

Sven Neumann s.neumann at raumfeld.com
Fri Nov 5 07:22:43 EDT 2010


Hi,

we are using the libertas driver with kernel 2.6.36. I have observed
that the cfg80211 layer calls crda to update the regulatory domain when
the card is being powered down on suspend. This causes a warning to be
raised in the libertas driver and it wastes time during resume. Please
have a look at this log snippet:

[   48.149397] Freezing user space processes ... (elapsed 0.01 seconds) done.
[   48.170667] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[   48.190596] Suspending console(s) (use no_console_suspend to debug)
[   48.313612] libertas: mmc0:0001:1: suspend: PM flags = 0x0
[   48.313636] libertas: Suspend without wake params -- powering down card.
[   48.315422] cfg80211: Calling CRDA to update world regulatory domain
[   48.316102] libertas: Received CMD_RESP with invalid sequence 59 (expected 0)
[   48.588714] mmc0: card 0001 removed
[   48.589410] PM: suspend of devices complete after 391.537 msecs
[   48.590052] PM: late suspend of devices complete after 0.608 msecs
[    0.000979] PM: early resume of devices complete after 0.560 msecs
[    0.060998] usb usb1: root hub lost power or was reset
[    0.298311] PM: resume of devices complete after 297.161 msecs
[    0.357243] Restarting tasks ... 
[    0.469524] cfg80211: World regulatory domain updated:
[    0.474651]     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    0.482233]     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    0.489276]     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    0.496277]     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    0.503312]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    0.510340]     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    0.524634] done.
[    0.587748] mmc0: new SDIO card at address 0001
[    1.138840] libertas: 00:19:88:20:eb:e4, fw 9.70.7p0, cap 0x00000303
[    1.156994] cfg80211: Calling CRDA for country: US
[    1.193070] libertas: wlan0: Marvell WLAN 802.11 adapter
[    1.259312] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    1.265247] cfg80211: Regulatory domain changed to country: US
[    1.271203]     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    1.278690]     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[    1.285694]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[    1.292725]     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    1.299757]     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    1.306758]     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    1.313827]     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[    2.518426] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready



Sven





More information about the libertas-dev mailing list