Search Linux Wireless

Re: [PATCHv2 00/21] cw1200: ST-Ericsson cw1200 wlan device driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2012/5/3 Kevin Groeneveld <kgroeneveld@xxxxxxxxx>:
> Hi Dmitry,
>
>> It looks like mac80211 tries to monitor beacons and they are filtered by
>> cw1200 device.
>>
>> IEEE80211_HW_CONNECTION_MONITOR and / or IEEE80211_HW_BEACON_FILTER flags
>> (I don't remember, but both of them should be set) should prevent mac80211
>> from
>> monitoring. Please check if they are set in
>> drivers/net/wireless/cw1200/main.c
>
> main.c contains the following as in the patches that you posted:
>
> hw->flags = IEEE80211_HW_SIGNAL_DBM |
>                    IEEE80211_HW_SUPPORTS_PS |
>                    IEEE80211_HW_SUPPORTS_DYNAMIC_PS |
>                    IEEE80211_HW_REPORTS_TX_ACK_STATUS |
>                    IEEE80211_HW_SUPPORTS_UAPSD |
>                    IEEE80211_HW_CONNECTION_MONITOR |
>                    IEEE80211_HW_NEED_DTIM_PERIOD;
>
> IEEE80211_HW_BEACON_FILTER does not seem to be defined anywhere in the
> header files.  Do I need this?
>
>>>> Also I see unexpectedly high rate of IRQs, they should not come every now
>>>> and then..
>>>
>>> Any ideas what could cause this or how I should debug it?
>>
>> Are you running with SDIO or GPIO IRQ?
>
> I am using SDIO IRQ.
>
>

Seems this flag is per vif in new compat now.
IEEE80211_VIF_BEACON_FILTER
IEEE80211_VIF_SUPPORTS_CQM_RSSI

So, you should configure this in cw1200_add_interface() for new compat-wireless:

	vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER |
			     IEEE80211_VIF_SUPPORTS_CQM_RSSI;


BR
Janusz
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux