diff options
author | Aditya Kumar Singh <quic_adisi@quicinc.com> | 2024-02-27 09:52:51 +0530 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-03-04 14:28:59 +0100 |
commit | 5fcc7c51f9e72d1e62991f8b32be4a5adf44d556 (patch) | |
tree | 340c6e11a025d9cca75e82e1661ddff8e679667f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1c0d21c4b33a41be9090e73f8225813d72ac88d9 (diff) |
wifi: mac80211: handle netif carrier up/down with link AP during MLO
Currently whenever link AP is started, netif_carrier_up() function is
called and whenever it is brought down, netif_carrier_down() function is
called. However, with MLO, all the links of the same MLD would use the
same netdev. Hence there is no need to indicate for each link up/down.
Also, calling it down when only one of the links went down is not
desirable.
Add changes to call the netif_carrier_up() function only when first link
is brought up. Similarly, add changes to call the netif_carrier_down()
function only when last link is brought down.
In order to check the number of beaconing links in the given interface,
introduce a new helper function ieee80211_num_beaconing_links().
Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
Link: https://msgid.link/20240227042251.1511122-3-quic_adisi@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions