ath9k: add support for reporting tx power to mac80211
Track it per channel context instead of in the softc Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Цей коміт міститься в:

зафіксовано
John W. Linville

джерело
71783576b5
коміт
d385c5c286
@@ -347,6 +347,7 @@ struct ath_chanctx {
|
||||
|
||||
int flush_timeout;
|
||||
u16 txpower;
|
||||
u16 cur_txpower;
|
||||
bool offchannel;
|
||||
bool stopped;
|
||||
bool active;
|
||||
@@ -987,7 +988,6 @@ struct ath_softc {
|
||||
u8 gtt_cnt;
|
||||
u32 intrstatus;
|
||||
u16 ps_flags; /* PS_* */
|
||||
u16 curtxpow;
|
||||
bool ps_enabled;
|
||||
bool ps_idle;
|
||||
short nbcnvifs;
|
||||
|
Посилання в новій задачі
Заблокувати користувача