All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] add common API to configure SAR
@ 2020-11-20  8:53 ` Carl Huang
  0 siblings, 0 replies; 21+ messages in thread
From: Carl Huang @ 2020-11-20  8:53 UTC (permalink / raw)
  To: ath10k; +Cc: briannorris, linux-wireless, dianders

This patchset is to add common API to configure SAR.
The mechanism is wlan driver registers sar capability
to wiphy and userspace queries it. Userspace then sets
power limiation to wlan driver.

v2:
- rebased on ToT
- fix comments by Johannes and Abhishek
- change sar_power to s32 and range_index to u32

Carl Huang (3):
  nl80211: add common API to configure SAR power limitations.
  mac80211: add ieee80211_set_sar_specs
  ath10k: allow dynamic SAR power limits via common API

 drivers/net/wireless/ath/ath10k/core.c |  16 +++
 drivers/net/wireless/ath/ath10k/core.h |   3 +
 drivers/net/wireless/ath/ath10k/hw.h   |   2 +
 drivers/net/wireless/ath/ath10k/mac.c  | 225 ++++++++++++++++++++++++---------
 include/net/cfg80211.h                 |  51 ++++++++
 include/net/mac80211.h                 |   2 +
 include/uapi/linux/nl80211.h           | 101 +++++++++++++++
 net/mac80211/cfg.c                     |  12 ++
 net/wireless/nl80211.c                 | 168 ++++++++++++++++++++++++
 net/wireless/rdev-ops.h                |  12 ++
 net/wireless/trace.h                   |  19 +++
 11 files changed, 552 insertions(+), 59 deletions(-)

-- 
2.7.4


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2020-12-01  9:46 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-20  8:53 [PATCH v2 0/3] add common API to configure SAR Carl Huang
2020-11-20  8:53 ` Carl Huang
2020-11-20  8:53 ` [PATCH v2 1/3] nl80211: add common API to configure SAR power limitations Carl Huang
2020-11-20  8:53   ` Carl Huang
2020-11-21  2:42   ` Brian Norris
2020-11-21  2:42     ` Brian Norris
2020-11-30 10:10     ` Carl Huang
2020-11-30 10:10       ` Carl Huang
2020-12-01  8:37       ` Abhishek Kumar
2020-12-01  8:37         ` Abhishek Kumar
2020-12-01  9:40         ` Carl Huang
2020-12-01  9:40           ` Carl Huang
2020-11-20  8:53 ` [PATCH v2 2/3] mac80211: add ieee80211_set_sar_specs Carl Huang
2020-11-20  8:53   ` Carl Huang
2020-12-01  8:38   ` Abhishek Kumar
2020-12-01  8:38     ` Abhishek Kumar
2020-11-20  8:53 ` [PATCH v2 3/3] ath10k: allow dynamic SAR power limits via common API Carl Huang
2020-11-20  8:53   ` Carl Huang
2020-11-20 11:43   ` kernel test robot
2020-11-20 11:43     ` kernel test robot
2020-11-20 11:43     ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.