/net/wireless/ |
D | util.c | 260 int key_idx, bool pairwise) in cfg80211_valid_key_idx() argument 264 if (pairwise) in cfg80211_valid_key_idx() 282 bool pairwise, const u8 *mac_addr) in cfg80211_validate_key_settings() argument 284 if (!cfg80211_valid_key_idx(rdev, key_idx, pairwise)) in cfg80211_validate_key_settings() 287 if (!pairwise && mac_addr && !(rdev->wiphy.flags & WIPHY_FLAG_IBSS_RSN)) in cfg80211_validate_key_settings() 290 if (pairwise && !mac_addr) in cfg80211_validate_key_settings() 296 if ((pairwise && key_idx) || in cfg80211_validate_key_settings() 311 if ((params->mode == NL80211_KEY_NO_TX && !pairwise) || in cfg80211_validate_key_settings() 316 if (pairwise && (key_idx < 0 || key_idx > 1)) in cfg80211_validate_key_settings() 318 } else if (pairwise && key_idx) { in cfg80211_validate_key_settings() [all …]
|
D | wext-compat.c | 397 struct net_device *dev, bool pairwise, in __cfg80211_set_encryption() argument 405 if (pairwise && !addr) in __cfg80211_set_encryption() 451 if (!pairwise && addr && in __cfg80211_set_encryption() 455 err = rdev_del_key(rdev, dev, idx, pairwise, in __cfg80211_set_encryption() 487 if (cfg80211_validate_key_settings(rdev, params, idx, pairwise, addr)) in __cfg80211_set_encryption() 492 err = rdev_add_key(rdev, dev, idx, pairwise, addr, params); in __cfg80211_set_encryption() 550 struct net_device *dev, bool pairwise, in cfg80211_set_encryption() argument 557 err = __cfg80211_set_encryption(rdev, dev, pairwise, addr, in cfg80211_set_encryption()
|
D | rdev-ops.h | 76 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()
|
D | trace.h | 423 bool pairwise, const u8 *mac_addr), 424 TP_ARGS(wiphy, netdev, key_index, pairwise, mac_addr), 430 __field(bool, pairwise) 437 __entry->pairwise = pairwise; 441 BOOL_TO_STR(__entry->pairwise), MAC_PR_ARG(mac_addr)) 446 bool pairwise, const u8 *mac_addr), 447 TP_ARGS(wiphy, netdev, key_index, pairwise, mac_addr) 452 bool pairwise, const u8 *mac_addr), 453 TP_ARGS(wiphy, netdev, key_index, pairwise, mac_addr) 458 bool pairwise, const u8 *mac_addr, u8 mode), [all …]
|
D | core.h | 437 int key_idx, bool pairwise); 440 bool pairwise, const u8 *mac_addr);
|
D | nl80211.c | 3894 bool pairwise; in nl80211_get_key() local 3913 pairwise = !!mac_addr; in nl80211_get_key() 3920 pairwise = kt == NL80211_KEYTYPE_PAIRWISE; in nl80211_get_key() 3926 if (!pairwise && mac_addr && !(rdev->wiphy.flags & WIPHY_FLAG_IBSS_RSN)) in nl80211_get_key() 3948 err = rdev_get_key(rdev, dev, key_idx, pairwise, mac_addr, &cookie, in nl80211_get_key()
|
/net/mac80211/ |
D | key.c | 404 bool pairwise, in ieee80211_key_replace() argument 421 if (new && sta && pairwise) { in ieee80211_key_replace() 448 if (pairwise) { in ieee80211_key_replace() 770 bool pairwise = key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE; in ieee80211_key_link() local 781 if (sta && pairwise) { in ieee80211_key_link() 800 if (!pairwise) { in ieee80211_key_link() 827 ret = ieee80211_key_replace(sdata, sta, pairwise, old_key, key); in ieee80211_key_link()
|
D | cfg.c | 386 u8 key_idx, bool pairwise, const u8 *mac_addr, in ieee80211_add_key() argument 399 if (pairwise && params->mode == NL80211_KEY_SET_TX) in ieee80211_add_key() 429 if (pairwise) in ieee80211_add_key() 502 u8 key_idx, bool pairwise, const u8 *mac_addr) in ieee80211_del_key() argument 520 if (pairwise) in ieee80211_del_key() 543 u8 key_idx, bool pairwise, const u8 *mac_addr, in ieee80211_get_key() argument 568 if (pairwise && key_idx < NUM_DEFAULT_KEYS) in ieee80211_get_key() 570 else if (!pairwise && in ieee80211_get_key()
|