Commit 5bd5666d authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: mac80211: mlme: first adjustments for MLO



Do the first adjustments in the client-side code to pass
the link pointer (instead of sdata) to most places etc.

This is just preparation, so the real MLO patches become
smaller.

Note that this isn't complete, notably there are still
quite a few references to sta->deflink and sta->sta.deflink.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 42ed6748
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1188,7 +1188,7 @@ ieee80211_link_chanctx_reservation_complete(struct ieee80211_link_data *link)
		break;
	case NL80211_IFTYPE_STATION:
		ieee80211_queue_work(&sdata->local->hw,
				     &sdata->u.mgd.chswitch_work);
				     &link->u.mgd.chswitch_work);
		break;
	case NL80211_IFTYPE_UNSPECIFIED:
	case NL80211_IFTYPE_AP_VLAN:
+2 −2
Original line number Diff line number Diff line
@@ -448,9 +448,7 @@ struct ieee80211_if_managed {
	struct timer_list timer;
	struct timer_list conn_mon_timer;
	struct timer_list bcn_mon_timer;
	struct timer_list chswitch_timer;
	struct work_struct monitor_work;
	struct work_struct chswitch_work;
	struct work_struct beacon_connection_loss_work;
	struct work_struct csa_connection_drop_work;

@@ -888,6 +886,8 @@ struct ieee80211_link_data_managed {

	bool csa_waiting_bcn;
	bool csa_ignored_same_chan;
	struct timer_list chswitch_timer;
	struct work_struct chswitch_work;

	struct work_struct request_smps_work;
	bool beacon_crc_valid;
+405 −360

File changed.

Preview size limit exceeded, changes collapsed.