]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mac80211: Refactor ieee80211_sta_wmm_params()
authorIlan Peer <ilan.peer@intel.com>
Wed, 5 Feb 2025 09:39:12 +0000 (11:39 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Feb 2025 10:59:05 +0000 (11:59 +0100)
commit9696b80b87a0db5779f37c7818650966dd32d4ee
treeed0f473fc27d89bacddf5c3fa39d656339c333d4
parent31320ccb09a06df35d1cd1fe2531c55fe983ca19
wifi: mac80211: Refactor ieee80211_sta_wmm_params()

The function first updates the link configuration and then
calls the driver to set the link parameters. Since the call
to the driver might sleep, split the function such that
the link configuration could be done without calling the
driver. This would be useful in cases that WMM parameters
need to be configured, but the current locking doesn't allow
to call the driver.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250205110958.b1cedcf93763.I65783c102d44127035838f97fab64ec4df5c40f3@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c