2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/wireless/ath/ath5k
Roopni Devanathan b74947b4f6 wifi: cfg80211/mac80211: Add support to get radio index
Currently, per-radio attributes are set on per-phy basis, i.e., all the
radios present in a wiphy will take attributes values sent from user. But
each radio in a wiphy can get different values from userspace based on
its requirement.

To extend support to set per-radio attributes, add support to get radio
index from userspace. Add an NL attribute - NL80211_ATTR_WIPHY_RADIO_INDEX,
to get user specified radio index for which attributes should be changed.
Pass this to individual drivers, so that the drivers can use this radio
index to change per-radio attributes when necessary. Currently, per-radio
attributes identified are:
NL80211_ATTR_WIPHY_TX_POWER_LEVEL
NL80211_ATTR_WIPHY_ANTENNA_TX
NL80211_ATTR_WIPHY_ANTENNA_RX
NL80211_ATTR_WIPHY_RETRY_SHORT
NL80211_ATTR_WIPHY_RETRY_LONG
NL80211_ATTR_WIPHY_FRAG_THRESHOLD
NL80211_ATTR_WIPHY_RTS_THRESHOLD
NL80211_ATTR_WIPHY_COVERAGE_CLASS
NL80211_ATTR_TXQ_LIMIT
NL80211_ATTR_TXQ_MEMORY_LIMIT
NL80211_ATTR_TXQ_QUANTUM

By default, the radio index is set to -1. This means the attribute should
be treated as a global configuration. If the user has not specified any
index, then the radio index passed to individual drivers would be -1. This
would indicate that the attribute applies to all radios in that wiphy.

Signed-off-by: Roopni Devanathan <quic_rdevanat@quicinc.com>
Link: https://patch.msgid.link/20250615082312.619639-2-quic_rdevanat@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2025-06-24 15:19:27 +02:00
..
ahb.c wifi: Switch back to struct platform_driver::remove() 2024-11-11 14:10:45 +02:00
ani.c
ani.h
ath5k.h
attach.c
base.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
base.h wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
caps.c
debug.c wifi: ath5k: remove phydir check from ath5k_debug_init_device() 2023-07-25 17:30:03 +03:00
debug.h
desc.c
desc.h
dma.c
eeprom.c wifi: ath5k: fix an off by one check in ath5k_eeprom_read_freq_list() 2023-02-22 11:56:30 +02:00
eeprom.h wifi: ath5k: remove unused ath5k_eeprom_info::ee_antenna 2023-12-07 12:15:37 +02:00
gpio.c
initvals.c
Kconfig
led.c wifi: ath5k: replace deprecated strncpy with strscpy 2023-10-18 11:31:36 +03:00
mac80211-ops.c wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
Makefile
pci.c wifi: ath5k: add PCI ID for Arcadyan devices 2024-10-16 07:43:07 -07:00
pcu.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
phy.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
qcu.c
reg.h
reset.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
rfbuffer.h
rfgain.h
rfkill.c
sysfs.c
trace.h