1: f2b856c5530f < -: ------------ wifi: nl80211: define Seamless Mobility Domain (SMD) device capability  2: 296ac6cc3096 < -: ------------ wifi: nl80211/cfg80211: define interfaces for SMD setup and STA update  3: df8283593a22 < -: ------------ wifi: nl80211: add SMD BSS Transition sub-state STA flags  4: 662c9b76d929 < -: ------------ wifi: cfg80211: define layouts for SMD BSS Transition context  5: fe89d9417c38 < -: ------------ wifi: nl80211: define interfaces for SMD BSS Transition context transfer  -: ------------ > 1: 8c452a4905d2 wifi: nl80211: define Seamless Mobility Domain (SMD) device capability  -: ------------ > 2: 138bf905dcc4 wifi: nl80211/cfg80211: define interfaces for SMD STA indications  -: ------------ > 3: 43ef9992d619 wifi: nl80211: add ST sub-state STA flags for non-AP MLD  -: ------------ > 4: 64de349648d4 wifi: cfg80211: define layouts for ST context transfer  -: ------------ > 5: 610560962dd5 wifi: nl80211: define interfaces for ST context transfer  6: cf04c14dc717 ! 6: b15a3be1b709 wifi: ieee80211: define APIs for UHR Link Reconfiguration frame checks @@ Commit message  Add APIs necessary to check whether the frame is a UHR Link Reconfiguration Request/Response/Notify frame and subtypes to invoke - necessary SMD BSS Transition handling on the AP MLD. + necessary SMD Transition handling on the AP MLD.  Signed-off-by: Pooventhiran G    7: ca8344d5b761 = 7: 0b35ad236d87 wifi: ieee80211: define API to check if frame is class 3  8: debf50c4b4d8 < -: ------------ wifi: nl80211/cfg80211: pack SMD dynamic context along with frame  9: f4ebcafaf817 < -: ------------ wifi: nl80211/cfg80211: add support for SMD context programming 10: 5fab123edc2c < -: ------------ wifi: nl80211/cfg80211: add support for querying SMD context for target AP MLD 11: 5dd3d948d02c < -: ------------ wifi: nl80211/cfg80211: define API to notify SMD Drain completion 12: f575aa00a9e3 < -: ------------ wifi: mac80211: set SMD parameters for AP setup and STA update 13: 2d4d78e5efa0 < -: ------------ wifi: mac80211: apply SMD BSS Transition STA sub-states 14: ace7c460a171 < -: ------------ wifi: mac80211: add driver_op for SMD substate changes  -: ------------ > 8: 49d5d0378c4e wifi: nl80211/cfg80211: pack ST dynamic context along with frame  -: ------------ > 9: 2af1aec01f38 wifi: nl80211/cfg80211: add support for ST context programming  -: ------------ > 10: c194b027c6d4 wifi: nl80211/cfg80211: add support for querying ST context for target AP MLD  -: ------------ > 11: a541231c915a wifi: nl80211/cfg80211: define API to notify ST Drain completion  -: ------------ > 12: a70af70cffe6 wifi: mac80211: apply SMD indication and ST sub-states to STA  -: ------------ > 13: f07d32900923 wifi: mac80211: add driver_op for ST substate changes 15: 4b715d1882b2 ! 14: e093957040d0 wifi: mac80211: filter uplink and downlink frames based on SMD states @@ Metadata Author: Pooventhiran G   ## Commit message ## - wifi: mac80211: filter uplink and downlink frames based on SMD states + wifi: mac80211: filter uplink and downlink frames based on ST states  - During SMD BSS Transition, based on the state that the non-AP MLD is - currently in, there are frame filtering conditions imposed in both - uplink and downlink directions, as per IEEE P802.11bn/D2.0, Aug 2026, - subclause 11.3.1. + During ST, based on the state that the non-AP MLD is currently in, there + are frame filtering conditions imposed in both uplink and downlink + directions, as per IEEE P802.11bn/D2.0, Aug 2026, subclause 11.3.1.  State 4a: - UL/DL: All Class 3 frames except ST Execution Request and Response @@ net/mac80211/rx.c: ieee80211_rx_h_check(struct ieee80211_rx_data *rx) }   +static ieee80211_rx_result debug_noinline -+ieee80211_rx_h_smd_state(struct ieee80211_rx_data *rx) ++ieee80211_rx_h_st_state(struct ieee80211_rx_data *rx)  +{  + struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)rx->skb->data;  + __le16 fc = hdr->frame_control; @@ net/mac80211/rx.c: ieee80211_rx_h_check(struct ieee80211_rx_data *rx)  + if (!rx->sta ||  + (rx->sdata->vif.type != NL80211_IFTYPE_AP &&  + rx->sdata->vif.type != NL80211_IFTYPE_AP_VLAN) || ++ !rx->sta->sta.smd_sta ||  + !test_sta_flag(rx->sta, WLAN_STA_ASSOC) ||  + is_multicast_ether_addr(hdr->addr1))  + return RX_CONTINUE;  + -+ switch (rx->sta->smd_state) { -+ case IEEE80211_STA_SMD_NONE: ++ switch (rx->sta->st_state) { ++ case IEEE80211_STA_ST_NONE:  + break; -+ case IEEE80211_STA_SMD_PREP: ++ case IEEE80211_STA_ST_PREPARED:  + /* 4a: Class 3 disallowed except ST Execution Request */  + if (ieee80211_is_st_exec_req(rx->skb))  + break;  + if (ieee80211_is_class3(rx->skb))  + return RX_DROP_U_SMD_FILTERED;  + break; -+ case IEEE80211_STA_SMD_EXEC: ++ case IEEE80211_STA_ST_EXECUTING:  + /* 4b: Class 3 Data frames disallowed */  + if (ieee80211_is_data(fc))  + return RX_DROP_U_SMD_FILTERED;  + break; -+ case IEEE80211_STA_SMD_DRAIN: ++ case IEEE80211_STA_ST_DL_DRAIN:  + /*  + * 4c: Class 3 frames disallowed except QoS Null, Control, and  + * UHR Reconfiguration Notify frames. @@ net/mac80211/rx.c: static void ieee80211_invoke_rx_handlers(struct ieee80211_rx_  CALL_RXH(ieee80211_rx_h_check_dup); CALL_RXH(ieee80211_rx_h_check); -+ CALL_RXH(ieee80211_rx_h_smd_state); ++ CALL_RXH(ieee80211_rx_h_st_state);  ieee80211_rx_reorder_ampdu(rx, &reorder_release);  @@ net/mac80211/tx.c: ieee80211_tx_h_check_assoc(struct ieee80211_tx_data *tx) }   +static ieee80211_tx_result debug_noinline -+ieee80211_tx_h_smd_state(struct ieee80211_tx_data *tx) ++ieee80211_tx_h_st_state(struct ieee80211_tx_data *tx)  +{  + struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx->skb->data;  + __le16 fc = hdr->frame_control; @@ net/mac80211/tx.c: ieee80211_tx_h_check_assoc(struct ieee80211_tx_data *tx)  + if (!tx->sta ||  + (tx->sdata->vif.type != NL80211_IFTYPE_AP &&  + tx->sdata->vif.type != NL80211_IFTYPE_AP_VLAN) || ++ !tx->sta->sta.smd_sta ||  + !test_sta_flag(tx->sta, WLAN_STA_ASSOC) ||  + !(tx->flags & IEEE80211_TX_UNICAST))  + return TX_CONTINUE;  + -+ switch (tx->sta->smd_state) { -+ case IEEE80211_STA_SMD_NONE: ++ switch (tx->sta->st_state) { ++ case IEEE80211_STA_ST_NONE:  + break; -+ case IEEE80211_STA_SMD_PREP: ++ case IEEE80211_STA_ST_PREPARED:  + /* 4a: Class 3 disallowed except ST Execution Response */  + if (ieee80211_is_st_exec_resp(tx->skb))  + break;  + if (ieee80211_is_class3(tx->skb))  + return TX_DROP;  + break; -+ case IEEE80211_STA_SMD_EXEC: ++ case IEEE80211_STA_ST_EXECUTING:  + /* 4b: no restriction */  + break; -+ case IEEE80211_STA_SMD_DRAIN: ++ case IEEE80211_STA_ST_DL_DRAIN:  + /* 4c: Class 3 disallowed except Data, Control,  + * UHR Reconfiguration Notify  + */ @@ net/mac80211/tx.c: static int invoke_tx_handlers_early(struct ieee80211_tx_data  CALL_TXH(ieee80211_tx_h_dynamic_ps); CALL_TXH(ieee80211_tx_h_check_assoc); -+ CALL_TXH(ieee80211_tx_h_smd_state); ++ CALL_TXH(ieee80211_tx_h_st_state); CALL_TXH(ieee80211_tx_h_ps_buf); CALL_TXH(ieee80211_tx_h_check_control_port_protocol); CALL_TXH(ieee80211_tx_h_select_key); 16: 62b5a4791948 < -: ------------ wifi: mac80211: send BlockAck policy in AMPDU action 17: 09a0425f2bd5 ! 15: d6ed79ec4737 wifi: mac80211: pass rx_data directly from ieee80211_rx_list() @@ Commit message Signed-off-by: Pooventhiran G   ## net/mac80211/rx.c ## -@@ net/mac80211/rx.c: static bool ieee80211_rx_valid_freq(struct ieee80211_rx_status *status, +@@ net/mac80211/rx.c: ieee80211_link_from_freq(struct ieee80211_sub_if_data *sdata, int freq) static void __ieee80211_rx_handle_packet(struct ieee80211_hw *hw, struct ieee80211_link_sta *link_pubsta, struct sk_buff *skb,  - struct list_head *list)  + struct list_head *list,  + struct ieee80211_rx_data *rx) + __must_hold_shared(RCU) { struct ieee80211_local *local = hw_to_local(hw); - struct ieee80211_sub_if_data *sdata;  @@ net/mac80211/rx.c: static void __ieee80211_rx_handle_packet(struct ieee80211_hw *hw, struct link_sta_info *link_sta; struct sta_info *sta; @@ net/mac80211/rx.c: static void __ieee80211_rx_handle_packet(struct ieee80211_hw if (unlikely(ieee80211_is_probe_resp(hdr->frame_control) || ieee80211_is_beacon(hdr->frame_control) ||  @@ net/mac80211/rx.c: static void __ieee80211_rx_handle_packet(struct ieee80211_hw *hw, - sta); + sta = sta_from_pub(link_pubsta->sta); link_sta = rcu_dereference(sta->link[link_pubsta->link_id]);   - rx.sdata = sta->sdata; @@ net/mac80211/rx.c: static void __ieee80211_rx_handle_packet(struct ieee80211_hw  continue;  @@ net/mac80211/rx.c: static void __ieee80211_rx_handle_packet(struct ieee80211_hw *hw, - } + link = ieee80211_link_from_freq(sdata, status->freq);  if (rx_data_pending) {  - ieee80211_prepare_and_rx_handle(&rx, skb, false); 18: b7b8997e1aa0 < -: ------------ wifi: mac80211: handle UHR Link Reconfiguration frame 19: c10be79097f3 < -: ------------ wifi: mac80211: add mac80211 support to handle NL80211_CMD_SET_SMD_CTX 20: bc145c32334c < -: ------------ wifi: mac80211: add mac80211 support to handle NL80211_CMD_GET_SMD_CTX 21: 57d03359bd56 < -: ------------ wifi: mac80211: define API to invoke SMD Drain Completion event  -: ------------ > 16: 2a65202058f9 wifi: mac80211: handle UHR Link Reconfiguration frame  -: ------------ > 17: e6928dab9332 wifi: mac80211: add mac80211 support to handle NL80211_CMD_SET_ST_CTX  -: ------------ > 18: 3785adfa2dbb wifi: mac80211: add mac80211 support to handle NL80211_CMD_GET_ST_CTX  -: ------------ > 19: 934960afe60f wifi: mac80211: define API to invoke ST Drain Completion event