/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | d3.c | 83 struct iwl_mvm_key_pn *ptk_pn, in iwl_mvm_find_max_pn() argument 95 const u8 *tmp = ptk_pn->q[i].pn[tid]; in iwl_mvm_find_max_pn() 287 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_wowlan_program_keys() local 292 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_wowlan_program_keys() 293 if (WARN_ON(!ptk_pn)) { in iwl_mvm_wowlan_program_keys() 299 pn = iwl_mvm_find_max_pn(key, ptk_pn, &seq, i, in iwl_mvm_wowlan_program_keys() 1291 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_set_aes_rx_seq() local 1296 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_set_aes_rx_seq() 1297 if (WARN_ON(!ptk_pn)) { in iwl_mvm_set_aes_rx_seq() 1309 memcpy(ptk_pn->q[i].pn[tid], in iwl_mvm_set_aes_rx_seq()
|
H A D | rxmq.c | 45 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_check_pn() local 82 ptk_pn = rcu_dereference(mvmsta->ptk_pn[keyidx]); in iwl_mvm_check_pn() 83 if (!ptk_pn) in iwl_mvm_check_pn() 103 res = memcmp(pn, ptk_pn->q[queue].pn[tid], IEEE80211_CCMP_PN_LEN); in iwl_mvm_check_pn() 109 memcpy(ptk_pn->q[queue].pn[tid], pn, IEEE80211_CCMP_PN_LEN); in iwl_mvm_check_pn()
|
H A D | mac80211.c | 3398 struct iwl_mvm_key_pn *ptk_pn; in __iwl_mvm_mac_set_key() local 3512 WARN_ON(rcu_access_pointer(mvmsta->ptk_pn[keyidx])); in __iwl_mvm_mac_set_key() 3513 ptk_pn = kzalloc(struct_size(ptk_pn, q, in __iwl_mvm_mac_set_key() 3516 if (!ptk_pn) { in __iwl_mvm_mac_set_key() 3524 memcpy(ptk_pn->q[q].pn[tid], in __iwl_mvm_mac_set_key() 3529 rcu_assign_pointer(mvmsta->ptk_pn[keyidx], ptk_pn); in __iwl_mvm_mac_set_key() 3584 ptk_pn = rcu_dereference_protected( in __iwl_mvm_mac_set_key() 3585 mvmsta->ptk_pn[keyidx], in __iwl_mvm_mac_set_key() 3587 RCU_INIT_POINTER(mvmsta->ptk_pn[keyidx], NULL); in __iwl_mvm_mac_set_key() 3588 if (ptk_pn) in __iwl_mvm_mac_set_key() [all …]
|
H A D | sta.h | 400 struct iwl_mvm_key_pn __rcu *ptk_pn[4]; member
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | d3.c | 83 struct iwl_mvm_key_pn *ptk_pn, in iwl_mvm_find_max_pn() argument 95 const u8 *tmp = ptk_pn->q[i].pn[tid]; in iwl_mvm_find_max_pn() 287 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_wowlan_program_keys() local 292 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_wowlan_program_keys() 293 if (WARN_ON(!ptk_pn)) { in iwl_mvm_wowlan_program_keys() 299 pn = iwl_mvm_find_max_pn(key, ptk_pn, &seq, i, in iwl_mvm_wowlan_program_keys() 1291 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_set_aes_rx_seq() local 1296 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_set_aes_rx_seq() 1297 if (WARN_ON(!ptk_pn)) { in iwl_mvm_set_aes_rx_seq() 1309 memcpy(ptk_pn->q[i].pn[tid], in iwl_mvm_set_aes_rx_seq()
|
H A D | rxmq.c | 45 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_check_pn() local 82 ptk_pn = rcu_dereference(mvmsta->ptk_pn[keyidx]); in iwl_mvm_check_pn() 83 if (!ptk_pn) in iwl_mvm_check_pn() 103 res = memcmp(pn, ptk_pn->q[queue].pn[tid], IEEE80211_CCMP_PN_LEN); in iwl_mvm_check_pn() 109 memcpy(ptk_pn->q[queue].pn[tid], pn, IEEE80211_CCMP_PN_LEN); in iwl_mvm_check_pn()
|
H A D | mac80211.c | 3398 struct iwl_mvm_key_pn *ptk_pn; in __iwl_mvm_mac_set_key() local 3512 WARN_ON(rcu_access_pointer(mvmsta->ptk_pn[keyidx])); in __iwl_mvm_mac_set_key() 3513 ptk_pn = kzalloc(struct_size(ptk_pn, q, in __iwl_mvm_mac_set_key() 3516 if (!ptk_pn) { in __iwl_mvm_mac_set_key() 3524 memcpy(ptk_pn->q[q].pn[tid], in __iwl_mvm_mac_set_key() 3529 rcu_assign_pointer(mvmsta->ptk_pn[keyidx], ptk_pn); in __iwl_mvm_mac_set_key() 3584 ptk_pn = rcu_dereference_protected( in __iwl_mvm_mac_set_key() 3585 mvmsta->ptk_pn[keyidx], in __iwl_mvm_mac_set_key() 3587 RCU_INIT_POINTER(mvmsta->ptk_pn[keyidx], NULL); in __iwl_mvm_mac_set_key() 3588 if (ptk_pn) in __iwl_mvm_mac_set_key() [all …]
|
H A D | sta.h | 400 struct iwl_mvm_key_pn __rcu *ptk_pn[4]; member
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | d3.c | 83 struct iwl_mvm_key_pn *ptk_pn, in iwl_mvm_find_max_pn() argument 95 const u8 *tmp = ptk_pn->q[i].pn[tid]; in iwl_mvm_find_max_pn() 287 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_wowlan_program_keys() local 292 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_wowlan_program_keys() 293 if (WARN_ON(!ptk_pn)) { in iwl_mvm_wowlan_program_keys() 299 pn = iwl_mvm_find_max_pn(key, ptk_pn, &seq, i, in iwl_mvm_wowlan_program_keys() 1291 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_set_aes_rx_seq() local 1296 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_set_aes_rx_seq() 1297 if (WARN_ON(!ptk_pn)) { in iwl_mvm_set_aes_rx_seq() 1309 memcpy(ptk_pn->q[i].pn[tid], in iwl_mvm_set_aes_rx_seq()
|
H A D | rxmq.c | 45 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_check_pn() local 82 ptk_pn = rcu_dereference(mvmsta->ptk_pn[keyidx]); in iwl_mvm_check_pn() 83 if (!ptk_pn) in iwl_mvm_check_pn() 103 res = memcmp(pn, ptk_pn->q[queue].pn[tid], IEEE80211_CCMP_PN_LEN); in iwl_mvm_check_pn() 109 memcpy(ptk_pn->q[queue].pn[tid], pn, IEEE80211_CCMP_PN_LEN); in iwl_mvm_check_pn()
|
H A D | mac80211.c | 3398 struct iwl_mvm_key_pn *ptk_pn; in __iwl_mvm_mac_set_key() local 3512 WARN_ON(rcu_access_pointer(mvmsta->ptk_pn[keyidx])); in __iwl_mvm_mac_set_key() 3513 ptk_pn = kzalloc(struct_size(ptk_pn, q, in __iwl_mvm_mac_set_key() 3516 if (!ptk_pn) { in __iwl_mvm_mac_set_key() 3524 memcpy(ptk_pn->q[q].pn[tid], in __iwl_mvm_mac_set_key() 3529 rcu_assign_pointer(mvmsta->ptk_pn[keyidx], ptk_pn); in __iwl_mvm_mac_set_key() 3584 ptk_pn = rcu_dereference_protected( in __iwl_mvm_mac_set_key() 3585 mvmsta->ptk_pn[keyidx], in __iwl_mvm_mac_set_key() 3587 RCU_INIT_POINTER(mvmsta->ptk_pn[keyidx], NULL); in __iwl_mvm_mac_set_key() 3588 if (ptk_pn) in __iwl_mvm_mac_set_key() [all …]
|
H A D | sta.h | 400 struct iwl_mvm_key_pn __rcu *ptk_pn[4]; member
|