Search Linux Wireless

Re: [PATCH wireless-next v9 3/3] wifi: mac80211: Set RTS threshold on per-radio basis

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

 




On 5/21/2025 2:56 PM, Johannes Berg wrote:
> On Wed, 2025-05-21 at 14:55 +0530, Roopni Devanathan wrote:
>>
>> I think so, too. As mentioned already, I can change the datatype of radio_id to
>> int, retain the NL80211_WIPHY_RADIO_ID_INVALID value at -1. This would mean that
>> passing default value to individual drivers will set RTS threshold to all the radios
>> in a wiphy, or it will be the case of single wiphy architecture.
>>
>> I hope this change will be sound and standing?
> 
> Right, that sounds good. Except it still shouldn't be
> NL80211_WIPHY_RADIO_ID_INVALID since negative values are not part of the
> nl80211 API :)
> 
So, why not, we give a value of 255 to NL80211_WIPHY_RADIO_ID_DEFAULT? Then, we can
retain u8 datatype of radio_id.

> johannes




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

  Powered by Linux