Skip to content

Commit 14d00d7

Browse files
Miriam-Racheljmberg-intel
authored andcommitted
wifi: iwlwifi: rename iwl_datapath_monitor_notif::mac_id to link_id
The FW really sends the link_id here. Rename it, while leaving a FIXME in iwlmvm. Signed-off-by: Miri Korenblit <[email protected]> Reviewed-by: Emmanuel Grumbach <[email protected]> Link: https://patch.msgid.link/20241231135726.a3d07be17fb1.Ib8a623af099b9b0f2b8d552fca546c476a69a82d@changeid Signed-off-by: Johannes Berg <[email protected]>
1 parent c0cf30b commit 14d00d7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

drivers/net/wireless/intel/iwlwifi/fw/api/datapath.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ enum iwl_datapath_monitor_notif_type {
391391

392392
struct iwl_datapath_monitor_notif {
393393
__le32 type;
394-
u8 mac_id;
394+
u8 link_id;
395395
u8 reserved[3];
396396
} __packed; /* MONITOR_NTF_API_S_VER_1 */
397397

drivers/net/wireless/intel/iwlwifi/mvm/ops.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@ static void iwl_mvm_rx_monitor_notif(struct iwl_mvm *mvm,
208208
if (notif->type != cpu_to_le32(IWL_DP_MON_NOTIF_TYPE_EXT_CCA))
209209
return;
210210

211-
vif = iwl_mvm_get_vif_by_macid(mvm, notif->mac_id);
211+
/* FIXME: should fetch the link and not the vif */
212+
vif = iwl_mvm_get_vif_by_macid(mvm, notif->link_id);
212213
if (!vif || vif->type != NL80211_IFTYPE_STATION)
213214
return;
214215

0 commit comments

Comments
 (0)