Home
last modified time | relevance | path

Searched refs:pairwise (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/staging/wfx/
Dkey.c165 bool pairwise = key->flags & IEEE80211_KEY_FLAG_PAIRWISE; in wfx_add_key() local
175 if (pairwise) in wfx_add_key()
181 if (pairwise) in wfx_add_key()
188 if (pairwise) in wfx_add_key()
195 if (pairwise) in wfx_add_key()
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.h38 int qtnf_cmd_send_add_key(struct qtnf_vif *vif, u8 key_index, bool pairwise,
40 int qtnf_cmd_send_del_key(struct qtnf_vif *vif, u8 key_index, bool pairwise,
Devent.c600 u8 pairwise; in qtnf_event_handle_mic_failure() local
618 pairwise = mic_ev->pairwise ? in qtnf_event_handle_mic_failure()
622 vif->netdev->name, mic_ev->src, mic_ev->key_index, pairwise); in qtnf_event_handle_mic_failure()
624 cfg80211_michael_mic_failure(vif->netdev, mic_ev->src, pairwise, in qtnf_event_handle_mic_failure()
Dcfg80211.c534 u8 key_index, bool pairwise, const u8 *mac_addr, in qtnf_add_key() argument
540 ret = qtnf_cmd_send_add_key(vif, key_index, pairwise, mac_addr, params); in qtnf_add_key()
544 pairwise); in qtnf_add_key()
550 u8 key_index, bool pairwise, const u8 *mac_addr) in qtnf_del_key() argument
555 ret = qtnf_cmd_send_del_key(vif, key_index, pairwise, mac_addr); in qtnf_del_key()
563 key_index, pairwise); in qtnf_del_key()
Dqlink.h464 u8 pairwise; member
482 u8 pairwise; member
1446 u8 pairwise; member
Dcommands.c1738 int qtnf_cmd_send_add_key(struct qtnf_vif *vif, u8 key_index, bool pairwise, in qtnf_cmd_send_add_key() argument
1762 cmd->pairwise = pairwise; in qtnf_cmd_send_add_key()
1784 int qtnf_cmd_send_del_key(struct qtnf_vif *vif, u8 key_index, bool pairwise, in qtnf_cmd_send_del_key() argument
1807 cmd->pairwise = pairwise; in qtnf_cmd_send_del_key()
/kernel/linux/linux-5.10/Documentation/networking/mac80211_hwsim/
Dwpa_supplicant.conf8 pairwise=CCMP
/kernel/linux/linux-5.10/net/wireless/
Dutil.c295 int key_idx, bool pairwise) in cfg80211_valid_key_idx() argument
299 if (pairwise) in cfg80211_valid_key_idx()
319 bool pairwise, const u8 *mac_addr) in cfg80211_validate_key_settings() argument
321 if (!cfg80211_valid_key_idx(rdev, key_idx, pairwise)) in cfg80211_validate_key_settings()
324 if (!pairwise && mac_addr && !(rdev->wiphy.flags & WIPHY_FLAG_IBSS_RSN)) in cfg80211_validate_key_settings()
327 if (pairwise && !mac_addr) in cfg80211_validate_key_settings()
333 if ((pairwise && key_idx) || in cfg80211_validate_key_settings()
348 if ((params->mode == NL80211_KEY_NO_TX && !pairwise) || in cfg80211_validate_key_settings()
353 if (pairwise && (key_idx < 0 || key_idx > 1)) in cfg80211_validate_key_settings()
355 } else if (pairwise && key_idx) { in cfg80211_validate_key_settings()
[all …]
Dwext-compat.c396 struct net_device *dev, bool pairwise, in __cfg80211_set_encryption() argument
404 if (pairwise && !addr) in __cfg80211_set_encryption()
450 if (!pairwise && addr && in __cfg80211_set_encryption()
454 err = rdev_del_key(rdev, dev, idx, pairwise, in __cfg80211_set_encryption()
486 if (cfg80211_validate_key_settings(rdev, params, idx, pairwise, addr)) in __cfg80211_set_encryption()
491 err = rdev_add_key(rdev, dev, idx, pairwise, addr, params); in __cfg80211_set_encryption()
549 struct net_device *dev, bool pairwise, in cfg80211_set_encryption() argument
556 err = __cfg80211_set_encryption(rdev, dev, pairwise, addr, in cfg80211_set_encryption()
Drdev-ops.h76 bool pairwise, const u8 *mac_addr, in rdev_add_key() argument
80 trace_rdev_add_key(&rdev->wiphy, netdev, key_index, pairwise, in rdev_add_key()
82 ret = rdev->ops->add_key(&rdev->wiphy, netdev, key_index, pairwise, in rdev_add_key()
90 u8 key_index, bool pairwise, const u8 *mac_addr, void *cookie, in rdev_get_key() argument
94 trace_rdev_get_key(&rdev->wiphy, netdev, key_index, pairwise, mac_addr); in rdev_get_key()
95 ret = rdev->ops->get_key(&rdev->wiphy, netdev, key_index, pairwise, in rdev_get_key()
103 bool pairwise, const u8 *mac_addr) in rdev_del_key() argument
106 trace_rdev_del_key(&rdev->wiphy, netdev, key_index, pairwise, mac_addr); in rdev_del_key()
107 ret = rdev->ops->del_key(&rdev->wiphy, netdev, key_index, pairwise, in rdev_del_key()
Dtrace.h425 bool pairwise, const u8 *mac_addr),
426 TP_ARGS(wiphy, netdev, key_index, pairwise, mac_addr),
432 __field(bool, pairwise)
439 __entry->pairwise = pairwise;
443 BOOL_TO_STR(__entry->pairwise), MAC_PR_ARG(mac_addr))
448 bool pairwise, const u8 *mac_addr),
449 TP_ARGS(wiphy, netdev, key_index, pairwise, mac_addr)
454 bool pairwise, const u8 *mac_addr),
455 TP_ARGS(wiphy, netdev, key_index, pairwise, mac_addr)
460 bool pairwise, const u8 *mac_addr, u8 mode),
[all …]
Dcore.h439 int key_idx, bool pairwise);
442 bool pairwise, const u8 *mac_addr);
/kernel/linux/linux-5.10/net/mac80211/
Dkey.c429 bool pairwise, in ieee80211_key_replace() argument
446 if (new && sta && pairwise) { in ieee80211_key_replace()
473 if (pairwise) { in ieee80211_key_replace()
805 bool pairwise = key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE; in ieee80211_key_link() local
816 if (sta && pairwise) { in ieee80211_key_link()
835 if (!pairwise) { in ieee80211_key_link()
862 ret = ieee80211_key_replace(sdata, sta, pairwise, old_key, key); in ieee80211_key_link()
Dcfg.c404 u8 key_idx, bool pairwise, const u8 *mac_addr, in ieee80211_add_key() argument
417 if (pairwise && params->mode == NL80211_KEY_SET_TX) in ieee80211_add_key()
447 if (pairwise) in ieee80211_add_key()
523 u8 key_idx, bool pairwise, const u8 *mac_addr) in ieee80211_del_key() argument
541 if (pairwise) in ieee80211_del_key()
564 u8 key_idx, bool pairwise, const u8 *mac_addr, in ieee80211_get_key() argument
589 if (pairwise && key_idx < NUM_DEFAULT_KEYS) in ieee80211_get_key()
591 else if (!pairwise && in ieee80211_get_key()
/kernel/linux/linux-5.10/drivers/net/wireless/
Drndis_wlan.c401 bool pairwise; member
492 u8 key_index, bool pairwise, const u8 *mac_addr,
496 u8 key_index, bool pairwise, const u8 *mac_addr);
1146 static int set_encr_mode(struct usbnet *usbdev, int pairwise, int groupwise) in set_encr_mode() argument
1152 __func__, pairwise, groupwise); in set_encr_mode()
1154 if (pairwise & RNDIS_WLAN_ALG_CCMP) in set_encr_mode()
1156 else if (pairwise & RNDIS_WLAN_ALG_TKIP) in set_encr_mode()
1158 else if (pairwise & RNDIS_WLAN_ALG_WEP) in set_encr_mode()
2133 int pairwise = RNDIS_WLAN_ALG_NONE; in rndis_connect() local
2143 pairwise |= in rndis_connect()
[all …]
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dcfg80211.c146 u8 key_index, bool pairwise, const u8 *mac_addr, in prism2_add_key() argument
175 u8 key_index, bool pairwise, in prism2_get_key() argument
205 u8 key_index, bool pairwise, const u8 *mac_addr) in prism2_del_key() argument
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c543 bool pairwise, const u8 *mac_addr, struct key_params *params) in add_key() argument
599 if (!pairwise) { in add_key()
632 if (!pairwise) in add_key()
654 bool pairwise, in del_key() argument
690 bool pairwise, const u8 *mac_addr, void *cookie, in get_key() argument
697 if (!pairwise) { in get_key()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1485 bool pairwise) in wil_detect_key_usage() argument
1490 if (pairwise) { in wil_detect_key_usage()
1600 u8 key_index, bool pairwise, in wil_cfg80211_add_key() argument
1608 enum wmi_key_usage key_usage = wil_detect_key_usage(wdev, pairwise); in wil_cfg80211_add_key()
1647 if (pairwise && wdev->iftype == NL80211_IFTYPE_STATION && in wil_cfg80211_add_key()
1677 u8 key_index, bool pairwise, in wil_cfg80211_del_key() argument
1683 enum wmi_key_usage key_usage = wil_detect_key_usage(wdev, pairwise); in wil_cfg80211_del_key()
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
Dsta.c692 int pairwise = (key->flags & IEEE80211_KEY_FLAG_PAIRWISE) ? in cw1200_set_key() local
717 if (pairwise) { in cw1200_set_key()
734 if (pairwise) { in cw1200_set_key()
768 if (pairwise) { in cw1200_set_key()
791 if (pairwise) { in cw1200_set_key()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c1127 u8 key_index, bool pairwise, in ath6kl_cfg80211_add_key() argument
1158 if (pairwise) in ath6kl_cfg80211_add_key()
1210 if (vif->nw_type == AP_NETWORK && !pairwise && in ath6kl_cfg80211_add_key()
1252 u8 key_index, bool pairwise, in ath6kl_cfg80211_del_key() argument
1282 u8 key_index, bool pairwise, in ath6kl_cfg80211_get_key() argument
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dcfg.c1460 u8 idx, bool pairwise, const u8 *mac_addr, in lbs_cfg_add_key() argument
1521 u8 key_index, bool pairwise, const u8 *mac_addr) in lbs_cfg_del_key() argument
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c1035 u8 key_index, bool pairwise, const u8 *mac_addr, in cfg80211_rtw_add_key() argument
1050 DBG_871X("pairwise =%d\n", pairwise); in cfg80211_rtw_add_key()
1140 u8 key_index, bool pairwise, const u8 *mac_addr, in cfg80211_rtw_get_key() argument
1150 u8 key_index, bool pairwise, const u8 *mac_addr) in cfg80211_rtw_del_key() argument
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c157 u8 key_index, bool pairwise, const u8 *mac_addr) in mwifiex_cfg80211_del_key() argument
161 const u8 *peer_mac = pairwise ? mac_addr : bc_mac; in mwifiex_cfg80211_del_key()
471 u8 key_index, bool pairwise, const u8 *mac_addr, in mwifiex_cfg80211_add_key() argument
477 const u8 *peer_mac = pairwise ? mac_addr : bc_mac; in mwifiex_cfg80211_add_key()
/kernel/linux/linux-5.10/include/net/
Dcfg80211.h3943 u8 key_index, bool pairwise, const u8 *mac_addr,
3946 u8 key_index, bool pairwise, const u8 *mac_addr,
3950 u8 key_index, bool pairwise, const u8 *mac_addr);
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c2389 u8 key_idx, bool pairwise, const u8 *mac_addr) in brcmf_cfg80211_del_key() argument
2426 u8 key_idx, bool pairwise, const u8 *mac_addr, in brcmf_cfg80211_add_key() argument
2451 return brcmf_cfg80211_del_key(wiphy, ndev, key_idx, pairwise, in brcmf_cfg80211_add_key()
2548 bool pairwise, const u8 *mac_addr, void *cookie, in brcmf_cfg80211_get_key() argument

12