Search Linux Wireless

Re: [PATCH v3 2/7] mac80211: add radar detection command/event

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

 



On Fri, Aug 10, 2012 at 7:28 PM, Stanislaw Gruszka <sgruszka@xxxxxxxxxx> wrote:
> On Wed, Aug 08, 2012 at 02:53:38PM +0300, Victor Goldenshtein wrote:
>> --- a/include/net/mac80211.h
>> +++ b/include/net/mac80211.h
>> @@ -2262,6 +2262,10 @@ enum ieee80211_rate_control_changed {
>>   *   The callback will be called before each transmission and upon return
>>   *   mac80211 will transmit the frame right away.
>>   *   The callback is optional and can (should!) sleep.
>> + *
>> +* @start_radar_detection: Start radar detection on current operational
>> + *   channel, once started it will continuously monitor for radars as long
>> + *   as the channel active.
>>   */
>>  struct ieee80211_ops {
>>       void (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb);
>> @@ -2404,6 +2408,10 @@ struct ieee80211_ops {
>>
>>       void    (*mgd_prepare_tx)(struct ieee80211_hw *hw,
>>                                 struct ieee80211_vif *vif);
>> +
>> +     int (*start_radar_detection)(struct ieee80211_hw *hw,
>> +                                  struct ieee80211_vif *vif,
>> +                                  struct ieee80211_channel *chan);
>
> Why we need new callback? I.e. why this can be done by ->config ?
>

See proposed RFC and previous threads.

-- 
Thanks,
Victor.
--
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