Lines Matching full:cam
11 /* if default key search is enabled, the first 4 cam entries in rtw_sec_get_free_cam()
13 * driver should use cam entries after 4 to install pairwise key in rtw_sec_get_free_cam()
28 struct rtw_cam_entry *cam = &sec->cam_table[hw_key_idx]; in rtw_sec_write_cam() local
36 cam->valid = true; in rtw_sec_write_cam()
37 cam->group = !(key->flags & IEEE80211_KEY_FLAG_PAIRWISE); in rtw_sec_write_cam()
38 cam->hw_key_type = hw_key_type; in rtw_sec_write_cam()
39 cam->key = key; in rtw_sec_write_cam()
41 ether_addr_copy(cam->addr, sta->addr); in rtw_sec_write_cam()
43 eth_broadcast_addr(cam->addr); in rtw_sec_write_cam()
52 (cam->group << 6) | in rtw_sec_write_cam()
53 (cam->valid << 15) | in rtw_sec_write_cam()
54 (cam->addr[0] << 16) | in rtw_sec_write_cam()
55 (cam->addr[1] << 24); in rtw_sec_write_cam()
58 content = (cam->addr[2]) | in rtw_sec_write_cam()
59 (cam->addr[3] << 8) | in rtw_sec_write_cam()
60 (cam->addr[4] << 16) | in rtw_sec_write_cam()
61 (cam->addr[5] << 24); in rtw_sec_write_cam()
86 struct rtw_cam_entry *cam = &sec->cam_table[hw_key_idx]; in rtw_sec_clear_cam() local
92 cam->valid = false; in rtw_sec_clear_cam()
93 cam->key = NULL; in rtw_sec_clear_cam()
94 eth_zero_addr(cam->addr); in rtw_sec_clear_cam()