Home
last modified time | relevance | path

Searched refs:tim_idx (Results 1 – 6 of 6) sorted by relevance

/drivers/net/wireless/iwlwifi/mvm/
Dmac-ctxt.c947 u32 tim_idx; in iwl_mvm_mac_ctxt_set_tim() local
952 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mvm_mac_ctxt_set_tim()
955 while ((tim_idx < (frame_size - 2)) && in iwl_mvm_mac_ctxt_set_tim()
956 (beacon[tim_idx] != WLAN_EID_TIM)) in iwl_mvm_mac_ctxt_set_tim()
957 tim_idx += beacon[tim_idx+1] + 2; in iwl_mvm_mac_ctxt_set_tim()
960 if ((tim_idx < (frame_size - 1)) && (beacon[tim_idx] == WLAN_EID_TIM)) { in iwl_mvm_mac_ctxt_set_tim()
961 beacon_cmd->tim_idx = cpu_to_le32(tim_idx); in iwl_mvm_mac_ctxt_set_tim()
962 beacon_cmd->tim_size = cpu_to_le32((u32)beacon[tim_idx+1]); in iwl_mvm_mac_ctxt_set_tim()
Dfw-api-tx.h542 __le32 tim_idx; member
/drivers/net/wireless/iwlwifi/dvm/
Dmain.c90 u16 tim_idx; in iwl_set_beacon_tim() local
97 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_set_beacon_tim()
100 while ((tim_idx < (frame_size - 2)) && in iwl_set_beacon_tim()
101 (beacon[tim_idx] != WLAN_EID_TIM)) in iwl_set_beacon_tim()
102 tim_idx += beacon[tim_idx+1] + 2; in iwl_set_beacon_tim()
105 if ((tim_idx < (frame_size - 1)) && (beacon[tim_idx] == WLAN_EID_TIM)) { in iwl_set_beacon_tim()
106 tx_beacon_cmd->tim_idx = cpu_to_le16(tim_idx); in iwl_set_beacon_tim()
107 tx_beacon_cmd->tim_size = beacon[tim_idx+1]; in iwl_set_beacon_tim()
Dcommands.h2502 __le16 tim_idx; member
/drivers/net/wireless/iwlegacy/
D4965-mac.c3775 u16 tim_idx; in il4965_set_beacon_tim() local
3782 tim_idx = mgmt->u.beacon.variable - beacon; in il4965_set_beacon_tim()
3785 while ((tim_idx < (frame_size - 2)) && in il4965_set_beacon_tim()
3786 (beacon[tim_idx] != WLAN_EID_TIM)) in il4965_set_beacon_tim()
3787 tim_idx += beacon[tim_idx + 1] + 2; in il4965_set_beacon_tim()
3790 if ((tim_idx < (frame_size - 1)) && (beacon[tim_idx] == WLAN_EID_TIM)) { in il4965_set_beacon_tim()
3791 tx_beacon_cmd->tim_idx = cpu_to_le16(tim_idx); in il4965_set_beacon_tim()
3792 tx_beacon_cmd->tim_size = beacon[tim_idx + 1]; in il4965_set_beacon_tim()
Dcommands.h2664 __le16 tim_idx; member
2672 __le16 tim_idx; member