psta 323 drivers/net/wireless/intel/iwlegacy/3945-rs.c struct il3945_sta_priv *psta; psta 332 drivers/net/wireless/intel/iwlegacy/3945-rs.c psta = (struct il3945_sta_priv *)sta->drv_priv; psta 333 drivers/net/wireless/intel/iwlegacy/3945-rs.c rs_sta = &psta->rs_sta; psta 392 drivers/net/wireless/intel/iwlegacy/3945-rs.c struct il3945_sta_priv *psta = (void *)sta->drv_priv; psta 397 drivers/net/wireless/intel/iwlegacy/3945-rs.c rs_sta = &psta->rs_sta; psta 886 drivers/net/wireless/intel/iwlegacy/3945-rs.c struct il3945_sta_priv *psta; psta 899 drivers/net/wireless/intel/iwlegacy/3945-rs.c psta = (void *)sta->drv_priv; psta 900 drivers/net/wireless/intel/iwlegacy/3945-rs.c rs_sta = &psta->rs_sta; psta 35 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_info *psta = NULL; psta 52 drivers/staging/rtl8188eu/core/rtw_ap.c psta = rtw_get_bcmc_stainfo(padapter); psta 54 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_free_stainfo(padapter, psta); psta 148 drivers/staging/rtl8188eu/core/rtw_ap.c static u8 chk_sta_is_alive(struct sta_info *psta) psta 152 drivers/staging/rtl8188eu/core/rtw_ap.c if ((psta->sta_stats.last_rx_data_pkts + psta 153 drivers/staging/rtl8188eu/core/rtw_ap.c psta->sta_stats.last_rx_ctrl_pkts) == psta 154 drivers/staging/rtl8188eu/core/rtw_ap.c (psta->sta_stats.rx_data_pkts + psta 155 drivers/staging/rtl8188eu/core/rtw_ap.c psta->sta_stats.rx_ctrl_pkts)) psta 160 drivers/staging/rtl8188eu/core/rtw_ap.c sta_update_last_rx_pkts(psta); psta 169 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_info *psta = NULL; psta 182 drivers/staging/rtl8188eu/core/rtw_ap.c psta = container_of(plist, struct sta_info, auth_list); psta 185 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->expire_to > 0) { psta 186 drivers/staging/rtl8188eu/core/rtw_ap.c psta->expire_to--; psta 187 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->expire_to == 0) { psta 188 drivers/staging/rtl8188eu/core/rtw_ap.c list_del_init(&psta->auth_list); psta 192 drivers/staging/rtl8188eu/core/rtw_ap.c psta->hwaddr); psta 197 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_free_stainfo(padapter, psta); psta 206 drivers/staging/rtl8188eu/core/rtw_ap.c psta = NULL; psta 215 drivers/staging/rtl8188eu/core/rtw_ap.c psta = container_of(plist, struct sta_info, asoc_list); psta 218 drivers/staging/rtl8188eu/core/rtw_ap.c if (chk_sta_is_alive(psta) || !psta->expire_to) { psta 219 drivers/staging/rtl8188eu/core/rtw_ap.c psta->expire_to = pstapriv->expire_to; psta 220 drivers/staging/rtl8188eu/core/rtw_ap.c psta->keep_alive_trycnt = 0; psta 221 drivers/staging/rtl8188eu/core/rtw_ap.c psta->under_exist_checking = 0; psta 223 drivers/staging/rtl8188eu/core/rtw_ap.c psta->expire_to--; psta 226 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->expire_to <= 0) { psta 230 drivers/staging/rtl8188eu/core/rtw_ap.c psta->expire_to = pstapriv->expire_to; psta 234 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->state & WIFI_SLEEP_STATE) { psta 235 drivers/staging/rtl8188eu/core/rtw_ap.c if (!(psta->state & WIFI_STA_ALIVE_CHK_STATE)) { psta 239 drivers/staging/rtl8188eu/core/rtw_ap.c psta->expire_to = pstapriv->expire_to; psta 240 drivers/staging/rtl8188eu/core/rtw_ap.c psta->state |= WIFI_STA_ALIVE_CHK_STATE; psta 245 drivers/staging/rtl8188eu/core/rtw_ap.c pstapriv->tim_bitmap |= BIT(psta->aid); psta 257 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_stainfo_offset(pstapriv, psta); psta 264 drivers/staging/rtl8188eu/core/rtw_ap.c list_del_init(&psta->asoc_list); psta 267 drivers/staging/rtl8188eu/core/rtw_ap.c DBG_88E("asoc expire %pM, state = 0x%x\n", (psta->hwaddr), psta->state); psta 268 drivers/staging/rtl8188eu/core/rtw_ap.c updated = ap_free_sta(padapter, psta, true, WLAN_REASON_DEAUTH_LEAVING); psta 271 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->sleepq_len > (NR_XMITFRAME / pstapriv->asoc_list_cnt) && psta 274 drivers/staging/rtl8188eu/core/rtw_ap.c (psta->hwaddr), psta->sleepq_len, psta 277 drivers/staging/rtl8188eu/core/rtw_ap.c wakeup_sta_to_xmit(padapter, psta); psta 297 drivers/staging/rtl8188eu/core/rtw_ap.c psta = rtw_get_stainfo_by_offset(pstapriv, chk_alive_list[i]); psta 299 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->state & WIFI_SLEEP_STATE) psta 300 drivers/staging/rtl8188eu/core/rtw_ap.c ret = issue_nulldata(padapter, psta->hwaddr, 0, 1, 50); psta 302 drivers/staging/rtl8188eu/core/rtw_ap.c ret = issue_nulldata(padapter, psta->hwaddr, 0, 3, 50); psta 304 drivers/staging/rtl8188eu/core/rtw_ap.c psta->keep_alive_trycnt++; psta 306 drivers/staging/rtl8188eu/core/rtw_ap.c DBG_88E("asoc check, sta(%pM) is alive\n", (psta->hwaddr)); psta 307 drivers/staging/rtl8188eu/core/rtw_ap.c psta->expire_to = pstapriv->expire_to; psta 308 drivers/staging/rtl8188eu/core/rtw_ap.c psta->keep_alive_trycnt = 0; psta 310 drivers/staging/rtl8188eu/core/rtw_ap.c } else if (psta->keep_alive_trycnt <= 3) { psta 311 drivers/staging/rtl8188eu/core/rtw_ap.c DBG_88E("ack check for asoc expire, keep_alive_trycnt =%d\n", psta->keep_alive_trycnt); psta 312 drivers/staging/rtl8188eu/core/rtw_ap.c psta->expire_to = 1; psta 316 drivers/staging/rtl8188eu/core/rtw_ap.c psta->keep_alive_trycnt = 0; psta 318 drivers/staging/rtl8188eu/core/rtw_ap.c DBG_88E("asoc expire %pM, state = 0x%x\n", (psta->hwaddr), psta->state); psta 320 drivers/staging/rtl8188eu/core/rtw_ap.c list_del_init(&psta->asoc_list); psta 322 drivers/staging/rtl8188eu/core/rtw_ap.c updated = ap_free_sta(padapter, psta, true, WLAN_REASON_DEAUTH_LEAVING); psta 333 drivers/staging/rtl8188eu/core/rtw_ap.c void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) psta 341 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta) psta 342 drivers/staging/rtl8188eu/core/rtw_ap.c psta_ht = &psta->htpriv; psta 346 drivers/staging/rtl8188eu/core/rtw_ap.c if (!(psta->state & _FW_LINKED)) psta 350 drivers/staging/rtl8188eu/core/rtw_ap.c for (i = 0; i < sizeof(psta->bssrateset); i++) { psta 351 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->bssrateset[i]) psta 352 drivers/staging/rtl8188eu/core/rtw_ap.c tx_ra_bitmap |= rtw_get_bit_value_from_ieee_value(psta->bssrateset[i] & 0x7f); psta 371 drivers/staging/rtl8188eu/core/rtw_ap.c psta->wireless_mode = sta_band; psta 376 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->aid < NUM_STA) { psta 379 drivers/staging/rtl8188eu/core/rtw_ap.c arg = psta->mac_id & 0x1f; psta 389 drivers/staging/rtl8188eu/core/rtw_ap.c __func__, psta->mac_id, raid, tx_ra_bitmap, arg); psta 401 drivers/staging/rtl8188eu/core/rtw_ap.c psta->raid = raid; psta 402 drivers/staging/rtl8188eu/core/rtw_ap.c psta->init_rate = init_rate; psta 405 drivers/staging/rtl8188eu/core/rtw_ap.c DBG_88E("station aid %d exceed the max number\n", psta->aid); psta 417 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_info *psta = rtw_get_bcmc_stainfo(padapter); psta 419 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta) { psta 420 drivers/staging/rtl8188eu/core/rtw_ap.c psta->aid = 0;/* default set to 0 */ psta 421 drivers/staging/rtl8188eu/core/rtw_ap.c psta->mac_id = psta->aid + 1; psta 423 drivers/staging/rtl8188eu/core/rtw_ap.c psta->qos_option = 0; psta 424 drivers/staging/rtl8188eu/core/rtw_ap.c psta->htpriv.ht_option = false; psta 426 drivers/staging/rtl8188eu/core/rtw_ap.c psta->ieee8021x_blocked = 0; psta 428 drivers/staging/rtl8188eu/core/rtw_ap.c memset(&psta->sta_stats, 0, sizeof(struct stainfo_stats)); psta 434 drivers/staging/rtl8188eu/core/rtw_ap.c memcpy(psta->bssrateset, &pcur_network->SupportedRates, supportRateNum); psta 435 drivers/staging/rtl8188eu/core/rtw_ap.c psta->bssratelen = supportRateNum; psta 439 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->bssrateset[i]) psta 440 drivers/staging/rtl8188eu/core/rtw_ap.c tx_ra_bitmap |= rtw_get_bit_value_from_ieee_value(psta->bssrateset[i] & 0x7f); psta 457 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, true); psta 462 drivers/staging/rtl8188eu/core/rtw_ap.c arg = psta->mac_id & 0x1f; psta 474 drivers/staging/rtl8188eu/core/rtw_ap.c psta->raid = raid; psta 475 drivers/staging/rtl8188eu/core/rtw_ap.c psta->init_rate = init_rate; psta 477 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_stassoc_hw_rpt(padapter, psta); psta 479 drivers/staging/rtl8188eu/core/rtw_ap.c spin_lock_bh(&psta->lock); psta 480 drivers/staging/rtl8188eu/core/rtw_ap.c psta->state = _FW_LINKED; psta 481 drivers/staging/rtl8188eu/core/rtw_ap.c spin_unlock_bh(&psta->lock); psta 495 drivers/staging/rtl8188eu/core/rtw_ap.c void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta) psta 501 drivers/staging/rtl8188eu/core/rtw_ap.c struct ht_priv *phtpriv_sta = &psta->htpriv; psta 503 drivers/staging/rtl8188eu/core/rtw_ap.c psta->mac_id = psta->aid + 1; psta 507 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, true); psta 510 drivers/staging/rtl8188eu/core/rtw_ap.c psta->ieee8021x_blocked = true; psta 512 drivers/staging/rtl8188eu/core/rtw_ap.c psta->ieee8021x_blocked = false; psta 517 drivers/staging/rtl8188eu/core/rtw_ap.c VCS_update(padapter, psta); psta 536 drivers/staging/rtl8188eu/core/rtw_ap.c psta->qos_option = true; psta 545 drivers/staging/rtl8188eu/core/rtw_ap.c send_delba(padapter, 0, psta->hwaddr);/* recipient */ psta 548 drivers/staging/rtl8188eu/core/rtw_ap.c send_delba(padapter, 1, psta->hwaddr);/* originator */ psta 554 drivers/staging/rtl8188eu/core/rtw_ap.c memset(&psta->sta_stats, 0, sizeof(struct stainfo_stats)); psta 556 drivers/staging/rtl8188eu/core/rtw_ap.c spin_lock_bh(&psta->lock); psta 557 drivers/staging/rtl8188eu/core/rtw_ap.c psta->state |= _FW_LINKED; psta 558 drivers/staging/rtl8188eu/core/rtw_ap.c spin_unlock_bh(&psta->lock); psta 731 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_info *psta = NULL; psta 979 drivers/staging/rtl8188eu/core/rtw_ap.c psta = rtw_get_stainfo(&padapter->stapriv, pbss_network->MacAddress); psta 980 drivers/staging/rtl8188eu/core/rtw_ap.c if (!psta) { psta 981 drivers/staging/rtl8188eu/core/rtw_ap.c psta = rtw_alloc_stainfo(&padapter->stapriv, pbss_network->MacAddress); psta 982 drivers/staging/rtl8188eu/core/rtw_ap.c if (!psta) psta 987 drivers/staging/rtl8188eu/core/rtw_ap.c psta->state |= WIFI_AP_STATE; psta 1324 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_info *psta = NULL; psta 1334 drivers/staging/rtl8188eu/core/rtw_ap.c psta = container_of(plist, struct sta_info, asoc_list); psta 1338 drivers/staging/rtl8188eu/core/rtw_ap.c VCS_update(padapter, psta); psta 1345 drivers/staging/rtl8188eu/core/rtw_ap.c void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta) psta 1351 drivers/staging/rtl8188eu/core/rtw_ap.c if (!(psta->flags & WLAN_STA_SHORT_PREAMBLE)) { psta 1352 drivers/staging/rtl8188eu/core/rtw_ap.c if (!psta->no_short_preamble_set) { psta 1353 drivers/staging/rtl8188eu/core/rtw_ap.c psta->no_short_preamble_set = 1; psta 1364 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->no_short_preamble_set) { psta 1365 drivers/staging/rtl8188eu/core/rtw_ap.c psta->no_short_preamble_set = 0; psta 1377 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->flags & WLAN_STA_NONERP) { psta 1378 drivers/staging/rtl8188eu/core/rtw_ap.c if (!psta->nonerp_set) { psta 1379 drivers/staging/rtl8188eu/core/rtw_ap.c psta->nonerp_set = 1; psta 1389 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->nonerp_set) { psta 1390 drivers/staging/rtl8188eu/core/rtw_ap.c psta->nonerp_set = 0; psta 1401 drivers/staging/rtl8188eu/core/rtw_ap.c if (!(psta->capability & WLAN_CAPABILITY_SHORT_SLOT_TIME)) { psta 1402 drivers/staging/rtl8188eu/core/rtw_ap.c if (!psta->no_short_slot_time_set) { psta 1403 drivers/staging/rtl8188eu/core/rtw_ap.c psta->no_short_slot_time_set = 1; psta 1414 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->no_short_slot_time_set) { psta 1415 drivers/staging/rtl8188eu/core/rtw_ap.c psta->no_short_slot_time_set = 0; psta 1427 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->flags & WLAN_STA_HT) { psta 1428 drivers/staging/rtl8188eu/core/rtw_ap.c u16 ht_capab = le16_to_cpu(psta->htpriv.ht_cap.cap_info); psta 1431 drivers/staging/rtl8188eu/core/rtw_ap.c (psta->hwaddr), ht_capab); psta 1433 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->no_ht_set) { psta 1434 drivers/staging/rtl8188eu/core/rtw_ap.c psta->no_ht_set = 0; psta 1439 drivers/staging/rtl8188eu/core/rtw_ap.c if (!psta->no_ht_gf_set) { psta 1440 drivers/staging/rtl8188eu/core/rtw_ap.c psta->no_ht_gf_set = 1; psta 1444 drivers/staging/rtl8188eu/core/rtw_ap.c __func__, (psta->hwaddr), psta 1449 drivers/staging/rtl8188eu/core/rtw_ap.c if (!psta->ht_20mhz_set) { psta 1450 drivers/staging/rtl8188eu/core/rtw_ap.c psta->ht_20mhz_set = 1; psta 1454 drivers/staging/rtl8188eu/core/rtw_ap.c __func__, (psta->hwaddr), psta 1458 drivers/staging/rtl8188eu/core/rtw_ap.c if (!psta->no_ht_set) { psta 1459 drivers/staging/rtl8188eu/core/rtw_ap.c psta->no_ht_set = 1; psta 1464 drivers/staging/rtl8188eu/core/rtw_ap.c __func__, (psta->hwaddr), psta 1480 drivers/staging/rtl8188eu/core/rtw_ap.c u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta) psta 1486 drivers/staging/rtl8188eu/core/rtw_ap.c if (!psta) psta 1489 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->no_short_preamble_set) { psta 1490 drivers/staging/rtl8188eu/core/rtw_ap.c psta->no_short_preamble_set = 0; psta 1499 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->nonerp_set) { psta 1500 drivers/staging/rtl8188eu/core/rtw_ap.c psta->nonerp_set = 0; psta 1508 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->no_short_slot_time_set) { psta 1509 drivers/staging/rtl8188eu/core/rtw_ap.c psta->no_short_slot_time_set = 0; psta 1518 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->no_ht_gf_set) { psta 1519 drivers/staging/rtl8188eu/core/rtw_ap.c psta->no_ht_gf_set = 0; psta 1523 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->no_ht_set) { psta 1524 drivers/staging/rtl8188eu/core/rtw_ap.c psta->no_ht_set = 0; psta 1528 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->ht_20mhz_set) { psta 1529 drivers/staging/rtl8188eu/core/rtw_ap.c psta->ht_20mhz_set = 0; psta 1545 drivers/staging/rtl8188eu/core/rtw_ap.c u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta, psta 1551 drivers/staging/rtl8188eu/core/rtw_ap.c if (!psta) psta 1555 drivers/staging/rtl8188eu/core/rtw_ap.c send_delba(padapter, 0, psta->hwaddr);/* recipient */ psta 1558 drivers/staging/rtl8188eu/core/rtw_ap.c send_delba(padapter, 1, psta->hwaddr);/* originator */ psta 1559 drivers/staging/rtl8188eu/core/rtw_ap.c psta->htpriv.agg_enable_bitmap = 0x0;/* reset */ psta 1560 drivers/staging/rtl8188eu/core/rtw_ap.c psta->htpriv.candidate_tid_bitmap = 0x0;/* reset */ psta 1563 drivers/staging/rtl8188eu/core/rtw_ap.c issue_deauth(padapter, psta->hwaddr, reason); psta 1566 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_clearstakey_cmd(padapter, (u8 *)psta, (u8)(psta->mac_id + 3), true); psta 1568 drivers/staging/rtl8188eu/core/rtw_ap.c spin_lock_bh(&psta->lock); psta 1569 drivers/staging/rtl8188eu/core/rtw_ap.c psta->state &= ~_FW_LINKED; psta 1570 drivers/staging/rtl8188eu/core/rtw_ap.c spin_unlock_bh(&psta->lock); psta 1572 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_indicate_sta_disassoc_event(padapter, psta); psta 1574 drivers/staging/rtl8188eu/core/rtw_ap.c report_del_sta_event(padapter, psta->hwaddr, reason); psta 1576 drivers/staging/rtl8188eu/core/rtw_ap.c beacon_updated = bss_cap_update_on_sta_leave(padapter, psta); psta 1579 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_free_stainfo(padapter, psta); psta 1588 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_info *psta = NULL; psta 1605 drivers/staging/rtl8188eu/core/rtw_ap.c psta = container_of(plist, struct sta_info, asoc_list); psta 1609 drivers/staging/rtl8188eu/core/rtw_ap.c list_del_init(&psta->asoc_list); psta 1612 drivers/staging/rtl8188eu/core/rtw_ap.c ap_free_sta(padapter, psta, true, WLAN_REASON_DEAUTH_LEAVING); psta 1624 drivers/staging/rtl8188eu/core/rtw_ap.c void sta_info_update(struct adapter *padapter, struct sta_info *psta) psta 1626 drivers/staging/rtl8188eu/core/rtw_ap.c int flags = psta->flags; psta 1631 drivers/staging/rtl8188eu/core/rtw_ap.c psta->qos_option = 1; psta 1633 drivers/staging/rtl8188eu/core/rtw_ap.c psta->qos_option = 0; psta 1636 drivers/staging/rtl8188eu/core/rtw_ap.c psta->qos_option = 0; psta 1640 drivers/staging/rtl8188eu/core/rtw_ap.c psta->htpriv.ht_option = true; psta 1641 drivers/staging/rtl8188eu/core/rtw_ap.c psta->qos_option = 1; psta 1643 drivers/staging/rtl8188eu/core/rtw_ap.c psta->htpriv.ht_option = false; psta 1647 drivers/staging/rtl8188eu/core/rtw_ap.c psta->htpriv.ht_option = false; psta 1649 drivers/staging/rtl8188eu/core/rtw_ap.c update_sta_info_apmode(padapter, psta); psta 1653 drivers/staging/rtl8188eu/core/rtw_ap.c void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta) psta 1655 drivers/staging/rtl8188eu/core/rtw_ap.c if (psta->state & _FW_LINKED) { psta 1657 drivers/staging/rtl8188eu/core/rtw_ap.c add_RATid(padapter, psta, 0);/* DM_RATR_STA_INIT */ psta 1710 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_info *psta = NULL; psta 1752 drivers/staging/rtl8188eu/core/rtw_ap.c psta = rtw_get_bcmc_stainfo(padapter); psta 1754 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_free_stainfo(padapter, psta); psta 540 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_setstakey_cmd(struct adapter *padapter, u8 *psta, u8 unicast_key) psta 549 drivers/staging/rtl8188eu/core/rtw_cmd.c struct sta_info *sta = (struct sta_info *)psta; psta 584 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_clearstakey_cmd(struct adapter *padapter, u8 *psta, u8 entry, u8 enqueue) psta 590 drivers/staging/rtl8188eu/core/rtw_cmd.c struct sta_info *sta = (struct sta_info *)psta; psta 1174 drivers/staging/rtl8188eu/core/rtw_cmd.c struct sta_info *psta = NULL; psta 1192 drivers/staging/rtl8188eu/core/rtw_cmd.c psta = rtw_get_stainfo(&padapter->stapriv, pnetwork->MacAddress); psta 1193 drivers/staging/rtl8188eu/core/rtw_cmd.c if (!psta) { psta 1194 drivers/staging/rtl8188eu/core/rtw_cmd.c psta = rtw_alloc_stainfo(&padapter->stapriv, pnetwork->MacAddress); psta 1195 drivers/staging/rtl8188eu/core/rtw_cmd.c if (!psta) { psta 1242 drivers/staging/rtl8188eu/core/rtw_cmd.c struct sta_info *psta = rtw_get_stainfo(pstapriv, psetstakey_rsp->addr); psta 1244 drivers/staging/rtl8188eu/core/rtw_cmd.c if (!psta) { psta 1258 drivers/staging/rtl8188eu/core/rtw_cmd.c struct sta_info *psta = rtw_get_stainfo(pstapriv, passocsta_parm->addr); psta 1260 drivers/staging/rtl8188eu/core/rtw_cmd.c if (!psta) { psta 1265 drivers/staging/rtl8188eu/core/rtw_cmd.c psta->aid = passocsta_rsp->cam_id; psta 1266 drivers/staging/rtl8188eu/core/rtw_cmd.c psta->mac_id = passocsta_rsp->cam_id; psta 737 drivers/staging/rtl8188eu/core/rtw_mlme.c struct sta_info *psta; psta 739 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = rtw_get_stainfo(&adapter->stapriv, tgt_network->network.MacAddress); psta 742 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_free_stainfo(adapter, psta); psta 747 drivers/staging/rtl8188eu/core/rtw_mlme.c struct sta_info *psta; psta 751 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = rtw_get_bcmc_stainfo(adapter); psta 753 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_free_stainfo(adapter, psta); psta 831 drivers/staging/rtl8188eu/core/rtw_mlme.c struct sta_info *bmc_sta, *psta = NULL; psta 835 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = rtw_get_stainfo(pstapriv, pnetwork->network.MacAddress); psta 836 drivers/staging/rtl8188eu/core/rtw_mlme.c if (!psta) psta 837 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = rtw_alloc_stainfo(pstapriv, pnetwork->network.MacAddress); psta 839 drivers/staging/rtl8188eu/core/rtw_mlme.c if (psta) { /* update ptarget_sta */ psta 841 drivers/staging/rtl8188eu/core/rtw_mlme.c psta->aid = pnetwork->join_res; psta 842 drivers/staging/rtl8188eu/core/rtw_mlme.c psta->mac_id = 0; psta 844 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, true); psta 850 drivers/staging/rtl8188eu/core/rtw_mlme.c psta->ieee8021x_blocked = true; psta 851 drivers/staging/rtl8188eu/core/rtw_mlme.c psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; psta 852 drivers/staging/rtl8188eu/core/rtw_mlme.c memset((u8 *)&psta->dot118021x_UncstKey, 0, sizeof(union Keytype)); psta 853 drivers/staging/rtl8188eu/core/rtw_mlme.c memset((u8 *)&psta->dot11tkiprxmickey, 0, sizeof(union Keytype)); psta 854 drivers/staging/rtl8188eu/core/rtw_mlme.c memset((u8 *)&psta->dot11tkiptxmickey, 0, sizeof(union Keytype)); psta 855 drivers/staging/rtl8188eu/core/rtw_mlme.c memset((u8 *)&psta->dot11txpn, 0, sizeof(union pn48)); psta 856 drivers/staging/rtl8188eu/core/rtw_mlme.c memset((u8 *)&psta->dot11rxpn, 0, sizeof(union pn48)); psta 865 drivers/staging/rtl8188eu/core/rtw_mlme.c psta->ieee8021x_blocked = true; psta 873 drivers/staging/rtl8188eu/core/rtw_mlme.c preorder_ctrl = &psta->recvreorder_ctrl[i]; psta 891 drivers/staging/rtl8188eu/core/rtw_mlme.c update_sta_info(padapter, psta); psta 893 drivers/staging/rtl8188eu/core/rtw_mlme.c return psta; psta 1116 drivers/staging/rtl8188eu/core/rtw_mlme.c void rtw_stassoc_hw_rpt(struct adapter *adapter, struct sta_info *psta) psta 1121 drivers/staging/rtl8188eu/core/rtw_mlme.c if (!psta) psta 1126 drivers/staging/rtl8188eu/core/rtw_mlme.c media_status = (psta->mac_id<<8)|1; /* MACID|OPMODE:1 connect */ psta 1132 drivers/staging/rtl8188eu/core/rtw_mlme.c struct sta_info *psta; psta 1143 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); psta 1144 drivers/staging/rtl8188eu/core/rtw_mlme.c if (psta) { psta 1145 drivers/staging/rtl8188eu/core/rtw_mlme.c ap_sta_info_defer_update(adapter, psta); psta 1146 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_stassoc_hw_rpt(adapter, psta); psta 1152 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); psta 1153 drivers/staging/rtl8188eu/core/rtw_mlme.c if (psta) { psta 1160 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = rtw_alloc_stainfo(&adapter->stapriv, pstassoc->macaddr); psta 1161 drivers/staging/rtl8188eu/core/rtw_mlme.c if (!psta) { psta 1167 drivers/staging/rtl8188eu/core/rtw_mlme.c psta->qos_option = 0; psta 1168 drivers/staging/rtl8188eu/core/rtw_mlme.c psta->mac_id = (uint)pstassoc->cam_id; psta 1171 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_hal_set_odm_var(adapter, HAL_ODM_STA_INFO, psta, true); psta 1172 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_stassoc_hw_rpt(adapter, psta); psta 1174 drivers/staging/rtl8188eu/core/rtw_mlme.c psta->dot118021XPrivacy = adapter->securitypriv.dot11PrivacyAlgrthm; psta 1175 drivers/staging/rtl8188eu/core/rtw_mlme.c psta->ieee8021x_blocked = false; psta 1190 drivers/staging/rtl8188eu/core/rtw_mlme.c mlmeext_sta_add_event_callback(adapter, psta); psta 1196 drivers/staging/rtl8188eu/core/rtw_mlme.c struct sta_info *psta; psta 1205 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = rtw_get_stainfo(&adapter->stapriv, pstadel->macaddr); psta 1206 drivers/staging/rtl8188eu/core/rtw_mlme.c if (psta) psta 1207 drivers/staging/rtl8188eu/core/rtw_mlme.c mac_id = psta->mac_id; psta 1254 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_free_stainfo(adapter, psta); psta 1986 drivers/staging/rtl8188eu/core/rtw_mlme.c struct sta_info *psta = NULL; psta 1996 drivers/staging/rtl8188eu/core/rtw_mlme.c if (pattrib->psta) psta 1997 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = pattrib->psta; psta 1999 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); psta 2001 drivers/staging/rtl8188eu/core/rtw_mlme.c if (!psta) psta 2004 drivers/staging/rtl8188eu/core/rtw_mlme.c phtpriv = &psta->htpriv; psta 2012 drivers/staging/rtl8188eu/core/rtw_mlme.c psta->htpriv.candidate_tid_bitmap |= BIT((u8)priority); psta 734 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void issue_auth(struct adapter *padapter, struct sta_info *psta, psta 776 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (psta) {/* for AP mode */ psta 779 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ether_addr_copy(pwlanhdr->addr1, psta->hwaddr); psta 786 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c val16 = (u16)psta->authalg; psta 802 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c val16 = (u16)psta->auth_seq; psta 814 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if ((psta->auth_seq == 2) && (psta->state & WIFI_FW_AUTH_STATE) && (use_shared_key == 1)) psta 815 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _CHLGETXT_IE_, 128, psta->chg_txt, &pattrib->pktlen); psta 1558 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta; psta 1613 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, raddr); psta 1614 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (psta) { psta 1615 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c start_seq = (psta->sta_xmitpriv.txseq_tid[status & 0x07] & 0xfff) + 1; psta 1619 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->BA_starting_seqctrl[status & 0x07] = start_seq; psta 1826 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta = NULL; psta 1835 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, addr); psta 1836 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (psta == NULL) psta 1841 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (psta->recvreorder_ctrl[tid].enable) { psta 1844 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->recvreorder_ctrl[tid].enable = false; psta 1845 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->recvreorder_ctrl[tid].indicate_seq = 0xffff; psta 1850 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (psta->htpriv.agg_enable_bitmap & BIT(tid)) { psta 1853 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.agg_enable_bitmap &= ~BIT(tid); psta 1854 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.candidate_tid_bitmap &= ~BIT(tid); psta 2557 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta; psta 2598 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); psta 2599 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (psta != NULL) { psta 2608 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if ((sta_rx_pkts(psta) & 0xf) == 0) psta 2609 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_beacon_info(padapter, pframe, len, psta); psta 2612 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); psta 2613 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (psta != NULL) { psta 2616 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if ((sta_rx_pkts(psta) & 0xf) == 0) psta 2617 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_beacon_info(padapter, pframe, len, psta); psta 3433 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta; psta 3439 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); psta 3440 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (psta) { psta 3444 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!list_empty(&psta->asoc_list)) { psta 3445 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c list_del_init(&psta->asoc_list); psta 3447 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c updated = ap_free_sta(padapter, psta, false, reason); psta 3487 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta; psta 3493 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); psta 3494 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (psta) { psta 3498 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!list_empty(&psta->asoc_list)) { psta 3499 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c list_del_init(&psta->asoc_list); psta 3501 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c updated = ap_free_sta(padapter, psta, false, reason); psta 3531 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta = NULL; psta 3540 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); psta 3542 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!psta) psta 3582 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta = NULL; psta 3604 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, addr); psta 3606 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!psta) psta 3632 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.agg_enable_bitmap |= 1 << tid; psta 3633 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.candidate_tid_bitmap &= ~BIT(tid); psta 3635 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.agg_enable_bitmap &= ~BIT(tid); psta 3640 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.agg_enable_bitmap &= ~(1 << ((frame_body[3] >> 4) & 0xf)); psta 3641 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.candidate_tid_bitmap &= ~(1 << ((frame_body[3] >> 4) & 0xf)); psta 3645 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c preorder_ctrl = &psta->recvreorder_ctrl[tid]; psta 4089 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(pframe)); psta 4118 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (psta) { psta 4121 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->RxMgmtFrameSeqNum) { psta 4128 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->RxMgmtFrameSeqNum = precv_frame->attrib.seq_num; psta 4315 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta; psta 4351 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(&padapter->stapriv, MacAddr); psta 4352 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (psta) psta 4353 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c mac_id = (int)psta->mac_id; psta 4416 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void update_sta_info(struct adapter *padapter, struct sta_info *psta) psta 4423 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c VCS_update(padapter, psta); psta 4427 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.ht_option = true; psta 4429 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.ampdu_enable = pmlmepriv->htpriv.ampdu_enable; psta 4432 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.sgi = true; psta 4434 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->qos_option = true; psta 4436 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.ht_option = false; psta 4438 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.ampdu_enable = false; psta 4440 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.sgi = false; psta 4441 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->qos_option = false; psta 4443 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.bwmode = pmlmeext->cur_bwmode; psta 4444 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.ch_offset = pmlmeext->cur_ch_offset; psta 4446 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.agg_enable_bitmap = 0x0;/* reset */ psta 4447 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.candidate_tid_bitmap = 0x0;/* reset */ psta 4451 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->qos_option = true; psta 4453 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->state = _FW_LINKED; psta 4458 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta, *psta_bmc; psta 4481 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeinfo->FW_sta_info[psta_bmc->mac_id].psta = psta_bmc; psta 4509 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, cur_network->MacAddress); psta 4510 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (psta) { /* only for infra. mode */ psta 4511 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeinfo->FW_sta_info[psta->mac_id].psta = psta; psta 4513 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->wireless_mode = pmlmeext->cur_wireless_mode; psta 4516 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c set_sta_rate(padapter, psta); psta 4517 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_TX_RPT_MAX_MACID, (u8 *)&psta->mac_id); psta 4518 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c media_status = (psta->mac_id<<8)|1; /* MACID|OPMODE: 1 means connect */ psta 4536 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void mlmeext_sta_add_event_callback(struct adapter *padapter, struct sta_info *psta) psta 4553 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeinfo->FW_sta_info[psta->mac_id].status = 0; psta 4564 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeinfo->FW_sta_info[psta->mac_id].psta = psta; psta 4567 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Update_RA_Entry(padapter, psta->mac_id); psta 4570 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_sta_info(padapter, psta); psta 4609 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static u8 chk_ap_is_alive(struct adapter *padapter, struct sta_info *psta) psta 4613 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if ((sta_rx_data_pkts(psta) == sta_last_rx_data_pkts(psta)) && psta 4614 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c sta_rx_beacon_pkts(psta) == sta_last_rx_beacon_pkts(psta) && psta 4615 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c sta_rx_probersp_pkts(psta) == sta_last_rx_probersp_pkts(psta)) psta 4620 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c sta_update_last_rx_pkts(psta); psta 4628 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta; psta 4641 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, pmlmeinfo->network.MacAddress); psta 4642 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (psta) { psta 4645 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!chk_ap_is_alive(padapter, psta)) psta 4661 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_probereq_ex(padapter, &pmlmeinfo->network.ssid, psta->hwaddr, 3, 1); psta 4664 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c tx_chk = issue_nulldata(padapter, psta->hwaddr, 0, 3, 1); psta 4720 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = pmlmeinfo->FW_sta_info[i].psta; psta 4722 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!psta) psta 4724 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (pmlmeinfo->FW_sta_info[i].rx_pkt == sta_rx_pkts(psta)) { psta 4730 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_del_sta_event(padapter, psta->hwaddr psta 4736 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeinfo->FW_sta_info[i].rx_pkt = (u32)sta_rx_pkts(psta); psta 4822 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta = from_timer(psta, t, addba_retry_timer); psta 4825 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!psta) psta 4828 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c phtpriv = &psta->htpriv; psta 5252 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta; psta 5260 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, pparm->addr); psta 5261 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (psta) { psta 5266 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if ((psta->mac_id < 1) || (psta->mac_id > (NUM_STA-4))) { psta 5267 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c DBG_88E("r871x_set_stakey_hdl():set_stakey failed, mac_id(aid)=%d\n", psta->mac_id); psta 5271 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c cam_id = psta->mac_id + 3;/* 0~3 for default key, cmd_id = macid + 3, macid = aid+1; */ psta 5302 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, pparm->addr); psta 5304 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!psta) psta 5310 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c mod_timer(&psta->addba_retry_timer, psta 5313 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta->htpriv.candidate_tid_bitmap &= ~BIT(pparm->tid); psta 425 drivers/staging/rtl8188eu/core/rtw_recv.c struct sta_info *psta; psta 441 drivers/staging/rtl8188eu/core/rtw_recv.c psta = rtw_get_stainfo(pstapriv, psta_addr); psta 453 drivers/staging/rtl8188eu/core/rtw_recv.c if (psta && (psta->ieee8021x_blocked)) { psta 529 drivers/staging/rtl8188eu/core/rtw_recv.c struct sta_info *psta = NULL; psta 531 drivers/staging/rtl8188eu/core/rtw_recv.c psta = rtw_get_stainfo(pstapriv, pattrib->src); psta 535 drivers/staging/rtl8188eu/core/rtw_recv.c if (psta) { psta 537 drivers/staging/rtl8188eu/core/rtw_recv.c if (!(psta->state & WIFI_SLEEP_STATE)) psta 538 drivers/staging/rtl8188eu/core/rtw_recv.c stop_sta_xmit(padapter, psta); psta 540 drivers/staging/rtl8188eu/core/rtw_recv.c if (psta->state & WIFI_SLEEP_STATE) psta 541 drivers/staging/rtl8188eu/core/rtw_recv.c wakeup_sta_to_xmit(padapter, psta); psta 554 drivers/staging/rtl8188eu/core/rtw_recv.c struct sta_info *psta = NULL; psta 556 drivers/staging/rtl8188eu/core/rtw_recv.c psta = rtw_get_stainfo(pstapriv, pattrib->src); psta 558 drivers/staging/rtl8188eu/core/rtw_recv.c if (!psta) psta 561 drivers/staging/rtl8188eu/core/rtw_recv.c if (!psta->qos_option) psta 564 drivers/staging/rtl8188eu/core/rtw_recv.c if (!(psta->qos_info&0xf)) psta 567 drivers/staging/rtl8188eu/core/rtw_recv.c if (psta->state&WIFI_SLEEP_STATE) { psta 573 drivers/staging/rtl8188eu/core/rtw_recv.c wmmps_ac = psta->uapsd_bk&BIT(1); psta 577 drivers/staging/rtl8188eu/core/rtw_recv.c wmmps_ac = psta->uapsd_vi&BIT(1); psta 581 drivers/staging/rtl8188eu/core/rtw_recv.c wmmps_ac = psta->uapsd_vo&BIT(1); psta 586 drivers/staging/rtl8188eu/core/rtw_recv.c wmmps_ac = psta->uapsd_be&BIT(1); psta 591 drivers/staging/rtl8188eu/core/rtw_recv.c if (psta->sleepq_ac_len > 0) { psta 593 drivers/staging/rtl8188eu/core/rtw_recv.c xmit_delivery_enabled_frames(padapter, psta); psta 596 drivers/staging/rtl8188eu/core/rtw_recv.c issue_qos_nulldata(padapter, psta->hwaddr, (u16)pattrib->priority, 0, 0); psta 609 drivers/staging/rtl8188eu/core/rtw_recv.c struct sta_info *psta = NULL; psta 623 drivers/staging/rtl8188eu/core/rtw_recv.c psta = sta; psta 625 drivers/staging/rtl8188eu/core/rtw_recv.c psta = prframe->psta; psta 627 drivers/staging/rtl8188eu/core/rtw_recv.c if (psta) { psta 628 drivers/staging/rtl8188eu/core/rtw_recv.c pstats = &psta->sta_stats; psta 637 drivers/staging/rtl8188eu/core/rtw_recv.c struct sta_info **psta) psta 699 drivers/staging/rtl8188eu/core/rtw_recv.c *psta = rtw_get_bcmc_stainfo(adapter); psta 701 drivers/staging/rtl8188eu/core/rtw_recv.c *psta = rtw_get_stainfo(pstapriv, sta_addr); /* get ap_info */ psta 703 drivers/staging/rtl8188eu/core/rtw_recv.c if (!*psta) { psta 716 drivers/staging/rtl8188eu/core/rtw_recv.c struct sta_info **psta) psta 763 drivers/staging/rtl8188eu/core/rtw_recv.c *psta = rtw_get_bcmc_stainfo(adapter); psta 765 drivers/staging/rtl8188eu/core/rtw_recv.c *psta = rtw_get_stainfo(pstapriv, pattrib->bssid); /* get ap_info */ psta 767 drivers/staging/rtl8188eu/core/rtw_recv.c if (!*psta) { psta 778 drivers/staging/rtl8188eu/core/rtw_recv.c count_rx_stats(adapter, precv_frame, *psta); psta 788 drivers/staging/rtl8188eu/core/rtw_recv.c *psta = rtw_get_stainfo(pstapriv, pattrib->bssid); /* get sta_info */ psta 789 drivers/staging/rtl8188eu/core/rtw_recv.c if (!*psta) { psta 806 drivers/staging/rtl8188eu/core/rtw_recv.c struct sta_info **psta) psta 822 drivers/staging/rtl8188eu/core/rtw_recv.c *psta = rtw_get_stainfo(pstapriv, pattrib->src); psta 823 drivers/staging/rtl8188eu/core/rtw_recv.c if (!*psta) { psta 840 drivers/staging/rtl8188eu/core/rtw_recv.c count_rx_stats(adapter, precv_frame, *psta); psta 881 drivers/staging/rtl8188eu/core/rtw_recv.c struct sta_info *psta = NULL; psta 884 drivers/staging/rtl8188eu/core/rtw_recv.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); psta 886 drivers/staging/rtl8188eu/core/rtw_recv.c if ((!psta) || (psta->aid != aid)) psta 890 drivers/staging/rtl8188eu/core/rtw_recv.c psta->sta_stats.rx_ctrl_pkts++; psta 895 drivers/staging/rtl8188eu/core/rtw_recv.c wmmps_ac = psta->uapsd_bk&BIT(0); psta 899 drivers/staging/rtl8188eu/core/rtw_recv.c wmmps_ac = psta->uapsd_vi&BIT(0); psta 903 drivers/staging/rtl8188eu/core/rtw_recv.c wmmps_ac = psta->uapsd_vo&BIT(0); psta 908 drivers/staging/rtl8188eu/core/rtw_recv.c wmmps_ac = psta->uapsd_be&BIT(0); psta 915 drivers/staging/rtl8188eu/core/rtw_recv.c if (psta->state & WIFI_STA_ALIVE_CHK_STATE) { psta 917 drivers/staging/rtl8188eu/core/rtw_recv.c psta->expire_to = pstapriv->expire_to; psta 918 drivers/staging/rtl8188eu/core/rtw_recv.c psta->state ^= WIFI_STA_ALIVE_CHK_STATE; psta 921 drivers/staging/rtl8188eu/core/rtw_recv.c if ((psta->state&WIFI_SLEEP_STATE) && (pstapriv->sta_dz_bitmap&BIT(psta->aid))) { psta 925 drivers/staging/rtl8188eu/core/rtw_recv.c spin_lock_bh(&psta->sleep_q.lock); psta 927 drivers/staging/rtl8188eu/core/rtw_recv.c xmitframe_phead = get_list_head(&psta->sleep_q); psta 937 drivers/staging/rtl8188eu/core/rtw_recv.c psta->sleepq_len--; psta 939 drivers/staging/rtl8188eu/core/rtw_recv.c if (psta->sleepq_len > 0) psta 946 drivers/staging/rtl8188eu/core/rtw_recv.c spin_unlock_bh(&psta->sleep_q.lock); psta 949 drivers/staging/rtl8188eu/core/rtw_recv.c spin_lock_bh(&psta->sleep_q.lock); psta 951 drivers/staging/rtl8188eu/core/rtw_recv.c if (psta->sleepq_len == 0) { psta 952 drivers/staging/rtl8188eu/core/rtw_recv.c pstapriv->tim_bitmap &= ~BIT(psta->aid); psta 959 drivers/staging/rtl8188eu/core/rtw_recv.c if (pstapriv->tim_bitmap&BIT(psta->aid)) { psta 960 drivers/staging/rtl8188eu/core/rtw_recv.c if (psta->sleepq_len == 0) { psta 964 drivers/staging/rtl8188eu/core/rtw_recv.c issue_nulldata(padapter, psta->hwaddr, 0, 0, 0); psta 966 drivers/staging/rtl8188eu/core/rtw_recv.c DBG_88E("error!psta->sleepq_len=%d\n", psta->sleepq_len); psta 967 drivers/staging/rtl8188eu/core/rtw_recv.c psta->sleepq_len = 0; psta 970 drivers/staging/rtl8188eu/core/rtw_recv.c pstapriv->tim_bitmap &= ~BIT(psta->aid); psta 978 drivers/staging/rtl8188eu/core/rtw_recv.c spin_unlock_bh(&psta->sleep_q.lock); psta 993 drivers/staging/rtl8188eu/core/rtw_recv.c struct sta_info *psta; psta 1005 drivers/staging/rtl8188eu/core/rtw_recv.c psta = rtw_get_stainfo(&padapter->stapriv, psta 1007 drivers/staging/rtl8188eu/core/rtw_recv.c if (psta) { psta 1008 drivers/staging/rtl8188eu/core/rtw_recv.c psta->sta_stats.rx_mgnt_pkts++; psta 1010 drivers/staging/rtl8188eu/core/rtw_recv.c psta->sta_stats.rx_beacon_pkts++; psta 1012 drivers/staging/rtl8188eu/core/rtw_recv.c psta->sta_stats.rx_probereq_pkts++; psta 1016 drivers/staging/rtl8188eu/core/rtw_recv.c psta->sta_stats.rx_probersp_pkts++; psta 1018 drivers/staging/rtl8188eu/core/rtw_recv.c psta->sta_stats.rx_probersp_bm_pkts++; psta 1020 drivers/staging/rtl8188eu/core/rtw_recv.c psta->sta_stats.rx_probersp_uo_pkts++; psta 1034 drivers/staging/rtl8188eu/core/rtw_recv.c struct sta_info *psta = NULL; psta 1059 drivers/staging/rtl8188eu/core/rtw_recv.c ret = sta2sta_data_frame(adapter, precv_frame, &psta); psta 1064 drivers/staging/rtl8188eu/core/rtw_recv.c ret = ap2sta_data_frame(adapter, precv_frame, &psta); psta 1069 drivers/staging/rtl8188eu/core/rtw_recv.c ret = sta2ap_data_frame(adapter, precv_frame, &psta); psta 1087 drivers/staging/rtl8188eu/core/rtw_recv.c if (!psta) { psta 1095 drivers/staging/rtl8188eu/core/rtw_recv.c precv_frame->psta = psta; psta 1116 drivers/staging/rtl8188eu/core/rtw_recv.c precv_frame->preorder_ctrl = &psta->recvreorder_ctrl[pattrib->priority]; psta 1119 drivers/staging/rtl8188eu/core/rtw_recv.c if (recv_decache(precv_frame, bretry, &psta->sta_recvpriv.rxcache) == _FAIL) { psta 1129 drivers/staging/rtl8188eu/core/rtw_recv.c GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, is_multicast_ether_addr(pattrib->ra)); psta 1398 drivers/staging/rtl8188eu/core/rtw_recv.c struct sta_info *psta; psta 1415 drivers/staging/rtl8188eu/core/rtw_recv.c psta = rtw_get_stainfo(pstapriv, psta_addr); psta 1416 drivers/staging/rtl8188eu/core/rtw_recv.c if (!psta) { psta 1420 drivers/staging/rtl8188eu/core/rtw_recv.c psta = rtw_get_bcmc_stainfo(padapter); psta 1421 drivers/staging/rtl8188eu/core/rtw_recv.c pdefrag_q = &psta->sta_recvpriv.defrag_q; psta 1426 drivers/staging/rtl8188eu/core/rtw_recv.c pdefrag_q = &psta->sta_recvpriv.defrag_q; psta 602 drivers/staging/rtl8188eu/core/rtw_security.c if (pattrib->psta) psta 603 drivers/staging/rtl8188eu/core/rtw_security.c stainfo = pattrib->psta; psta 1244 drivers/staging/rtl8188eu/core/rtw_security.c if (pattrib->psta) psta 1245 drivers/staging/rtl8188eu/core/rtw_security.c stainfo = pattrib->psta; psta 17 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c static void _rtw_init_stainfo(struct sta_info *psta) psta 19 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c memset((u8 *)psta, 0, sizeof(struct sta_info)); psta 21 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c spin_lock_init(&psta->lock); psta 22 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c INIT_LIST_HEAD(&psta->list); psta 23 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c INIT_LIST_HEAD(&psta->hash_list); psta 24 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c _rtw_init_queue(&psta->sleep_q); psta 25 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->sleepq_len = 0; psta 27 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c _rtw_init_sta_xmit_priv(&psta->sta_xmitpriv); psta 28 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c _rtw_init_sta_recv_priv(&psta->sta_recvpriv); psta 32 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c INIT_LIST_HEAD(&psta->asoc_list); psta 34 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c INIT_LIST_HEAD(&psta->auth_list); psta 36 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->expire_to = 0; psta 38 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->flags = 0; psta 40 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->capability = 0; psta 42 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->bpairwise_key_installed = false; psta 44 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->nonerp_set = 0; psta 45 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->no_short_slot_time_set = 0; psta 46 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->no_short_preamble_set = 0; psta 47 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->no_ht_gf_set = 0; psta 48 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->no_ht_set = 0; psta 49 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->ht_20mhz_set = 0; psta 51 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->under_exist_checking = 0; psta 53 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->keep_alive_trycnt = 0; psta 60 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct sta_info *psta; psta 79 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta = (struct sta_info *)(pstapriv->pstainfo_buf); psta 82 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c _rtw_init_stainfo(psta); psta 86 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c list_add_tail(&psta->list, get_list_head(&pstapriv->free_sta_queue)); psta 88 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta++; psta 133 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct sta_info *psta = NULL; psta 147 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta = container_of(plist, struct sta_info, psta 152 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c preorder_ctrl = &psta->recvreorder_ctrl[i]; psta 170 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct sta_info *psta; psta 179 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta = list_first_entry_or_null(&pfree_sta_queue->queue, psta 181 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c if (!psta) { psta 184 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c list_del_init(&psta->list); psta 186 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c _rtw_init_stainfo(psta); psta 187 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c memcpy(psta->hwaddr, hwaddr, ETH_ALEN); psta 192 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta = NULL; psta 198 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c list_add_tail(&psta->hash_list, phash_list); psta 208 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c memcpy(&psta->sta_recvpriv.rxcache.tid_rxseq[i], &wRxSeqInitialValue, 2); psta 214 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c init_addba_retry_timer(pstapriv->padapter, psta); psta 218 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c preorder_ctrl = &psta->recvreorder_ctrl[i]; psta 234 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->rssi_stat.UndecoratedSmoothedPWDB = -1; psta 235 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->rssi_stat.UndecoratedSmoothedCCK = -1; psta 238 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->RxMgmtFrameSeqNum = 0xffff; psta 242 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c return psta; psta 246 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c u32 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta) psta 255 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c if (!psta) psta 260 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c pstaxmitpriv = &psta->sta_xmitpriv; psta 264 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c rtw_free_xmitframe_queue(pxmitpriv, &psta->sleep_q); psta 265 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->sleepq_len = 0; psta 285 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c list_del_init(&psta->hash_list); psta 288 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c pstapriv->asoc_sta_count, psta->hwaddr[0], psta->hwaddr[1], psta 289 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->hwaddr[2], psta->hwaddr[3], psta->hwaddr[4], psta 290 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->hwaddr[5])); psta 294 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c _rtw_init_sta_xmit_priv(&psta->sta_xmitpriv); psta 295 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c _rtw_init_sta_recv_priv(&psta->sta_recvpriv); psta 297 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c del_timer_sync(&psta->addba_retry_timer); psta 306 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c preorder_ctrl = &psta->recvreorder_ctrl[i]; psta 330 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c if (!(psta->state & WIFI_AP_STATE)) psta 331 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, false); psta 336 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c if (!list_empty(&psta->auth_list)) { psta 337 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c list_del_init(&psta->auth_list); psta 342 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->expire_to = 0; psta 344 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->sleepq_ac_len = 0; psta 345 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->qos_info = 0; psta 347 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->max_sp_len = 0; psta 348 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->uapsd_bk = 0; psta 349 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->uapsd_be = 0; psta 350 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->uapsd_vi = 0; psta 351 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->uapsd_vo = 0; psta 352 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->has_legacy_ac = 0; psta 354 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c pstapriv->sta_dz_bitmap &= ~BIT(psta->aid); psta 355 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c pstapriv->tim_bitmap &= ~BIT(psta->aid); psta 357 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c if ((psta->aid > 0) && (pstapriv->sta_aid[psta->aid - 1] == psta)) { psta 358 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c pstapriv->sta_aid[psta->aid - 1] = NULL; psta 359 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->aid = 0; psta 362 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->under_exist_checking = 0; psta 367 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c list_add_tail(&psta->list, get_list_head(pfree_sta_queue)); psta 380 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct sta_info *psta = NULL; psta 394 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta = container_of(plist, struct sta_info, hash_list); psta 398 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c if (pbcmc_stainfo != psta) psta 399 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c rtw_free_stainfo(padapter, psta); psta 409 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct sta_info *psta = NULL; psta 430 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta = container_of(plist, struct sta_info, hash_list); psta 432 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c if (!memcmp(psta->hwaddr, addr, ETH_ALEN)) { psta 436 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta = NULL; psta 441 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c return psta; psta 446 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct sta_info *psta; psta 451 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta = rtw_alloc_stainfo(pstapriv, bcast_addr); psta 453 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c if (!psta) { psta 460 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c psta->mac_id = 1; psta 646 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct sta_info *psta; psta 651 drivers/staging/rtl8188eu/core/rtw_wlan_util.c psta = rtw_get_stainfo(pstapriv, cur_network->MacAddress); psta 652 drivers/staging/rtl8188eu/core/rtw_wlan_util.c if (psta) { psta 653 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct ht_priv *phtpriv_sta = &psta->htpriv; psta 772 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void VCS_update(struct adapter *padapter, struct sta_info *psta) psta 780 drivers/staging/rtl8188eu/core/rtw_wlan_util.c psta->rtsen = 0; psta 781 drivers/staging/rtl8188eu/core/rtw_wlan_util.c psta->cts2self = 0; psta 785 drivers/staging/rtl8188eu/core/rtw_wlan_util.c psta->rtsen = 1; psta 786 drivers/staging/rtl8188eu/core/rtw_wlan_util.c psta->cts2self = 0; psta 788 drivers/staging/rtl8188eu/core/rtw_wlan_util.c psta->rtsen = 0; psta 789 drivers/staging/rtl8188eu/core/rtw_wlan_util.c psta->cts2self = 1; psta 796 drivers/staging/rtl8188eu/core/rtw_wlan_util.c psta->rtsen = 1; psta 797 drivers/staging/rtl8188eu/core/rtw_wlan_util.c psta->cts2self = 0; psta 799 drivers/staging/rtl8188eu/core/rtw_wlan_util.c psta->rtsen = 0; psta 800 drivers/staging/rtl8188eu/core/rtw_wlan_util.c psta->cts2self = 1; psta 803 drivers/staging/rtl8188eu/core/rtw_wlan_util.c psta->rtsen = 0; psta 804 drivers/staging/rtl8188eu/core/rtw_wlan_util.c psta->cts2self = 0; psta 1013 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void update_beacon_info(struct adapter *padapter, u8 *pframe, uint pkt_len, struct sta_info *psta) psta 1030 drivers/staging/rtl8188eu/core/rtw_wlan_util.c VCS_update(padapter, psta); psta 1177 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void set_sta_rate(struct adapter *padapter, struct sta_info *psta) psta 1180 drivers/staging/rtl8188eu/core/rtw_wlan_util.c Update_RA_Entry(padapter, psta->mac_id); psta 1430 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct sta_info *psta; psta 1439 drivers/staging/rtl8188eu/core/rtw_wlan_util.c psta = rtw_get_stainfo(pstapriv, addr); psta 1441 drivers/staging/rtl8188eu/core/rtw_wlan_util.c if (psta) { psta 1444 drivers/staging/rtl8188eu/core/rtw_wlan_util.c preorder_ctrl = &psta->recvreorder_ctrl[tid]; psta 246 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_info *psta = pattrib->psta; psta 265 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta->rtsen) psta 267 drivers/staging/rtl8188eu/core/rtw_xmit.c else if (psta->cts2self) psta 282 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta->rtsen || psta->cts2self) { psta 283 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta->rtsen) psta 285 drivers/staging/rtl8188eu/core/rtw_xmit.c else if (psta->cts2self) psta 322 drivers/staging/rtl8188eu/core/rtw_xmit.c static void update_attrib_phy_info(struct pkt_attrib *pattrib, struct sta_info *psta) psta 329 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->qos_en = psta->qos_option; psta 331 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->raid = psta->raid; psta 332 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->ht_en = psta->htpriv.ht_option; psta 333 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->bwmode = psta->htpriv.bwmode; psta 334 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->ch_offset = psta->htpriv.ch_offset; psta 335 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->sgi = psta->htpriv.sgi; psta 395 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_info *psta = NULL; psta 465 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = rtw_get_bcmc_stainfo(padapter); psta 467 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = rtw_get_stainfo(pstapriv, pattrib->ra); psta 468 drivers/staging/rtl8188eu/core/rtw_xmit.c if (!psta) { /* if we cannot get psta => drrp the pkt */ psta 473 drivers/staging/rtl8188eu/core/rtw_xmit.c !(psta->state & _FW_LINKED)) { psta 479 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta) { psta 480 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->mac_id = psta->mac_id; psta 482 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->psta = psta; psta 498 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta->qos_option) psta 509 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta->ieee8021x_blocked) { psta 520 drivers/staging/rtl8188eu/core/rtw_xmit.c GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, mcast); psta 582 drivers/staging/rtl8188eu/core/rtw_xmit.c update_attrib_phy_info(pattrib, psta); psta 600 drivers/staging/rtl8188eu/core/rtw_xmit.c if (pattrib->psta) psta 601 drivers/staging/rtl8188eu/core/rtw_xmit.c stainfo = pattrib->psta; psta 746 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_info *psta; psta 748 drivers/staging/rtl8188eu/core/rtw_xmit.c if (pattrib->psta) { psta 749 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = pattrib->psta; psta 752 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = rtw_get_bcmc_stainfo(padapter); psta 754 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); psta 779 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta && psta->qos_option) psta 787 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta && psta->qos_option) psta 815 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta) { psta 816 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->sta_xmitpriv.txseq_tid[pattrib->priority]++; psta 817 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->sta_xmitpriv.txseq_tid[pattrib->priority] &= 0xFFF; psta 819 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->seqnum = psta->sta_xmitpriv.txseq_tid[pattrib->priority]; psta 824 drivers/staging/rtl8188eu/core/rtw_xmit.c if (pattrib->ht_en && psta->htpriv.ampdu_enable) { psta 825 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta->htpriv.agg_enable_bitmap & BIT(pattrib->priority)) psta 833 drivers/staging/rtl8188eu/core/rtw_xmit.c tx_seq = psta->BA_starting_seqctrl[pattrib->priority & 0x0f]; psta 839 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->BA_starting_seqctrl[pattrib->priority & 0x0f] = (tx_seq + 1) & 0xfff; psta 843 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->BA_starting_seqctrl[pattrib->priority & 0x0f] = (pattrib->seqnum + 1) & 0xfff; psta 866 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_info *psta; psta 870 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = pattrib->psta; psta 875 drivers/staging/rtl8188eu/core/rtw_xmit.c ptxservq = &psta->sta_xmitpriv.bk_q; psta 879 drivers/staging/rtl8188eu/core/rtw_xmit.c ptxservq = &psta->sta_xmitpriv.vi_q; psta 883 drivers/staging/rtl8188eu/core/rtw_xmit.c ptxservq = &psta->sta_xmitpriv.vo_q; psta 888 drivers/staging/rtl8188eu/core/rtw_xmit.c ptxservq = &psta->sta_xmitpriv.be_q; psta 913 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_info *psta; psta 921 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); psta 923 drivers/staging/rtl8188eu/core/rtw_xmit.c if (!psta) psta 964 drivers/staging/rtl8188eu/core/rtw_xmit.c WEP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); psta 968 drivers/staging/rtl8188eu/core/rtw_xmit.c TKIP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); psta 970 drivers/staging/rtl8188eu/core/rtw_xmit.c TKIP_IV(pattrib->iv, psta->dot11txpn, 0); psta 974 drivers/staging/rtl8188eu/core/rtw_xmit.c AES_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); psta 976 drivers/staging/rtl8188eu/core/rtw_xmit.c AES_IV(pattrib->iv, psta->dot11txpn, 0); psta 1122 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_info *psta = NULL; psta 1131 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = pxmitframe->attrib.psta; psta 1132 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta) { psta 1133 drivers/staging/rtl8188eu/core/rtw_xmit.c pstats = &psta->sta_stats; psta 1431 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_info *psta, int up, u8 *ac) psta 1438 drivers/staging/rtl8188eu/core/rtw_xmit.c ptxservq = &psta->sta_xmitpriv.bk_q; psta 1445 drivers/staging/rtl8188eu/core/rtw_xmit.c ptxservq = &psta->sta_xmitpriv.vi_q; psta 1452 drivers/staging/rtl8188eu/core/rtw_xmit.c ptxservq = &psta->sta_xmitpriv.vo_q; psta 1460 drivers/staging/rtl8188eu/core/rtw_xmit.c ptxservq = &psta->sta_xmitpriv.be_q; psta 1477 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_info *psta; psta 1484 drivers/staging/rtl8188eu/core/rtw_xmit.c if (pattrib->psta) psta 1485 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = pattrib->psta; psta 1487 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = rtw_get_stainfo(pstapriv, pattrib->ra); psta 1489 drivers/staging/rtl8188eu/core/rtw_xmit.c if (!psta) { psta 1496 drivers/staging/rtl8188eu/core/rtw_xmit.c ptxservq = rtw_get_sta_pending(padapter, psta, pattrib->priority, (u8 *)(&ac_index)); psta 1637 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_info *psta = NULL; psta 1646 drivers/staging/rtl8188eu/core/rtw_xmit.c if (pattrib->psta) psta 1647 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = pattrib->psta; psta 1649 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = rtw_get_stainfo(pstapriv, pattrib->ra); psta 1651 drivers/staging/rtl8188eu/core/rtw_xmit.c if (!psta) psta 1661 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_lock_bh(&psta->sleep_q.lock); psta 1666 drivers/staging/rtl8188eu/core/rtw_xmit.c list_add_tail(&pxmitframe->list, get_list_head(&psta->sleep_q)); psta 1668 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->sleepq_len++; psta 1678 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_unlock_bh(&psta->sleep_q.lock); psta 1683 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_lock_bh(&psta->sleep_q.lock); psta 1685 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta->state & WIFI_SLEEP_STATE) { psta 1688 drivers/staging/rtl8188eu/core/rtw_xmit.c if (pstapriv->sta_dz_bitmap & BIT(psta->aid)) { psta 1691 drivers/staging/rtl8188eu/core/rtw_xmit.c list_add_tail(&pxmitframe->list, get_list_head(&psta->sleep_q)); psta 1693 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->sleepq_len++; psta 1698 drivers/staging/rtl8188eu/core/rtw_xmit.c wmmps_ac = psta->uapsd_bk & BIT(0); psta 1702 drivers/staging/rtl8188eu/core/rtw_xmit.c wmmps_ac = psta->uapsd_vi & BIT(0); psta 1706 drivers/staging/rtl8188eu/core/rtw_xmit.c wmmps_ac = psta->uapsd_vo & BIT(0); psta 1711 drivers/staging/rtl8188eu/core/rtw_xmit.c wmmps_ac = psta->uapsd_be & BIT(0); psta 1716 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->sleepq_ac_len++; psta 1718 drivers/staging/rtl8188eu/core/rtw_xmit.c if (((psta->has_legacy_ac) && (!wmmps_ac)) || psta 1719 drivers/staging/rtl8188eu/core/rtw_xmit.c ((!psta->has_legacy_ac) && (wmmps_ac))) { psta 1720 drivers/staging/rtl8188eu/core/rtw_xmit.c pstapriv->tim_bitmap |= BIT(psta->aid); psta 1722 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta->sleepq_len == 1) { psta 1731 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_unlock_bh(&psta->sleep_q.lock); psta 1736 drivers/staging/rtl8188eu/core/rtw_xmit.c static void dequeue_xmitframes_to_sleeping_queue(struct adapter *padapter, struct sta_info *psta, struct __queue *pframequeue) psta 1757 drivers/staging/rtl8188eu/core/rtw_xmit.c ptxservq = rtw_get_sta_pending(padapter, psta, pattrib->priority, (u8 *)(&ac_index)); psta 1764 drivers/staging/rtl8188eu/core/rtw_xmit.c void stop_sta_xmit(struct adapter *padapter, struct sta_info *psta) psta 1771 drivers/staging/rtl8188eu/core/rtw_xmit.c pstaxmitpriv = &psta->sta_xmitpriv; psta 1778 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->state |= WIFI_SLEEP_STATE; psta 1780 drivers/staging/rtl8188eu/core/rtw_xmit.c pstapriv->sta_dz_bitmap |= BIT(psta->aid); psta 1782 drivers/staging/rtl8188eu/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, psta 1786 drivers/staging/rtl8188eu/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, psta 1790 drivers/staging/rtl8188eu/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, psta 1794 drivers/staging/rtl8188eu/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, psta 1807 drivers/staging/rtl8188eu/core/rtw_xmit.c void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta) psta 1815 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_lock_bh(&psta->sleep_q.lock); psta 1817 drivers/staging/rtl8188eu/core/rtw_xmit.c xmitframe_phead = get_list_head(&psta->sleep_q); psta 1830 drivers/staging/rtl8188eu/core/rtw_xmit.c wmmps_ac = psta->uapsd_bk & BIT(1); psta 1834 drivers/staging/rtl8188eu/core/rtw_xmit.c wmmps_ac = psta->uapsd_vi & BIT(1); psta 1838 drivers/staging/rtl8188eu/core/rtw_xmit.c wmmps_ac = psta->uapsd_vo & BIT(1); psta 1843 drivers/staging/rtl8188eu/core/rtw_xmit.c wmmps_ac = psta->uapsd_be & BIT(1); psta 1847 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->sleepq_len--; psta 1848 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta->sleepq_len > 0) psta 1854 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->sleepq_ac_len--; psta 1855 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta->sleepq_ac_len > 0) { psta 1866 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_unlock_bh(&psta->sleep_q.lock); psta 1869 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_lock_bh(&psta->sleep_q.lock); psta 1872 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta->sleepq_len == 0) { psta 1873 drivers/staging/rtl8188eu/core/rtw_xmit.c pstapriv->tim_bitmap &= ~BIT(psta->aid); psta 1877 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta->state & WIFI_SLEEP_STATE) psta 1878 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->state ^= WIFI_SLEEP_STATE; psta 1880 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta->state & WIFI_STA_ALIVE_CHK_STATE) { psta 1881 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->expire_to = pstapriv->expire_to; psta 1882 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->state ^= WIFI_STA_ALIVE_CHK_STATE; psta 1885 drivers/staging/rtl8188eu/core/rtw_xmit.c pstapriv->sta_dz_bitmap &= ~BIT(psta->aid); psta 1888 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_unlock_bh(&psta->sleep_q.lock); psta 1936 drivers/staging/rtl8188eu/core/rtw_xmit.c void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta) psta 1943 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_lock_bh(&psta->sleep_q.lock); psta 1945 drivers/staging/rtl8188eu/core/rtw_xmit.c xmitframe_phead = get_list_head(&psta->sleep_q); psta 1956 drivers/staging/rtl8188eu/core/rtw_xmit.c wmmps_ac = psta->uapsd_bk & BIT(1); psta 1960 drivers/staging/rtl8188eu/core/rtw_xmit.c wmmps_ac = psta->uapsd_vi & BIT(1); psta 1964 drivers/staging/rtl8188eu/core/rtw_xmit.c wmmps_ac = psta->uapsd_vo & BIT(1); psta 1969 drivers/staging/rtl8188eu/core/rtw_xmit.c wmmps_ac = psta->uapsd_be & BIT(1); psta 1978 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->sleepq_len--; psta 1979 drivers/staging/rtl8188eu/core/rtw_xmit.c psta->sleepq_ac_len--; psta 1981 drivers/staging/rtl8188eu/core/rtw_xmit.c if (psta->sleepq_ac_len > 0) { psta 1994 drivers/staging/rtl8188eu/core/rtw_xmit.c if ((psta->sleepq_ac_len == 0) && (!psta->has_legacy_ac) && (wmmps_ac)) { psta 1995 drivers/staging/rtl8188eu/core/rtw_xmit.c pstapriv->tim_bitmap &= ~BIT(psta->aid); psta 2002 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_unlock_bh(&psta->sleep_q.lock); psta 55 drivers/staging/rtl8188eu/hal/hal_intf.c struct sta_info *psta = NULL; psta 59 drivers/staging/rtl8188eu/hal/hal_intf.c psta = pstapriv->sta_aid[mac_id - 2]; psta 60 drivers/staging/rtl8188eu/hal/hal_intf.c if (psta) psta 61 drivers/staging/rtl8188eu/hal/hal_intf.c add_RATid(adapt, psta, 0);/* todo: based on rssi_level*/ psta 896 drivers/staging/rtl8188eu/hal/odm.c struct sta_info *psta; psta 903 drivers/staging/rtl8188eu/hal/odm.c psta = pDM_Odm->pODM_StaInfo[i]; psta 904 drivers/staging/rtl8188eu/hal/odm.c if (IS_STA_VALID(psta) && psta 905 drivers/staging/rtl8188eu/hal/odm.c (psta->state & WIFI_ASOC_STATE) && psta 906 drivers/staging/rtl8188eu/hal/odm.c memcmp(psta->hwaddr, bcast_addr, ETH_ALEN) && psta 907 drivers/staging/rtl8188eu/hal/odm.c memcmp(psta->hwaddr, myid(&Adapter->eeprompriv), ETH_ALEN)) { psta 908 drivers/staging/rtl8188eu/hal/odm.c if (psta->rssi_stat.UndecoratedSmoothedPWDB < tmpEntryMinPWDB) psta 909 drivers/staging/rtl8188eu/hal/odm.c tmpEntryMinPWDB = psta->rssi_stat.UndecoratedSmoothedPWDB; psta 911 drivers/staging/rtl8188eu/hal/odm.c if (psta->rssi_stat.UndecoratedSmoothedPWDB > tmpEntryMaxPWDB) psta 912 drivers/staging/rtl8188eu/hal/odm.c tmpEntryMaxPWDB = psta->rssi_stat.UndecoratedSmoothedPWDB; psta 913 drivers/staging/rtl8188eu/hal/odm.c if (psta->rssi_stat.UndecoratedSmoothedPWDB != (-1)) psta 914 drivers/staging/rtl8188eu/hal/odm.c PWDB_rssi[sta_cnt++] = (psta->mac_id | (psta->rssi_stat.UndecoratedSmoothedPWDB<<16)); psta 139 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c struct sta_info *psta = pValue1; psta 142 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c DBG_88E("### Set STA_(%d) info\n", psta->mac_id); psta 143 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c ODM_CmnInfoPtrArrayHook(podmpriv, ODM_CMNINFO_STA_STATUS, psta->mac_id, psta); psta 144 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c ODM_RAInfo_Init(podmpriv, psta->mac_id); psta 146 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c DBG_88E("### Clean STA_(%d) info\n", psta->mac_id); psta 147 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c ODM_CmnInfoPtrArrayHook(podmpriv, ODM_CMNINFO_STA_STATUS, psta->mac_id, NULL); psta 139 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c struct sta_info *psta; psta 169 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c psta = rtw_get_stainfo(pstapriv, sa); psta 170 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c if (psta) psta 171 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c pkt_info.StationID = psta->mac_id; psta 177 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c precvframe->psta = NULL; psta 180 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c if (psta) { psta 181 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c precvframe->psta = psta; psta 186 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c if (psta) psta 187 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c precvframe->psta = psta; psta 424 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c struct sta_info *psta = NULL; psta 485 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c psta = pfirstframe->attrib.psta; psta 489 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c ptxservq = &psta->sta_xmitpriv.bk_q; psta 494 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c ptxservq = &psta->sta_xmitpriv.vi_q; psta 499 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c ptxservq = &psta->sta_xmitpriv.vo_q; psta 505 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c ptxservq = &psta->sta_xmitpriv.be_q; psta 1790 drivers/staging/rtl8188eu/hal/usb_halinit.c struct sta_info *psta; psta 1792 drivers/staging/rtl8188eu/hal/usb_halinit.c psta = rtw_get_stainfo(pstapriv, pmlmepriv->cur_network.network.MacAddress); psta 1793 drivers/staging/rtl8188eu/hal/usb_halinit.c if (psta) psta 1794 drivers/staging/rtl8188eu/hal/usb_halinit.c *((int *)pValue) = psta->rssi_stat.UndecoratedSmoothedPWDB; psta 1883 drivers/staging/rtl8188eu/hal/usb_halinit.c struct sta_info *psta; psta 1891 drivers/staging/rtl8188eu/hal/usb_halinit.c psta = pmlmeinfo->FW_sta_info[mac_id].psta; psta 1892 drivers/staging/rtl8188eu/hal/usb_halinit.c if (!psta) psta 1934 drivers/staging/rtl8188eu/hal/usb_halinit.c psta->raid = raid; psta 1935 drivers/staging/rtl8188eu/hal/usb_halinit.c psta->init_rate = init_rate; psta 17 drivers/staging/rtl8188eu/include/rtw_ap.h struct sta_info *psta); psta 19 drivers/staging/rtl8188eu/include/rtw_ap.h struct sta_info *psta); psta 24 drivers/staging/rtl8188eu/include/rtw_ap.h void add_RATid(struct adapter *padapter, struct sta_info *psta, psta 27 drivers/staging/rtl8188eu/include/rtw_ap.h void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta); psta 34 drivers/staging/rtl8188eu/include/rtw_ap.h void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta); psta 35 drivers/staging/rtl8188eu/include/rtw_ap.h u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta); psta 36 drivers/staging/rtl8188eu/include/rtw_ap.h void sta_info_update(struct adapter *padapter, struct sta_info *psta); psta 37 drivers/staging/rtl8188eu/include/rtw_ap.h void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta); psta 38 drivers/staging/rtl8188eu/include/rtw_ap.h u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta, psta 304 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_setstakey_cmd(struct adapter *padapter, u8 *psta, u8 unicast_key); psta 305 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_clearstakey_cmd(struct adapter *padapter, u8 *psta, u8 entry, psta 304 drivers/staging/rtl8188eu/include/rtw_mlme.h struct sta_info *psta, u8 free_assoc); psta 357 drivers/staging/rtl8188eu/include/rtw_mlme.h void rtw_stassoc_hw_rpt(struct adapter *adapter, struct sta_info *psta); psta 272 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h struct sta_info *psta; psta 504 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void VCS_update(struct adapter *padapter, struct sta_info *psta); psta 507 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h struct sta_info *psta); psta 518 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void update_sta_info(struct adapter *padapter, struct sta_info *psta); psta 523 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void set_sta_rate(struct adapter *padapter, struct sta_info *psta); psta 557 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h struct sta_info *psta); psta 225 drivers/staging/rtl8188eu/include/rtw_recv.h struct sta_info *psta; psta 165 drivers/staging/rtl8188eu/include/rtw_security.h #define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst) \ psta 177 drivers/staging/rtl8188eu/include/rtw_security.h encry_algo = (u8)psta->dot118021XPrivacy; \ psta 145 drivers/staging/rtl8188eu/include/rtw_xmit.h struct sta_info *psta; psta 321 drivers/staging/rtl8188eu/include/rtw_xmit.h struct sta_info *psta, int up, u8 *ac); psta 345 drivers/staging/rtl8188eu/include/rtw_xmit.h void stop_sta_xmit(struct adapter *padapter, struct sta_info *psta); psta 346 drivers/staging/rtl8188eu/include/rtw_xmit.h void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta); psta 347 drivers/staging/rtl8188eu/include/rtw_xmit.h void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta); psta 352 drivers/staging/rtl8188eu/include/sta_info.h u32 rtw_free_stainfo(struct adapter *adapt, struct sta_info *psta); psta 435 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct sta_info *psta, *pbcmc_sta; psta 439 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); psta 440 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!psta) { psta 444 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->ieee8021x_blocked = false; psta 448 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; psta 451 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); psta 454 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); psta 455 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); psta 461 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_setstakey_cmd(padapter, (unsigned char *)psta, true); psta 2080 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static u8 set_pairwise_key(struct adapter *padapter, struct sta_info *psta) psta 2102 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; psta 2104 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); psta 2106 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); psta 2197 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct sta_info *psta = NULL, *pbcmc_sta = NULL; psta 2216 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); psta 2217 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!psta) { psta 2223 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "none") == 0 && (!psta)) { psta 2229 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0 && (!psta)) { psta 2293 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!psta && check_fwstate(pmlmepriv, WIFI_AP_STATE)) { /* group key */ psta 2336 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X && psta) { /* psk/802_1x */ psta 2339 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); psta 2344 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->dot118021XPrivacy = _WEP40_; psta 2346 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->dot118021XPrivacy = _WEP104_; psta 2350 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->dot118021XPrivacy = _TKIP_; psta 2353 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); psta 2354 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); psta 2360 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->dot118021XPrivacy = _AES_; psta 2364 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->dot118021XPrivacy = _NO_PRIVACY_; psta 2367 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c set_pairwise_key(padapter, psta); psta 2369 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->ieee8021x_blocked = false; psta 2461 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct sta_info *psta = NULL; psta 2474 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); psta 2475 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (psta) { psta 2478 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->aid = param->u.add_sta.aid;/* aid = 1~2007 */ psta 2480 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta->bssrateset, param->u.add_sta.tx_supp_rates, 16); psta 2484 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->qos_option = 1; psta 2486 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->qos_option = 0; psta 2489 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->qos_option = 0; psta 2493 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->htpriv.ht_option = true; psta 2494 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->qos_option = 1; psta 2495 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(&psta->htpriv.ht_cap, ¶m->u.add_sta.ht_cap, psta 2498 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->htpriv.ht_option = false; psta 2502 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->htpriv.ht_option = false; psta 2504 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c update_sta_info_apmode(padapter, psta); psta 2514 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct sta_info *psta = NULL; psta 2528 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); psta 2529 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (psta) { psta 2531 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!list_empty(&psta->asoc_list)) { psta 2532 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c list_del_init(&psta->asoc_list); psta 2534 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c updated = ap_free_sta(padapter, psta, true, WLAN_REASON_DEAUTH_LEAVING); psta 2538 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta = NULL; psta 2549 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct sta_info *psta = NULL; psta 2564 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param_ex->sta_addr); psta 2565 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (psta) { psta 2566 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta_data->aid = (u16)psta->aid; psta 2567 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta_data->capability = psta->capability; psta 2568 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta_data->flags = psta->flags; psta 2579 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta_data->sta_set = ((psta->nonerp_set) | psta 2580 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c (psta->no_short_slot_time_set << 1) | psta 2581 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c (psta->no_short_preamble_set << 2) | psta 2582 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c (psta->no_ht_gf_set << 3) | psta 2583 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c (psta->no_ht_set << 4) | psta 2584 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c (psta->ht_20mhz_set << 5)); psta 2585 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta_data->tx_supp_rates_len = psta->bssratelen; psta 2586 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(psta_data->tx_supp_rates, psta->bssrateset, psta->bssratelen); psta 2588 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c &psta->htpriv.ht_cap, sizeof(struct ieee80211_ht_cap)); psta 2589 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta_data->rx_pkts = psta->sta_stats.rx_data_pkts; psta 2590 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta_data->rx_bytes = psta->sta_stats.rx_bytes; psta 2591 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta_data->rx_drops = psta->sta_stats.rx_drops; psta 2592 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta_data->tx_pkts = psta->sta_stats.tx_pkts; psta 2593 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta_data->tx_bytes = psta->sta_stats.tx_bytes; psta 2594 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta_data->tx_drops = psta->sta_stats.tx_drops; psta 2605 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct sta_info *psta = NULL; psta 2618 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); psta 2619 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (psta) { psta 2620 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (psta->wpa_ie[0] == WLAN_EID_RSN || psta 2621 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->wpa_ie[0] == WLAN_EID_VENDOR_SPECIFIC) { psta 2625 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wpa_ie_len = psta->wpa_ie[1]; psta 2626 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c copy_len = min_t(int, wpa_ie_len + 2, sizeof(psta->wpa_ie)); psta 2628 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(param->u.wpa_ie.reserved, psta->wpa_ie, copy_len); psta 114 drivers/staging/rtl8188eu/os_dep/mlme_linux.c void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta) psta 116 drivers/staging/rtl8188eu/os_dep/mlme_linux.c timer_setup(&psta->addba_retry_timer, addba_timer_hdl, 0); psta 129 drivers/staging/rtl8188eu/os_dep/mlme_linux.c void rtw_indicate_sta_assoc_event(struct adapter *padapter, struct sta_info *psta) psta 134 drivers/staging/rtl8188eu/os_dep/mlme_linux.c if (!psta) psta 137 drivers/staging/rtl8188eu/os_dep/mlme_linux.c if (psta->aid > NUM_STA) psta 140 drivers/staging/rtl8188eu/os_dep/mlme_linux.c if (pstapriv->sta_aid[psta->aid - 1] != psta) psta 145 drivers/staging/rtl8188eu/os_dep/mlme_linux.c memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); psta 152 drivers/staging/rtl8188eu/os_dep/mlme_linux.c void rtw_indicate_sta_disassoc_event(struct adapter *padapter, struct sta_info *psta) psta 157 drivers/staging/rtl8188eu/os_dep/mlme_linux.c if (!psta) psta 160 drivers/staging/rtl8188eu/os_dep/mlme_linux.c if (psta->aid > NUM_STA) psta 163 drivers/staging/rtl8188eu/os_dep/mlme_linux.c if (pstapriv->sta_aid[psta->aid - 1] != psta) psta 168 drivers/staging/rtl8188eu/os_dep/mlme_linux.c memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); psta 84 drivers/staging/rtl8188eu/os_dep/recv_linux.c struct sta_info *psta = NULL; psta 92 drivers/staging/rtl8188eu/os_dep/recv_linux.c psta = rtw_get_bcmc_stainfo(padapter); psta 95 drivers/staging/rtl8188eu/os_dep/recv_linux.c psta = rtw_get_stainfo(pstapriv, pattrib->dst); psta 98 drivers/staging/rtl8188eu/os_dep/recv_linux.c if (psta) { psta 118 drivers/staging/rtl8188eu/os_dep/xmit_linux.c struct sta_info *psta = NULL; psta 127 drivers/staging/rtl8188eu/os_dep/xmit_linux.c psta = container_of(plist, struct sta_info, asoc_list); psta 132 drivers/staging/rtl8188eu/os_dep/xmit_linux.c if (!memcmp(psta->hwaddr, &skb->data[6], 6)) psta 138 drivers/staging/rtl8188eu/os_dep/xmit_linux.c memcpy(newskb->data, psta->hwaddr, 6); psta 247 drivers/staging/rtl8712/rtl8712_recv.c struct sta_info *psta; psta 260 drivers/staging/rtl8712/rtl8712_recv.c psta = r8712_get_stainfo(pstapriv, psta_addr); psta 261 drivers/staging/rtl8712/rtl8712_recv.c if (!psta) psta 264 drivers/staging/rtl8712/rtl8712_recv.c pdefrag_q = &psta->sta_recvpriv.defrag_q; psta 127 drivers/staging/rtl8712/rtl8712_recv.h struct sta_info *psta; psta 55 drivers/staging/rtl8712/rtl8712_xmit.c struct sta_info *psta; psta 59 drivers/staging/rtl8712/rtl8712_xmit.c psta = pattrib->psta; psta 63 drivers/staging/rtl8712/rtl8712_xmit.c ptxservq = &psta->sta_xmitpriv.bk_q; psta 67 drivers/staging/rtl8712/rtl8712_xmit.c ptxservq = &psta->sta_xmitpriv.vi_q; psta 71 drivers/staging/rtl8712/rtl8712_xmit.c ptxservq = &psta->sta_xmitpriv.vo_q; psta 76 drivers/staging/rtl8712/rtl8712_xmit.c ptxservq = &psta->sta_xmitpriv.be_q; psta 517 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_setstakey_cmd(struct _adapter *padapter, u8 *psta, u8 unicast_key) psta 525 drivers/staging/rtl8712/rtl871x_cmd.c struct sta_info *sta = (struct sta_info *)psta; psta 659 drivers/staging/rtl8712/rtl871x_cmd.c struct sta_info *psta = NULL; psta 696 drivers/staging/rtl8712/rtl871x_cmd.c psta = r8712_get_stainfo(&padapter->stapriv, psta 698 drivers/staging/rtl8712/rtl871x_cmd.c if (!psta) { psta 699 drivers/staging/rtl8712/rtl871x_cmd.c psta = r8712_alloc_stainfo(&padapter->stapriv, psta 701 drivers/staging/rtl8712/rtl871x_cmd.c if (!psta) psta 740 drivers/staging/rtl8712/rtl871x_cmd.c struct sta_info *psta = r8712_get_stainfo(pstapriv, psta 743 drivers/staging/rtl8712/rtl871x_cmd.c if (!psta) psta 745 drivers/staging/rtl8712/rtl871x_cmd.c psta->aid = psta->mac_id = psetstakey_rsp->keyid; /*CAM_ID(CAM_ENTRY)*/ psta 760 drivers/staging/rtl8712/rtl871x_cmd.c struct sta_info *psta = r8712_get_stainfo(pstapriv, psta 763 drivers/staging/rtl8712/rtl871x_cmd.c if (!psta) psta 765 drivers/staging/rtl8712/rtl871x_cmd.c psta->aid = psta->mac_id = passocsta_rsp->cam_id; psta 715 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_setstakey_cmd(struct _adapter *padapter, u8 *psta, u8 unicast_key); psta 78 drivers/staging/rtl8712/rtl871x_ioctl_linux.c static inline void handle_pairwise_key(struct sta_info *psta, psta 83 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(psta->x_UncstKey.skey, param->u.crypt.key, psta 86 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(psta->tkiptxmickey. skey, psta 88 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(psta->tkiprxmickey. skey, psta 94 drivers/staging/rtl8712/rtl871x_ioctl_linux.c r8712_setstakey_cmd(padapter, (unsigned char *)psta, true); psta 443 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct sta_info *psta, *pbcmc_sta; psta 449 drivers/staging/rtl8712/rtl871x_ioctl_linux.c psta = r8712_get_stainfo(pstapriv, psta 451 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (psta) { psta 452 drivers/staging/rtl8712/rtl871x_ioctl_linux.c psta->ieee8021x_blocked = false; psta 457 drivers/staging/rtl8712/rtl871x_ioctl_linux.c psta->XPrivacy = spriv->PrivacyAlgrthm; psta 459 drivers/staging/rtl8712/rtl871x_ioctl_linux.c handle_pairwise_key(psta, param, psta 587 drivers/staging/rtl8712/rtl871x_mlme.c struct sta_info *psta; psta 589 drivers/staging/rtl8712/rtl871x_mlme.c psta = r8712_get_stainfo(&adapter->stapriv, psta 593 drivers/staging/rtl8712/rtl871x_mlme.c r8712_free_stainfo(adapter, psta); psta 874 drivers/staging/rtl8712/rtl871x_mlme.c struct sta_info *psta; psta 881 drivers/staging/rtl8712/rtl871x_mlme.c psta = r8712_get_stainfo(&adapter->stapriv, pstassoc->macaddr); psta 882 drivers/staging/rtl8712/rtl871x_mlme.c if (psta != NULL) { psta 890 drivers/staging/rtl8712/rtl871x_mlme.c psta = r8712_alloc_stainfo(&adapter->stapriv, pstassoc->macaddr); psta 891 drivers/staging/rtl8712/rtl871x_mlme.c if (psta == NULL) psta 894 drivers/staging/rtl8712/rtl871x_mlme.c psta->qos_option = 0; psta 895 drivers/staging/rtl8712/rtl871x_mlme.c psta->mac_id = le32_to_cpu(pstassoc->cam_id); psta 899 drivers/staging/rtl8712/rtl871x_mlme.c psta->XPrivacy = adapter->securitypriv.PrivacyAlgrthm; psta 900 drivers/staging/rtl8712/rtl871x_mlme.c psta->ieee8021x_blocked = false; psta 915 drivers/staging/rtl8712/rtl871x_mlme.c struct sta_info *psta; psta 931 drivers/staging/rtl8712/rtl871x_mlme.c psta = r8712_get_stainfo(&adapter->stapriv, pstadel->macaddr); psta 933 drivers/staging/rtl8712/rtl871x_mlme.c r8712_free_stainfo(adapter, psta); psta 985 drivers/staging/rtl8712/rtl871x_mlme.c struct sta_info *psta; psta 989 drivers/staging/rtl8712/rtl871x_mlme.c psta = r8712_get_stainfo(pstapriv, pAddbareq_pram->MacAddress); psta 990 drivers/staging/rtl8712/rtl871x_mlme.c if (psta) { psta 992 drivers/staging/rtl8712/rtl871x_mlme.c &psta->recvreorder_ctrl[pAddbareq_pram->tid]; psta 1685 drivers/staging/rtl8712/rtl871x_mlme.c struct sta_info *bmc_sta, *psta; psta 1726 drivers/staging/rtl8712/rtl871x_mlme.c psta = r8712_get_stainfo(&padapter->stapriv, psta 1728 drivers/staging/rtl8712/rtl871x_mlme.c if (psta) { psta 1730 drivers/staging/rtl8712/rtl871x_mlme.c preorder_ctrl = &psta->recvreorder_ctrl[i]; psta 153 drivers/staging/rtl8712/rtl871x_mp_ioctl.c struct sta_info *psta; psta 184 drivers/staging/rtl8712/rtl871x_mp_ioctl.c psta = r8712_get_stainfo(&padapter->stapriv, psta 186 drivers/staging/rtl8712/rtl871x_mp_ioctl.c if (psta) psta 187 drivers/staging/rtl8712/rtl871x_mp_ioctl.c r8712_free_stainfo(padapter, psta); psta 188 drivers/staging/rtl8712/rtl871x_mp_ioctl.c psta = r8712_alloc_stainfo(&padapter->stapriv, bssid.MacAddress); psta 189 drivers/staging/rtl8712/rtl871x_mp_ioctl.c if (psta == NULL) { psta 195 drivers/staging/rtl8712/rtl871x_mp_ioctl.c tgt_network->aid = psta->aid = 1; psta 212 drivers/staging/rtl8712/rtl871x_mp_ioctl.c struct sta_info *psta; psta 221 drivers/staging/rtl8712/rtl871x_mp_ioctl.c psta = r8712_get_stainfo(&padapter->stapriv, psta 223 drivers/staging/rtl8712/rtl871x_mp_ioctl.c if (psta) psta 224 drivers/staging/rtl8712/rtl871x_mp_ioctl.c r8712_free_stainfo(padapter, psta); psta 234 drivers/staging/rtl8712/rtl871x_recv.c struct sta_info *psta; psta 243 drivers/staging/rtl8712/rtl871x_recv.c psta = r8712_get_stainfo(pstapriv, psta_addr); psta 250 drivers/staging/rtl8712/rtl871x_recv.c if ((psta != NULL) && (psta->ieee8021x_blocked)) { psta 297 drivers/staging/rtl8712/rtl871x_recv.c struct sta_info **psta) psta 354 drivers/staging/rtl8712/rtl871x_recv.c *psta = r8712_get_bcmc_stainfo(adapter); psta 356 drivers/staging/rtl8712/rtl871x_recv.c *psta = r8712_get_stainfo(pstapriv, sta_addr); /* get ap_info */ psta 357 drivers/staging/rtl8712/rtl871x_recv.c if (*psta == NULL) { psta 367 drivers/staging/rtl8712/rtl871x_recv.c struct sta_info **psta) psta 404 drivers/staging/rtl8712/rtl871x_recv.c *psta = r8712_get_bcmc_stainfo(adapter); psta 406 drivers/staging/rtl8712/rtl871x_recv.c *psta = r8712_get_stainfo(pstapriv, pattrib->bssid); psta 407 drivers/staging/rtl8712/rtl871x_recv.c if (*psta == NULL) psta 417 drivers/staging/rtl8712/rtl871x_recv.c *psta = r8712_get_stainfo(pstapriv, pattrib->bssid); psta 418 drivers/staging/rtl8712/rtl871x_recv.c if (*psta == NULL) psta 428 drivers/staging/rtl8712/rtl871x_recv.c struct sta_info **psta) psta 442 drivers/staging/rtl8712/rtl871x_recv.c *psta = r8712_get_stainfo(pstapriv, pattrib->src); psta 443 drivers/staging/rtl8712/rtl871x_recv.c if (*psta == NULL) psta 468 drivers/staging/rtl8712/rtl871x_recv.c struct sta_info *psta = NULL; psta 486 drivers/staging/rtl8712/rtl871x_recv.c res = sta2sta_data_frame(adapter, precv_frame, &psta); psta 491 drivers/staging/rtl8712/rtl871x_recv.c res = ap2sta_data_frame(adapter, precv_frame, &psta); psta 496 drivers/staging/rtl8712/rtl871x_recv.c res = sta2ap_data_frame(adapter, precv_frame, &psta); psta 507 drivers/staging/rtl8712/rtl871x_recv.c if (psta == NULL) psta 509 drivers/staging/rtl8712/rtl871x_recv.c precv_frame->u.hdr.psta = psta; psta 525 drivers/staging/rtl8712/rtl871x_recv.c &psta->recvreorder_ctrl[pattrib->priority]; psta 528 drivers/staging/rtl8712/rtl871x_recv.c if (recv_decache(precv_frame, bretry, &psta->sta_recvpriv.rxcache) == psta 533 drivers/staging/rtl8712/rtl871x_recv.c GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, psta 582 drivers/staging/rtl8712/rtl871x_security.c if (pattrib->psta) psta 583 drivers/staging/rtl8712/rtl871x_security.c stainfo = pattrib->psta; psta 1153 drivers/staging/rtl8712/rtl871x_security.c if (pattrib->psta) psta 1154 drivers/staging/rtl8712/rtl871x_security.c stainfo = pattrib->psta; psta 140 drivers/staging/rtl8712/rtl871x_security.h #define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst) \ psta 152 drivers/staging/rtl8712/rtl871x_security.h encry_algo = (u8)psta->XPrivacy; \ psta 25 drivers/staging/rtl8712/rtl871x_sta_mgt.c static void _init_stainfo(struct sta_info *psta) psta 27 drivers/staging/rtl8712/rtl871x_sta_mgt.c memset((u8 *)psta, 0, sizeof(struct sta_info)); psta 28 drivers/staging/rtl8712/rtl871x_sta_mgt.c spin_lock_init(&psta->lock); psta 29 drivers/staging/rtl8712/rtl871x_sta_mgt.c INIT_LIST_HEAD(&psta->list); psta 30 drivers/staging/rtl8712/rtl871x_sta_mgt.c INIT_LIST_HEAD(&psta->hash_list); psta 31 drivers/staging/rtl8712/rtl871x_sta_mgt.c _r8712_init_sta_xmit_priv(&psta->sta_xmitpriv); psta 32 drivers/staging/rtl8712/rtl871x_sta_mgt.c _r8712_init_sta_recv_priv(&psta->sta_recvpriv); psta 33 drivers/staging/rtl8712/rtl871x_sta_mgt.c INIT_LIST_HEAD(&psta->asoc_list); psta 34 drivers/staging/rtl8712/rtl871x_sta_mgt.c INIT_LIST_HEAD(&psta->auth_list); psta 39 drivers/staging/rtl8712/rtl871x_sta_mgt.c struct sta_info *psta; psta 53 drivers/staging/rtl8712/rtl871x_sta_mgt.c psta = (struct sta_info *)(pstapriv->pstainfo_buf); psta 55 drivers/staging/rtl8712/rtl871x_sta_mgt.c _init_stainfo(psta); psta 57 drivers/staging/rtl8712/rtl871x_sta_mgt.c list_add_tail(&psta->list, &pstapriv->free_sta_queue.queue); psta 58 drivers/staging/rtl8712/rtl871x_sta_mgt.c psta++; psta 93 drivers/staging/rtl8712/rtl871x_sta_mgt.c struct sta_info *psta; psta 102 drivers/staging/rtl8712/rtl871x_sta_mgt.c psta = list_first_entry_or_null(&pfree_sta_queue->queue, psta 104 drivers/staging/rtl8712/rtl871x_sta_mgt.c if (psta) { psta 105 drivers/staging/rtl8712/rtl871x_sta_mgt.c list_del_init(&psta->list); psta 106 drivers/staging/rtl8712/rtl871x_sta_mgt.c _init_stainfo(psta); psta 107 drivers/staging/rtl8712/rtl871x_sta_mgt.c memcpy(psta->hwaddr, hwaddr, ETH_ALEN); psta 110 drivers/staging/rtl8712/rtl871x_sta_mgt.c psta = NULL; psta 114 drivers/staging/rtl8712/rtl871x_sta_mgt.c list_add_tail(&psta->hash_list, phash_list); psta 123 drivers/staging/rtl8712/rtl871x_sta_mgt.c memcpy(&psta->sta_recvpriv.rxcache.tid_rxseq[i], psta 127 drivers/staging/rtl8712/rtl871x_sta_mgt.c preorder_ctrl = &psta->recvreorder_ctrl[i]; psta 138 drivers/staging/rtl8712/rtl871x_sta_mgt.c return psta; psta 142 drivers/staging/rtl8712/rtl871x_sta_mgt.c void r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta) psta 152 drivers/staging/rtl8712/rtl871x_sta_mgt.c if (psta == NULL) psta 155 drivers/staging/rtl8712/rtl871x_sta_mgt.c pstaxmitpriv = &psta->sta_xmitpriv; psta 172 drivers/staging/rtl8712/rtl871x_sta_mgt.c list_del_init(&psta->hash_list); psta 175 drivers/staging/rtl8712/rtl871x_sta_mgt.c _r8712_init_sta_xmit_priv(&psta->sta_xmitpriv); psta 176 drivers/staging/rtl8712/rtl871x_sta_mgt.c _r8712_init_sta_recv_priv(&psta->sta_recvpriv); psta 181 drivers/staging/rtl8712/rtl871x_sta_mgt.c preorder_ctrl = &psta->recvreorder_ctrl[i]; psta 186 drivers/staging/rtl8712/rtl871x_sta_mgt.c list_add_tail(&psta->list, &pfree_sta_queue->queue); psta 196 drivers/staging/rtl8712/rtl871x_sta_mgt.c struct sta_info *psta = NULL; psta 207 drivers/staging/rtl8712/rtl871x_sta_mgt.c psta = container_of(plist, psta 210 drivers/staging/rtl8712/rtl871x_sta_mgt.c if (pbcmc_stainfo != psta) psta 211 drivers/staging/rtl8712/rtl871x_sta_mgt.c r8712_free_stainfo(padapter, psta); psta 222 drivers/staging/rtl8712/rtl871x_sta_mgt.c struct sta_info *psta = NULL; psta 232 drivers/staging/rtl8712/rtl871x_sta_mgt.c psta = container_of(plist, struct sta_info, hash_list); psta 233 drivers/staging/rtl8712/rtl871x_sta_mgt.c if ((!memcmp(psta->hwaddr, hwaddr, ETH_ALEN))) { psta 237 drivers/staging/rtl8712/rtl871x_sta_mgt.c psta = NULL; psta 241 drivers/staging/rtl8712/rtl871x_sta_mgt.c return psta; psta 180 drivers/staging/rtl8712/rtl871x_xmit.c struct sta_info *psta = NULL; psta 264 drivers/staging/rtl8712/rtl871x_xmit.c psta = r8712_get_bcmc_stainfo(padapter); psta 268 drivers/staging/rtl8712/rtl871x_xmit.c psta = r8712_get_stainfo(pstapriv, psta 272 drivers/staging/rtl8712/rtl871x_xmit.c psta = r8712_get_stainfo(pstapriv, pattrib->ra); psta 273 drivers/staging/rtl8712/rtl871x_xmit.c if (psta == NULL) /* drop the pkt */ psta 278 drivers/staging/rtl8712/rtl871x_xmit.c pattrib->mac_id = psta->mac_id; psta 282 drivers/staging/rtl8712/rtl871x_xmit.c if (psta) { psta 283 drivers/staging/rtl8712/rtl871x_xmit.c pattrib->psta = psta; psta 300 drivers/staging/rtl8712/rtl871x_xmit.c if (psta->ieee8021x_blocked) { psta 306 drivers/staging/rtl8712/rtl871x_xmit.c GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, bmcast); psta 359 drivers/staging/rtl8712/rtl871x_xmit.c if (pattrib->psta) psta 360 drivers/staging/rtl8712/rtl871x_xmit.c stainfo = pattrib->psta; psta 526 drivers/staging/rtl8712/rtl871x_xmit.c struct sta_info *psta; psta 529 drivers/staging/rtl8712/rtl871x_xmit.c if (pattrib->psta) { psta 530 drivers/staging/rtl8712/rtl871x_xmit.c psta = pattrib->psta; psta 533 drivers/staging/rtl8712/rtl871x_xmit.c psta = r8712_get_bcmc_stainfo(padapter); psta 535 drivers/staging/rtl8712/rtl871x_xmit.c psta = psta 539 drivers/staging/rtl8712/rtl871x_xmit.c if (psta) { psta 540 drivers/staging/rtl8712/rtl871x_xmit.c psta->sta_xmitpriv.txseq_tid psta 542 drivers/staging/rtl8712/rtl871x_xmit.c psta->sta_xmitpriv.txseq_tid[pattrib->priority] psta 544 drivers/staging/rtl8712/rtl871x_xmit.c pattrib->seqnum = psta->sta_xmitpriv. psta 592 drivers/staging/rtl8712/rtl871x_xmit.c struct sta_info *psta; psta 600 drivers/staging/rtl8712/rtl871x_xmit.c if (pattrib->psta == NULL) psta 602 drivers/staging/rtl8712/rtl871x_xmit.c psta = pattrib->psta; psta 631 drivers/staging/rtl8712/rtl871x_xmit.c if (psta != NULL) { psta 635 drivers/staging/rtl8712/rtl871x_xmit.c WEP_IV(pattrib->iv, psta->txpn, psta 642 drivers/staging/rtl8712/rtl871x_xmit.c psta->txpn, psta 646 drivers/staging/rtl8712/rtl871x_xmit.c TKIP_IV(pattrib->iv, psta->txpn, psta 651 drivers/staging/rtl8712/rtl871x_xmit.c AES_IV(pattrib->iv, psta->txpn, psta 655 drivers/staging/rtl8712/rtl871x_xmit.c AES_IV(pattrib->iv, psta->txpn, psta 800 drivers/staging/rtl8712/rtl871x_xmit.c pxframe->attrib.psta = NULL; psta 856 drivers/staging/rtl8712/rtl871x_xmit.c struct sta_info *psta, sint up) psta 865 drivers/staging/rtl8712/rtl871x_xmit.c ptxservq = &(psta->sta_xmitpriv.bk_q); psta 871 drivers/staging/rtl8712/rtl871x_xmit.c ptxservq = &(psta->sta_xmitpriv.vi_q); psta 877 drivers/staging/rtl8712/rtl871x_xmit.c ptxservq = &(psta->sta_xmitpriv.vo_q); psta 884 drivers/staging/rtl8712/rtl871x_xmit.c ptxservq = &(psta->sta_xmitpriv.be_q); psta 901 drivers/staging/rtl8712/rtl871x_xmit.c struct sta_info *psta; psta 908 drivers/staging/rtl8712/rtl871x_xmit.c if (pattrib->psta) { psta 909 drivers/staging/rtl8712/rtl871x_xmit.c psta = pattrib->psta; psta 912 drivers/staging/rtl8712/rtl871x_xmit.c psta = r8712_get_bcmc_stainfo(padapter); psta 915 drivers/staging/rtl8712/rtl871x_xmit.c psta = r8712_get_stainfo(pstapriv, psta 918 drivers/staging/rtl8712/rtl871x_xmit.c psta = r8712_get_stainfo(pstapriv, pattrib->ra); psta 921 drivers/staging/rtl8712/rtl871x_xmit.c if (psta == NULL) psta 924 drivers/staging/rtl8712/rtl871x_xmit.c psta, pattrib->priority); psta 122 drivers/staging/rtl8712/rtl871x_xmit.h struct sta_info *psta; psta 126 drivers/staging/rtl8712/sta_info.h void r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta); psta 35 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_info *psta = NULL; psta 53 drivers/staging/rtl8723bs/core/rtw_ap.c psta = rtw_get_bcmc_stainfo(padapter); psta 54 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_free_stainfo(padapter, psta); psta 179 drivers/staging/rtl8723bs/core/rtw_ap.c u8 chk_sta_is_alive(struct sta_info *psta); psta 180 drivers/staging/rtl8723bs/core/rtw_ap.c u8 chk_sta_is_alive(struct sta_info *psta) psta 185 drivers/staging/rtl8723bs/core/rtw_ap.c , MAC_ARG(psta->hwaddr) psta 186 drivers/staging/rtl8723bs/core/rtw_ap.c , psta->rssi_stat.UndecoratedSmoothedPWDB psta 188 drivers/staging/rtl8723bs/core/rtw_ap.c , STA_RX_PKTS_DIFF_ARG(psta) psta 189 drivers/staging/rtl8723bs/core/rtw_ap.c , psta->expire_to psta 190 drivers/staging/rtl8723bs/core/rtw_ap.c , psta->state & WIFI_SLEEP_STATE ? "PS, " : "" psta 191 drivers/staging/rtl8723bs/core/rtw_ap.c , psta->state & WIFI_STA_ALIVE_CHK_STATE ? "SAC, " : "" psta 192 drivers/staging/rtl8723bs/core/rtw_ap.c , psta->sleepq_len psta 196 drivers/staging/rtl8723bs/core/rtw_ap.c sta_update_last_rx_pkts(psta); psta 205 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_info *psta = NULL; psta 224 drivers/staging/rtl8723bs/core/rtw_ap.c psta = LIST_CONTAINOR(plist, struct sta_info, auth_list); psta 228 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->expire_to > 0) { psta 229 drivers/staging/rtl8723bs/core/rtw_ap.c psta->expire_to--; psta 230 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->expire_to == 0) { psta 231 drivers/staging/rtl8723bs/core/rtw_ap.c list_del_init(&psta->auth_list); psta 236 drivers/staging/rtl8723bs/core/rtw_ap.c psta->hwaddr[0], psta 237 drivers/staging/rtl8723bs/core/rtw_ap.c psta->hwaddr[1], psta 238 drivers/staging/rtl8723bs/core/rtw_ap.c psta->hwaddr[2], psta 239 drivers/staging/rtl8723bs/core/rtw_ap.c psta->hwaddr[3], psta 240 drivers/staging/rtl8723bs/core/rtw_ap.c psta->hwaddr[4], psta 241 drivers/staging/rtl8723bs/core/rtw_ap.c psta->hwaddr[5] psta 246 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_free_stainfo(padapter, psta); psta 254 drivers/staging/rtl8723bs/core/rtw_ap.c psta = NULL; psta 269 drivers/staging/rtl8723bs/core/rtw_ap.c psta = LIST_CONTAINOR(plist, struct sta_info, asoc_list); psta 272 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->isrc) psta 275 drivers/staging/rtl8723bs/core/rtw_ap.c if (chk_sta_is_alive(psta) || !psta->expire_to) { psta 276 drivers/staging/rtl8723bs/core/rtw_ap.c psta->expire_to = pstapriv->expire_to; psta 277 drivers/staging/rtl8723bs/core/rtw_ap.c psta->keep_alive_trycnt = 0; psta 278 drivers/staging/rtl8723bs/core/rtw_ap.c psta->under_exist_checking = 0; psta 280 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->expire_to > 0) psta 281 drivers/staging/rtl8723bs/core/rtw_ap.c psta->expire_to--; psta 284 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->expire_to == 0) { psta 288 drivers/staging/rtl8723bs/core/rtw_ap.c psta->expire_to = pstapriv->expire_to; psta 292 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->state & WIFI_SLEEP_STATE) { psta 293 drivers/staging/rtl8723bs/core/rtw_ap.c if (!(psta->state & WIFI_STA_ALIVE_CHK_STATE)) { psta 295 drivers/staging/rtl8723bs/core/rtw_ap.c psta->expire_to = pstapriv->expire_to; psta 296 drivers/staging/rtl8723bs/core/rtw_ap.c psta->state |= WIFI_STA_ALIVE_CHK_STATE; psta 301 drivers/staging/rtl8723bs/core/rtw_ap.c pstapriv->tim_bitmap |= BIT(psta->aid); psta 311 drivers/staging/rtl8723bs/core/rtw_ap.c stainfo_offset = rtw_stainfo_offset(pstapriv, psta); psta 317 drivers/staging/rtl8723bs/core/rtw_ap.c list_del_init(&psta->asoc_list); psta 321 drivers/staging/rtl8723bs/core/rtw_ap.c MAC_ARG(psta->hwaddr), psta 322 drivers/staging/rtl8723bs/core/rtw_ap.c psta->state psta 324 drivers/staging/rtl8723bs/core/rtw_ap.c updated = ap_free_sta(padapter, psta, false, WLAN_REASON_DEAUTH_LEAVING); psta 327 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->sleepq_len > (NR_XMITFRAME / pstapriv->asoc_list_cnt) psta 335 drivers/staging/rtl8723bs/core/rtw_ap.c MAC_ARG(psta->hwaddr), psta 336 drivers/staging/rtl8723bs/core/rtw_ap.c psta->sleepq_len, psta 340 drivers/staging/rtl8723bs/core/rtw_ap.c wakeup_sta_to_xmit(padapter, psta); psta 361 drivers/staging/rtl8723bs/core/rtw_ap.c psta = rtw_get_stainfo_by_offset(pstapriv, chk_alive_list[i]); psta 362 drivers/staging/rtl8723bs/core/rtw_ap.c if (!(psta->state & _FW_LINKED)) psta 365 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->state & WIFI_SLEEP_STATE) psta 366 drivers/staging/rtl8723bs/core/rtw_ap.c ret = issue_nulldata(padapter, psta->hwaddr, 0, 1, 50); psta 368 drivers/staging/rtl8723bs/core/rtw_ap.c ret = issue_nulldata(padapter, psta->hwaddr, 0, 3, 50); psta 370 drivers/staging/rtl8723bs/core/rtw_ap.c psta->keep_alive_trycnt++; psta 374 drivers/staging/rtl8723bs/core/rtw_ap.c MAC_ARG(psta->hwaddr) psta 376 drivers/staging/rtl8723bs/core/rtw_ap.c psta->expire_to = pstapriv->expire_to; psta 377 drivers/staging/rtl8723bs/core/rtw_ap.c psta->keep_alive_trycnt = 0; psta 379 drivers/staging/rtl8723bs/core/rtw_ap.c } else if (psta->keep_alive_trycnt <= 3) { psta 382 drivers/staging/rtl8723bs/core/rtw_ap.c psta->keep_alive_trycnt); psta 383 drivers/staging/rtl8723bs/core/rtw_ap.c psta->expire_to = 1; psta 387 drivers/staging/rtl8723bs/core/rtw_ap.c psta->keep_alive_trycnt = 0; psta 390 drivers/staging/rtl8723bs/core/rtw_ap.c MAC_ARG(psta->hwaddr), psta 391 drivers/staging/rtl8723bs/core/rtw_ap.c psta->state); psta 393 drivers/staging/rtl8723bs/core/rtw_ap.c if (list_empty(&psta->asoc_list) == false) { psta 394 drivers/staging/rtl8723bs/core/rtw_ap.c list_del_init(&psta->asoc_list); psta 396 drivers/staging/rtl8723bs/core/rtw_ap.c updated = ap_free_sta(padapter, psta, false, WLAN_REASON_DEAUTH_LEAVING); psta 408 drivers/staging/rtl8723bs/core/rtw_ap.c void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) psta 416 drivers/staging/rtl8723bs/core/rtw_ap.c if (!psta) psta 419 drivers/staging/rtl8723bs/core/rtw_ap.c if (!(psta->state & _FW_LINKED)) psta 422 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_update_sta_rate_mask(padapter, psta); psta 423 drivers/staging/rtl8723bs/core/rtw_ap.c tx_ra_bitmap = psta->ra_mask; psta 425 drivers/staging/rtl8723bs/core/rtw_ap.c shortGIrate = query_ra_short_GI(psta); psta 444 drivers/staging/rtl8723bs/core/rtw_ap.c psta->wireless_mode = sta_band; psta 445 drivers/staging/rtl8723bs/core/rtw_ap.c psta->raid = networktype_to_raid_ex(padapter, psta); psta 447 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->aid < NUM_STA) { psta 450 drivers/staging/rtl8723bs/core/rtw_ap.c arg[0] = psta->mac_id; psta 451 drivers/staging/rtl8723bs/core/rtw_ap.c arg[1] = psta->raid; psta 453 drivers/staging/rtl8723bs/core/rtw_ap.c arg[3] = psta->init_rate; psta 456 drivers/staging/rtl8723bs/core/rtw_ap.c __func__, psta->mac_id, psta->raid, shortGIrate, tx_ra_bitmap); psta 460 drivers/staging/rtl8723bs/core/rtw_ap.c DBG_871X("station aid %d exceed the max number\n", psta->aid); psta 474 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_info *psta = rtw_get_bcmc_stainfo(padapter); psta 476 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta) { psta 477 drivers/staging/rtl8723bs/core/rtw_ap.c psta->aid = 0;/* default set to 0 */ psta 479 drivers/staging/rtl8723bs/core/rtw_ap.c psta->mac_id = psta->aid + 1;/* mac_id = 1 for bc/mc stainfo */ psta 481 drivers/staging/rtl8723bs/core/rtw_ap.c pmlmeinfo->FW_sta_info[psta->mac_id].psta = psta; psta 483 drivers/staging/rtl8723bs/core/rtw_ap.c psta->qos_option = 0; psta 484 drivers/staging/rtl8723bs/core/rtw_ap.c psta->htpriv.ht_option = false; psta 486 drivers/staging/rtl8723bs/core/rtw_ap.c psta->ieee8021x_blocked = 0; psta 488 drivers/staging/rtl8723bs/core/rtw_ap.c memset((void *)&psta->sta_stats, 0, sizeof(struct stainfo_stats)); psta 508 drivers/staging/rtl8723bs/core/rtw_ap.c update_sta_basic_rate(psta, network_type); psta 509 drivers/staging/rtl8723bs/core/rtw_ap.c psta->wireless_mode = network_type; psta 511 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_update_sta_rate_mask(padapter, psta); psta 512 drivers/staging/rtl8723bs/core/rtw_ap.c tx_ra_bitmap = psta->ra_mask; psta 514 drivers/staging/rtl8723bs/core/rtw_ap.c psta->raid = networktype_to_raid_ex(padapter, psta); psta 517 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, true); psta 523 drivers/staging/rtl8723bs/core/rtw_ap.c arg[0] = psta->mac_id; psta 524 drivers/staging/rtl8723bs/core/rtw_ap.c arg[1] = psta->raid; psta 526 drivers/staging/rtl8723bs/core/rtw_ap.c arg[3] = psta->init_rate; psta 529 drivers/staging/rtl8723bs/core/rtw_ap.c __func__, psta->mac_id, psta->raid, tx_ra_bitmap); psta 534 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_sta_media_status_rpt(padapter, psta, 1); psta 536 drivers/staging/rtl8723bs/core/rtw_ap.c spin_lock_bh(&psta->lock); psta 537 drivers/staging/rtl8723bs/core/rtw_ap.c psta->state = _FW_LINKED; psta 538 drivers/staging/rtl8723bs/core/rtw_ap.c spin_unlock_bh(&psta->lock); psta 552 drivers/staging/rtl8723bs/core/rtw_ap.c void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta) psta 558 drivers/staging/rtl8723bs/core/rtw_ap.c struct ht_priv *phtpriv_sta = &psta->htpriv; psta 570 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, true); psta 573 drivers/staging/rtl8723bs/core/rtw_ap.c psta->ieee8021x_blocked = true; psta 575 drivers/staging/rtl8723bs/core/rtw_ap.c psta->ieee8021x_blocked = false; psta 580 drivers/staging/rtl8723bs/core/rtw_ap.c VCS_update(padapter, psta); psta 595 drivers/staging/rtl8723bs/core/rtw_ap.c psta->bw_mode = CHANNEL_WIDTH_40; psta 597 drivers/staging/rtl8723bs/core/rtw_ap.c psta->bw_mode = CHANNEL_WIDTH_20; psta 599 drivers/staging/rtl8723bs/core/rtw_ap.c if (pmlmeext->cur_bwmode < psta->bw_mode) psta 600 drivers/staging/rtl8723bs/core/rtw_ap.c psta->bw_mode = pmlmeext->cur_bwmode; psta 614 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->bw_mode == CHANNEL_WIDTH_40) /* according to psta->bw_mode */ psta 620 drivers/staging/rtl8723bs/core/rtw_ap.c psta->qos_option = true; psta 626 drivers/staging/rtl8723bs/core/rtw_ap.c DBG_871X("Enable HT Tx LDPC for STA(%d)\n", psta->aid); psta 633 drivers/staging/rtl8723bs/core/rtw_ap.c DBG_871X("Enable HT Tx STBC for STA(%d)\n", psta->aid); psta 640 drivers/staging/rtl8723bs/core/rtw_ap.c psta->bw_mode = CHANNEL_WIDTH_20; psta 649 drivers/staging/rtl8723bs/core/rtw_ap.c send_delba(padapter, 0, psta->hwaddr);/* recipient */ psta 652 drivers/staging/rtl8723bs/core/rtw_ap.c send_delba(padapter, 1, psta->hwaddr);/* originator */ psta 656 drivers/staging/rtl8723bs/core/rtw_ap.c update_ldpc_stbc_cap(psta); psta 660 drivers/staging/rtl8723bs/core/rtw_ap.c memset((void *)&psta->sta_stats, 0, sizeof(struct stainfo_stats)); psta 665 drivers/staging/rtl8723bs/core/rtw_ap.c spin_lock_bh(&psta->lock); psta 666 drivers/staging/rtl8723bs/core/rtw_ap.c psta->state |= _FW_LINKED; psta 667 drivers/staging/rtl8723bs/core/rtw_ap.c spin_unlock_bh(&psta->lock); psta 670 drivers/staging/rtl8723bs/core/rtw_ap.c static void update_ap_info(struct adapter *padapter, struct sta_info *psta) psta 678 drivers/staging/rtl8723bs/core/rtw_ap.c psta->wireless_mode = pmlmeext->cur_wireless_mode; psta 680 drivers/staging/rtl8723bs/core/rtw_ap.c psta->bssratelen = rtw_get_rateset_len(pnetwork->SupportedRates); psta 681 drivers/staging/rtl8723bs/core/rtw_ap.c memcpy(psta->bssrateset, pnetwork->SupportedRates, psta->bssratelen); psta 696 drivers/staging/rtl8723bs/core/rtw_ap.c psta->qos_option = true; psta 704 drivers/staging/rtl8723bs/core/rtw_ap.c psta->bw_mode = pmlmeext->cur_bwmode; psta 710 drivers/staging/rtl8723bs/core/rtw_ap.c memcpy(&psta->htpriv, &pmlmepriv->htpriv, sizeof(struct ht_priv)); psta 947 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_info *psta = NULL; psta 1295 drivers/staging/rtl8723bs/core/rtw_ap.c psta = rtw_get_stainfo(&padapter->stapriv, pbss_network->MacAddress); psta 1296 drivers/staging/rtl8723bs/core/rtw_ap.c if (!psta) { psta 1297 drivers/staging/rtl8723bs/core/rtw_ap.c psta = rtw_alloc_stainfo(&padapter->stapriv, pbss_network->MacAddress); psta 1298 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta == NULL) psta 1303 drivers/staging/rtl8723bs/core/rtw_ap.c update_ap_info(padapter, psta); psta 1305 drivers/staging/rtl8723bs/core/rtw_ap.c psta->state |= WIFI_AP_STATE; /* Aries, add, fix bug of flush_cam_entry at STOP AP mode , 0724 */ psta 1441 drivers/staging/rtl8723bs/core/rtw_ap.c u8 rtw_ap_set_pairwise_key(struct adapter *padapter, struct sta_info *psta) psta 1463 drivers/staging/rtl8723bs/core/rtw_ap.c psetstakey_para->algorithm = (u8)psta->dot118021XPrivacy; psta 1465 drivers/staging/rtl8723bs/core/rtw_ap.c memcpy(psetstakey_para->addr, psta->hwaddr, ETH_ALEN); psta 1467 drivers/staging/rtl8723bs/core/rtw_ap.c memcpy(psetstakey_para->key, &psta->dot118021x_UncstKey, 16); psta 1915 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_info *psta = NULL; psta 1925 drivers/staging/rtl8723bs/core/rtw_ap.c psta = LIST_CONTAINOR(plist, struct sta_info, asoc_list); psta 1929 drivers/staging/rtl8723bs/core/rtw_ap.c VCS_update(padapter, psta); psta 1937 drivers/staging/rtl8723bs/core/rtw_ap.c void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta) psta 1943 drivers/staging/rtl8723bs/core/rtw_ap.c if (!(psta->flags & WLAN_STA_SHORT_PREAMBLE)) { psta 1944 drivers/staging/rtl8723bs/core/rtw_ap.c if (!psta->no_short_preamble_set) { psta 1945 drivers/staging/rtl8723bs/core/rtw_ap.c psta->no_short_preamble_set = 1; psta 1956 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->no_short_preamble_set) { psta 1957 drivers/staging/rtl8723bs/core/rtw_ap.c psta->no_short_preamble_set = 0; psta 1969 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->flags & WLAN_STA_NONERP) { psta 1970 drivers/staging/rtl8723bs/core/rtw_ap.c if (!psta->nonerp_set) { psta 1971 drivers/staging/rtl8723bs/core/rtw_ap.c psta->nonerp_set = 1; psta 1981 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->nonerp_set) { psta 1982 drivers/staging/rtl8723bs/core/rtw_ap.c psta->nonerp_set = 0; psta 1993 drivers/staging/rtl8723bs/core/rtw_ap.c if (!(psta->capability & WLAN_CAPABILITY_SHORT_SLOT)) { psta 1994 drivers/staging/rtl8723bs/core/rtw_ap.c if (!psta->no_short_slot_time_set) { psta 1995 drivers/staging/rtl8723bs/core/rtw_ap.c psta->no_short_slot_time_set = 1; psta 2006 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->no_short_slot_time_set) { psta 2007 drivers/staging/rtl8723bs/core/rtw_ap.c psta->no_short_slot_time_set = 0; psta 2019 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->flags & WLAN_STA_HT) { psta 2020 drivers/staging/rtl8723bs/core/rtw_ap.c u16 ht_capab = le16_to_cpu(psta->htpriv.ht_cap.cap_info); psta 2023 drivers/staging/rtl8723bs/core/rtw_ap.c "Info: 0x%04x\n", MAC_ARG(psta->hwaddr), ht_capab); psta 2025 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->no_ht_set) { psta 2026 drivers/staging/rtl8723bs/core/rtw_ap.c psta->no_ht_set = 0; psta 2031 drivers/staging/rtl8723bs/core/rtw_ap.c if (!psta->no_ht_gf_set) { psta 2032 drivers/staging/rtl8723bs/core/rtw_ap.c psta->no_ht_gf_set = 1; psta 2037 drivers/staging/rtl8723bs/core/rtw_ap.c __func__, MAC_ARG(psta->hwaddr), psta 2042 drivers/staging/rtl8723bs/core/rtw_ap.c if (!psta->ht_20mhz_set) { psta 2043 drivers/staging/rtl8723bs/core/rtw_ap.c psta->ht_20mhz_set = 1; psta 2048 drivers/staging/rtl8723bs/core/rtw_ap.c __func__, MAC_ARG(psta->hwaddr), psta 2053 drivers/staging/rtl8723bs/core/rtw_ap.c if (!psta->no_ht_set) { psta 2054 drivers/staging/rtl8723bs/core/rtw_ap.c psta->no_ht_set = 1; psta 2060 drivers/staging/rtl8723bs/core/rtw_ap.c __func__, MAC_ARG(psta->hwaddr), psta 2076 drivers/staging/rtl8723bs/core/rtw_ap.c u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta) psta 2082 drivers/staging/rtl8723bs/core/rtw_ap.c if (!psta) psta 2085 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->no_short_preamble_set) { psta 2086 drivers/staging/rtl8723bs/core/rtw_ap.c psta->no_short_preamble_set = 0; psta 2095 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->nonerp_set) { psta 2096 drivers/staging/rtl8723bs/core/rtw_ap.c psta->nonerp_set = 0; psta 2104 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->no_short_slot_time_set) { psta 2105 drivers/staging/rtl8723bs/core/rtw_ap.c psta->no_short_slot_time_set = 0; psta 2114 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->no_ht_gf_set) { psta 2115 drivers/staging/rtl8723bs/core/rtw_ap.c psta->no_ht_gf_set = 0; psta 2119 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->no_ht_set) { psta 2120 drivers/staging/rtl8723bs/core/rtw_ap.c psta->no_ht_set = 0; psta 2124 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->ht_20mhz_set) { psta 2125 drivers/staging/rtl8723bs/core/rtw_ap.c psta->ht_20mhz_set = 0; psta 2144 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_info *psta, psta 2151 drivers/staging/rtl8723bs/core/rtw_ap.c if (!psta) psta 2156 drivers/staging/rtl8723bs/core/rtw_ap.c send_delba(padapter, 0, psta->hwaddr);/* recipient */ psta 2159 drivers/staging/rtl8723bs/core/rtw_ap.c send_delba(padapter, 1, psta->hwaddr);/* // originator */ psta 2161 drivers/staging/rtl8723bs/core/rtw_ap.c issue_deauth(padapter, psta->hwaddr, reason); psta 2164 drivers/staging/rtl8723bs/core/rtw_ap.c psta->htpriv.agg_enable_bitmap = 0x0;/* reset */ psta 2165 drivers/staging/rtl8723bs/core/rtw_ap.c psta->htpriv.candidate_tid_bitmap = 0x0;/* reset */ psta 2170 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_clearstakey_cmd(padapter, psta, true); psta 2172 drivers/staging/rtl8723bs/core/rtw_ap.c spin_lock_bh(&psta->lock); psta 2173 drivers/staging/rtl8723bs/core/rtw_ap.c psta->state &= ~_FW_LINKED; psta 2174 drivers/staging/rtl8723bs/core/rtw_ap.c spin_unlock_bh(&psta->lock); psta 2176 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_cfg80211_indicate_sta_disassoc(padapter, psta->hwaddr, reason); psta 2178 drivers/staging/rtl8723bs/core/rtw_ap.c report_del_sta_event(padapter, psta->hwaddr, reason); psta 2180 drivers/staging/rtl8723bs/core/rtw_ap.c beacon_updated = bss_cap_update_on_sta_leave(padapter, psta); psta 2182 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_free_stainfo(padapter, psta); psta 2190 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_info *psta = NULL; psta 2207 drivers/staging/rtl8723bs/core/rtw_ap.c psta = LIST_CONTAINOR(plist, struct sta_info, asoc_list); psta 2211 drivers/staging/rtl8723bs/core/rtw_ap.c list_del_init(&psta->asoc_list); psta 2215 drivers/staging/rtl8723bs/core/rtw_ap.c ap_free_sta(padapter, psta, true, WLAN_REASON_DEAUTH_LEAVING); psta 2226 drivers/staging/rtl8723bs/core/rtw_ap.c void sta_info_update(struct adapter *padapter, struct sta_info *psta) psta 2228 drivers/staging/rtl8723bs/core/rtw_ap.c int flags = psta->flags; psta 2233 drivers/staging/rtl8723bs/core/rtw_ap.c psta->qos_option = 1; psta 2235 drivers/staging/rtl8723bs/core/rtw_ap.c psta->qos_option = 0; psta 2238 drivers/staging/rtl8723bs/core/rtw_ap.c psta->qos_option = 0; psta 2242 drivers/staging/rtl8723bs/core/rtw_ap.c psta->htpriv.ht_option = true; psta 2243 drivers/staging/rtl8723bs/core/rtw_ap.c psta->qos_option = 1; psta 2245 drivers/staging/rtl8723bs/core/rtw_ap.c psta->htpriv.ht_option = false; psta 2249 drivers/staging/rtl8723bs/core/rtw_ap.c psta->htpriv.ht_option = false; psta 2251 drivers/staging/rtl8723bs/core/rtw_ap.c update_sta_info_apmode(padapter, psta); psta 2255 drivers/staging/rtl8723bs/core/rtw_ap.c void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta) psta 2260 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta->state & _FW_LINKED) { psta 2261 drivers/staging/rtl8723bs/core/rtw_ap.c pmlmeinfo->FW_sta_info[psta->mac_id].psta = psta; psta 2264 drivers/staging/rtl8723bs/core/rtw_ap.c add_RATid(padapter, psta, 0);/* DM_RATR_STA_INIT */ psta 2273 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_info *psta; psta 2311 drivers/staging/rtl8723bs/core/rtw_ap.c psta = LIST_CONTAINOR(plist, struct sta_info, asoc_list); psta 2314 drivers/staging/rtl8723bs/core/rtw_ap.c stainfo_offset = rtw_stainfo_offset(pstapriv, psta); psta 2322 drivers/staging/rtl8723bs/core/rtw_ap.c psta = rtw_get_stainfo_by_offset(pstapriv, chk_alive_list[i]); psta 2324 drivers/staging/rtl8723bs/core/rtw_ap.c if (psta == NULL) { psta 2326 drivers/staging/rtl8723bs/core/rtw_ap.c } else if (psta->state & _FW_LINKED) { psta 2327 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_sta_media_status_rpt(padapter, psta, 1); psta 2328 drivers/staging/rtl8723bs/core/rtw_ap.c Update_RA_Entry(padapter, psta); psta 2333 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_setstakey_cmd(padapter, psta, true, false); psta 2392 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_info *psta = NULL; psta 2436 drivers/staging/rtl8723bs/core/rtw_ap.c psta = rtw_get_bcmc_stainfo(padapter); psta 2437 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_free_stainfo(padapter, psta); psta 47 drivers/staging/rtl8723bs/core/rtw_btcoex.c struct sta_info *psta; psta 50 drivers/staging/rtl8723bs/core/rtw_btcoex.c psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(&padapter->mlmepriv)); psta 54 drivers/staging/rtl8723bs/core/rtw_btcoex.c if (psta) psta 55 drivers/staging/rtl8723bs/core/rtw_btcoex.c send_delba(padapter, 0, psta->hwaddr); psta 1619 drivers/staging/rtl8723bs/core/rtw_cmd.c static void rtw_dm_ra_mask_hdl(struct adapter *padapter, struct sta_info *psta) psta 1621 drivers/staging/rtl8723bs/core/rtw_cmd.c if (psta) { psta 1622 drivers/staging/rtl8723bs/core/rtw_cmd.c set_sta_rate(padapter, psta); psta 1626 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_dm_ra_mask_wk_cmd(struct adapter *padapter, u8 *psta) psta 1650 drivers/staging/rtl8723bs/core/rtw_cmd.c pdrvextra_cmd_parm->pbuf = psta; psta 2050 drivers/staging/rtl8723bs/core/rtw_cmd.c struct sta_info *psta = NULL; psta 2070 drivers/staging/rtl8723bs/core/rtw_cmd.c psta = rtw_get_stainfo(&padapter->stapriv, pnetwork->MacAddress); psta 2071 drivers/staging/rtl8723bs/core/rtw_cmd.c if (!psta) { psta 2072 drivers/staging/rtl8723bs/core/rtw_cmd.c psta = rtw_alloc_stainfo(&padapter->stapriv, pnetwork->MacAddress); psta 2073 drivers/staging/rtl8723bs/core/rtw_cmd.c if (psta == NULL) { psta 2128 drivers/staging/rtl8723bs/core/rtw_cmd.c struct sta_info *psta = rtw_get_stainfo(pstapriv, psetstakey_rsp->addr); psta 2130 drivers/staging/rtl8723bs/core/rtw_cmd.c if (psta == NULL) { psta 2144 drivers/staging/rtl8723bs/core/rtw_cmd.c struct sta_info *psta = rtw_get_stainfo(pstapriv, passocsta_parm->addr); psta 2146 drivers/staging/rtl8723bs/core/rtw_cmd.c if (psta == NULL) { psta 2151 drivers/staging/rtl8723bs/core/rtw_cmd.c psta->aid = psta->mac_id = passocsta_rsp->cam_id; psta 643 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c struct sta_info *psta = NULL; psta 651 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c psta = rtw_get_stainfo(&adapter->stapriv, get_bssid(pmlmepriv)); psta 652 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c if (psta == NULL) psta 655 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c short_GI = query_ra_short_GI(psta); psta 657 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c if (IsSupportedHT(psta->wireless_mode)) { psta 662 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c ((psta->bw_mode == CHANNEL_WIDTH_40)?1:0), psta 664 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c psta->htpriv.ht_cap.supp_mcs_set psta 1034 drivers/staging/rtl8723bs/core/rtw_mlme.c struct sta_info *psta; psta 1036 drivers/staging/rtl8723bs/core/rtw_mlme.c psta = rtw_get_stainfo(&adapter->stapriv, tgt_network->network.MacAddress); psta 1038 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_free_stainfo(adapter, psta); psta 1045 drivers/staging/rtl8723bs/core/rtw_mlme.c struct sta_info *psta; psta 1049 drivers/staging/rtl8723bs/core/rtw_mlme.c psta = rtw_get_bcmc_stainfo(adapter); psta 1050 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_free_stainfo(adapter, psta); psta 1166 drivers/staging/rtl8723bs/core/rtw_mlme.c struct sta_info *bmc_sta, *psta = NULL; psta 1171 drivers/staging/rtl8723bs/core/rtw_mlme.c psta = rtw_get_stainfo(pstapriv, pnetwork->network.MacAddress); psta 1172 drivers/staging/rtl8723bs/core/rtw_mlme.c if (psta == NULL) { psta 1173 drivers/staging/rtl8723bs/core/rtw_mlme.c psta = rtw_alloc_stainfo(pstapriv, pnetwork->network.MacAddress); psta 1176 drivers/staging/rtl8723bs/core/rtw_mlme.c if (psta) { /* update ptarget_sta */ psta 1180 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->aid = pnetwork->join_res; psta 1182 drivers/staging/rtl8723bs/core/rtw_mlme.c update_sta_info(padapter, psta); psta 1185 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->bssratelen = rtw_get_rateset_len(pnetwork->network.SupportedRates); psta 1186 drivers/staging/rtl8723bs/core/rtw_mlme.c memcpy(psta->bssrateset, pnetwork->network.SupportedRates, psta->bssratelen); psta 1187 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_update_sta_rate_mask(padapter, psta); psta 1189 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->wireless_mode = pmlmeext->cur_wireless_mode; psta 1190 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->raid = networktype_to_raid_ex(padapter, psta); psta 1194 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, true); psta 1202 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->ieee8021x_blocked = true; psta 1203 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; psta 1205 drivers/staging/rtl8723bs/core/rtw_mlme.c memset((u8 *)&psta->dot118021x_UncstKey, 0, sizeof(union Keytype)); psta 1207 drivers/staging/rtl8723bs/core/rtw_mlme.c memset((u8 *)&psta->dot11tkiprxmickey, 0, sizeof(union Keytype)); psta 1208 drivers/staging/rtl8723bs/core/rtw_mlme.c memset((u8 *)&psta->dot11tkiptxmickey, 0, sizeof(union Keytype)); psta 1210 drivers/staging/rtl8723bs/core/rtw_mlme.c memset((u8 *)&psta->dot11txpn, 0, sizeof(union pn48)); psta 1211 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->dot11txpn.val = psta->dot11txpn.val + 1; psta 1212 drivers/staging/rtl8723bs/core/rtw_mlme.c memset((u8 *)&psta->dot11wtxpn, 0, sizeof(union pn48)); psta 1213 drivers/staging/rtl8723bs/core/rtw_mlme.c memset((u8 *)&psta->dot11rxpn, 0, sizeof(union pn48)); psta 1220 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->ieee8021x_blocked = true; psta 1230 drivers/staging/rtl8723bs/core/rtw_mlme.c preorder_ctrl = &psta->recvreorder_ctrl[i]; psta 1259 drivers/staging/rtl8723bs/core/rtw_mlme.c return psta; psta 1505 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_sta_media_status_rpt(struct adapter *adapter, struct sta_info *psta, u32 mstatus) psta 1509 drivers/staging/rtl8723bs/core/rtw_mlme.c if (psta == NULL) psta 1512 drivers/staging/rtl8723bs/core/rtw_mlme.c media_status_rpt = (u16)((psta->mac_id<<8)|mstatus); /* MACID|OPMODE:1 connect */ psta 1518 drivers/staging/rtl8723bs/core/rtw_mlme.c struct sta_info *psta; psta 1528 drivers/staging/rtl8723bs/core/rtw_mlme.c psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); psta 1529 drivers/staging/rtl8723bs/core/rtw_mlme.c if (psta) { psta 1533 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_sta_media_status_rpt(adapter, psta, 1); psta 1537 drivers/staging/rtl8723bs/core/rtw_mlme.c ap_sta_info_defer_update(adapter, psta); psta 1541 drivers/staging/rtl8723bs/core/rtw_mlme.c spin_lock_bh(&psta->lock); psta 1542 drivers/staging/rtl8723bs/core/rtw_mlme.c if (psta->passoc_req && psta->assoc_req_len > 0) { psta 1543 drivers/staging/rtl8723bs/core/rtw_mlme.c passoc_req = rtw_zmalloc(psta->assoc_req_len); psta 1545 drivers/staging/rtl8723bs/core/rtw_mlme.c assoc_req_len = psta->assoc_req_len; psta 1546 drivers/staging/rtl8723bs/core/rtw_mlme.c memcpy(passoc_req, psta->passoc_req, assoc_req_len); psta 1548 drivers/staging/rtl8723bs/core/rtw_mlme.c kfree(psta->passoc_req); psta 1549 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->passoc_req = NULL; psta 1550 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->assoc_req_len = 0; psta 1553 drivers/staging/rtl8723bs/core/rtw_mlme.c spin_unlock_bh(&psta->lock); psta 1566 drivers/staging/rtl8723bs/core/rtw_mlme.c psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); psta 1567 drivers/staging/rtl8723bs/core/rtw_mlme.c if (psta != NULL) { psta 1575 drivers/staging/rtl8723bs/core/rtw_mlme.c psta = rtw_alloc_stainfo(&adapter->stapriv, pstassoc->macaddr); psta 1576 drivers/staging/rtl8723bs/core/rtw_mlme.c if (psta == NULL) { psta 1582 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->qos_option = 0; psta 1583 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->mac_id = (uint)pstassoc->cam_id; psta 1587 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_set_odm_var(adapter, HAL_ODM_STA_INFO, psta, true); psta 1589 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_sta_media_status_rpt(adapter, psta, 1); psta 1592 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->dot118021XPrivacy = adapter->securitypriv.dot11PrivacyAlgrthm; psta 1595 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->ieee8021x_blocked = false; psta 1616 drivers/staging/rtl8723bs/core/rtw_mlme.c mlmeext_sta_add_event_callback(adapter, psta); psta 1622 drivers/staging/rtl8723bs/core/rtw_mlme.c struct sta_info *psta; psta 1632 drivers/staging/rtl8723bs/core/rtw_mlme.c psta = rtw_get_stainfo(&adapter->stapriv, pstadel->macaddr); psta 1633 drivers/staging/rtl8723bs/core/rtw_mlme.c if (psta) psta 1634 drivers/staging/rtl8723bs/core/rtw_mlme.c mac_id = psta->mac_id; psta 1699 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_free_stainfo(adapter, psta); psta 2947 drivers/staging/rtl8723bs/core/rtw_mlme.c struct sta_info *psta = NULL; psta 2958 drivers/staging/rtl8723bs/core/rtw_mlme.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); psta 2959 drivers/staging/rtl8723bs/core/rtw_mlme.c if (pattrib->psta != psta) { psta 2960 drivers/staging/rtl8723bs/core/rtw_mlme.c DBG_871X("%s, pattrib->psta(%p) != psta(%p)\n", __func__, pattrib->psta, psta); psta 2964 drivers/staging/rtl8723bs/core/rtw_mlme.c if (psta == NULL) { psta 2969 drivers/staging/rtl8723bs/core/rtw_mlme.c if (!(psta->state & _FW_LINKED)) { psta 2970 drivers/staging/rtl8723bs/core/rtw_mlme.c DBG_871X("%s, psta->state(0x%x) != _FW_LINKED\n", __func__, psta->state); psta 2975 drivers/staging/rtl8723bs/core/rtw_mlme.c phtpriv = &psta->htpriv; psta 2983 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->htpriv.candidate_tid_bitmap |= BIT((u8)priority); psta 524 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(pframe)); psta 553 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta != NULL) { psta 555 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (precv_frame->u.hdr.attrib.seq_num == psta->RxMgmtFrameSeqNum) { psta 562 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->RxMgmtFrameSeqNum = precv_frame->u.hdr.attrib.seq_num; psta 624 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta; psta 649 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, get_sa(pframe)); psta 650 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta == NULL) { psta 653 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_alloc_stainfo(pstapriv, get_sa(pframe)); psta 654 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (!psta) { psta 661 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (list_empty(&psta->asoc_list)) { psta 662 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->expire_to = pstapriv->expire_to; psta 663 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c list_add_tail(&psta->asoc_list, &pstapriv->asoc_list); psta 670 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c peer_addr = psta->hwaddr; psta 671 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->pid = (u16)(((mac_addr[4]<<8) + mac_addr[5]) + ((peer_addr[4]<<8) + peer_addr[5])); psta 674 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->isrc = true; psta 679 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta->aid > 0) { psta 680 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X("old AID %d\n", psta->aid); psta 682 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c for (psta->aid = 1; psta->aid <= NUM_STA; psta->aid++) psta 683 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (pstapriv->sta_aid[psta->aid - 1] == NULL) psta 686 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta->aid > pstapriv->max_num_sta) { psta 687 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->aid = 0; psta 691 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pstapriv->sta_aid[psta->aid - 1] = psta; psta 692 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X("allocate new AID = (%d)\n", psta->aid); psta 695 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->qos_option = 1; psta 696 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->bw_mode = CHANNEL_WIDTH_20; psta 697 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->ieee8021x_blocked = false; psta 698 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.ht_option = true; psta 699 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.ampdu_enable = false; psta 700 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.sgi_20m = false; psta 701 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.sgi_40m = false; psta 702 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.ch_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE; psta 703 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.agg_enable_bitmap = 0x0;/* reset */ psta 704 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.candidate_tid_bitmap = 0x0;/* reset */ psta 706 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, true); psta 708 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memset((void *)&psta->sta_stats, 0, sizeof(struct stainfo_stats)); psta 710 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c spin_lock_bh(&psta->lock); psta 711 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->state |= _FW_LINKED; psta 712 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c spin_unlock_bh(&psta->lock); psta 714 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_add_sta_event(padapter, psta->hwaddr, psta->aid); psta 773 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta; psta 832 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); psta 833 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta != NULL) { psta 842 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if ((sta_rx_pkts(psta) & 0xf) == 0) psta 844 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_beacon_info(padapter, pframe, len, psta); psta 849 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); psta 850 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta != NULL) { psta 853 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if ((sta_rx_pkts(psta) & 0xf) == 0) { psta 855 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_beacon_info(padapter, pframe, len, psta); psta 1756 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta; psta 1766 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); psta 1767 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta) { psta 1771 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (list_empty(&psta->asoc_list) == false) { psta 1772 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c list_del_init(&psta->asoc_list); psta 1774 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c updated = ap_free_sta(padapter, psta, false, reason); psta 1831 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta; psta 1841 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); psta 1842 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta) { psta 1846 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (list_empty(&psta->asoc_list) == false) { psta 1847 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c list_del_init(&psta->asoc_list); psta 1849 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c updated = ap_free_sta(padapter, psta, false, reason); psta 1877 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta = NULL; psta 1886 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); psta 1888 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (!psta) psta 1914 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta = NULL; psta 1935 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, addr); psta 1937 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (!psta) psta 1971 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.agg_enable_bitmap |= BIT(tid); psta 1972 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.candidate_tid_bitmap &= ~BIT(tid); psta 1974 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.agg_enable_bitmap &= ~BIT(tid); psta 1977 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta->state & WIFI_STA_ALIVE_CHK_STATE) { psta 1979 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.agg_enable_bitmap &= ~BIT(tid); psta 1980 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->expire_to = pstapriv->expire_to; psta 1981 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->state ^= WIFI_STA_ALIVE_CHK_STATE; psta 1989 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.agg_enable_bitmap &= psta 1991 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.candidate_tid_bitmap &= psta 1999 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c preorder_ctrl = &psta->recvreorder_ctrl[tid]; psta 2777 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta; psta 2783 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, da); psta 2784 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta && psta->isrc && psta->pid > 0) { psta 2791 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->pid, MAC_ARG(psta->hwaddr), cu_ch); psta 2796 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(&RC_INFO[10], (u8 *)&psta->pid, 2); psta 2959 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void issue_auth(struct adapter *padapter, struct sta_info *psta, unsigned short status) psta 2998 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta) { /* for AP mode */ psta 2999 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pwlanhdr->addr1, psta->hwaddr, ETH_ALEN); psta 3004 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c val16 = (u16)psta->authalg; psta 3017 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c val16 = (u16)psta->auth_seq; psta 3027 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if ((psta->auth_seq == 2) && (psta->state & WIFI_FW_AUTH_STATE) && (use_shared_key == 1)) psta 3028 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe = rtw_set_ie(pframe, _CHLGETXT_IE_, 128, psta->chg_txt, &(pattrib->pktlen)); psta 3496 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta; psta 3503 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(&padapter->stapriv, da); psta 3504 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta) { psta 3506 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_macid_sleep(padapter, psta->mac_id); psta 3508 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_macid_wakeup(padapter, psta->mac_id); psta 3893 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta; psta 3959 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, raddr); psta 3960 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta != NULL) { psta 3961 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c start_seq = (psta->sta_xmitpriv.txseq_tid[status & 0x07]&0xfff) + 1; psta 3965 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->BA_starting_seqctrl[status & 0x07] = start_seq; psta 4182 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta = NULL; psta 4192 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, addr); psta 4193 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta == NULL) psta 4200 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta->recvreorder_ctrl[tid].enable) { psta 4203 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->recvreorder_ctrl[tid].enable = false; psta 4204 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->recvreorder_ctrl[tid].indicate_seq = 0xffff; psta 4207 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->recvreorder_ctrl[tid].indicate_seq); psta 4214 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta->htpriv.agg_enable_bitmap & BIT(tid)) { psta 4217 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.agg_enable_bitmap &= ~BIT(tid); psta 4218 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.candidate_tid_bitmap &= ~BIT(tid); psta 5214 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta; psta 5252 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(&padapter->stapriv, MacAddr); psta 5253 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta) psta 5254 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c mac_id = (int)psta->mac_id; psta 5320 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void update_sta_info(struct adapter *padapter, struct sta_info *psta) psta 5327 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c VCS_update(padapter, psta); psta 5331 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.ht_option = true; psta 5333 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.ampdu_enable = pmlmepriv->htpriv.ampdu_enable; psta 5335 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.rx_ampdu_min_spacing = (pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para&IEEE80211_HT_CAP_AMPDU_DENSITY)>>2; psta 5338 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.sgi_20m = true; psta 5341 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.sgi_40m = true; psta 5343 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->qos_option = true; psta 5345 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.ldpc_cap = pmlmepriv->htpriv.ldpc_cap; psta 5346 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.stbc_cap = pmlmepriv->htpriv.stbc_cap; psta 5347 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.beamform_cap = pmlmepriv->htpriv.beamform_cap; psta 5349 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(&psta->htpriv.ht_cap, &pmlmeinfo->HT_caps, sizeof(struct rtw_ieee80211_ht_cap)); psta 5351 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.ht_option = false; psta 5353 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.ampdu_enable = false; psta 5355 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.sgi_20m = false; psta 5356 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.sgi_40m = false; psta 5357 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->qos_option = false; psta 5361 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.ch_offset = pmlmeext->cur_ch_offset; psta 5363 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.agg_enable_bitmap = 0x0;/* reset */ psta 5364 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.candidate_tid_bitmap = 0x0;/* reset */ psta 5366 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->bw_mode = pmlmeext->cur_bwmode; psta 5370 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->qos_option = true; psta 5372 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_ldpc_stbc_cap(psta); psta 5374 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c spin_lock_bh(&psta->lock); psta 5375 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->state = _FW_LINKED; psta 5376 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c spin_unlock_bh(&psta->lock); psta 5397 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta; psta 5398 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(&padapter->stapriv, get_my_bssid(pnetwork)); psta 5399 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta) psta 5400 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_macid_wakeup(padapter, psta->mac_id); psta 5434 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta; psta 5471 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, cur_network->MacAddress); psta 5472 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta) { /* only for infra. mode */ psta 5474 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeinfo->FW_sta_info[psta->mac_id].psta = psta; psta 5478 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->wireless_mode = pmlmeext->cur_wireless_mode; psta 5481 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c set_sta_rate(padapter, psta); psta 5483 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_sta_media_status_rpt(padapter, psta, 1); psta 5487 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_macid_wakeup(padapter, psta->mac_id); psta 5510 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void mlmeext_sta_add_event_callback(struct adapter *padapter, struct sta_info *psta) psta 5531 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeinfo->FW_sta_info[psta->mac_id].status = 0; psta 5546 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeinfo->FW_sta_info[psta->mac_id].psta = psta; psta 5548 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->bssratelen = rtw_get_rateset_len(pmlmeinfo->FW_sta_info[psta->mac_id].SupportedRates); psta 5549 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(psta->bssrateset, pmlmeinfo->FW_sta_info[psta->mac_id].SupportedRates, psta->bssratelen); psta 5552 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_sta_info(padapter, psta); psta 5554 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_update_sta_rate_mask(padapter, psta); psta 5557 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->wireless_mode = rtw_check_network_type(psta->bssrateset, psta->bssratelen, pmlmeext->cur_channel); psta 5558 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->raid = networktype_to_raid_ex(padapter, psta); psta 5561 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Update_RA_Entry(padapter, psta); psta 5595 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta = NULL; psta 5602 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = LIST_CONTAINOR(plist, struct sta_info, asoc_list); psta 5606 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c MAC_ARG(psta->hwaddr), psta->rssi_stat.UndecoratedSmoothedPWDB); psta 5626 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static u8 chk_ap_is_alive(struct adapter *padapter, struct sta_info *psta) psta 5635 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c , STA_RX_PKTS_DIFF_ARG(psta) psta 5636 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c , psta->sta_stats.rx_beacon_pkts - psta->sta_stats.last_rx_beacon_pkts psta 5637 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c , psta->sta_stats.rx_probersp_pkts - psta->sta_stats.last_rx_probersp_pkts psta 5651 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if ((sta_rx_data_pkts(psta) == sta_last_rx_data_pkts(psta)) psta 5652 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c && sta_rx_beacon_pkts(psta) == sta_last_rx_beacon_pkts(psta) psta 5653 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c && sta_rx_probersp_pkts(psta) == sta_last_rx_probersp_pkts(psta) psta 5660 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c sta_update_last_rx_pkts(psta); psta 5668 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta; psta 5692 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, pmlmeinfo->network.MacAddress); psta 5693 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (psta != NULL) { psta 5694 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (chk_ap_is_alive(padapter, psta) == false) psta 5746 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = pmlmeinfo->FW_sta_info[i].psta; psta 5748 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (NULL == psta) psta 5751 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (pmlmeinfo->FW_sta_info[i].rx_pkt == sta_rx_pkts(psta)) { psta 5758 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_del_sta_event(padapter, psta->hwaddr psta 5764 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeinfo->FW_sta_info[i].rx_pkt = (u32)sta_rx_pkts(psta); psta 5878 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta = from_timer(psta, t, addba_retry_timer); psta 5881 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (!psta) psta 5884 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c phtpriv = &psta->htpriv; psta 6476 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta; psta 6481 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(pstapriv, pparm->addr); psta 6482 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (!psta) { psta 6489 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c cam_id = rtw_camid_alloc(padapter, psta, 0); psta 6518 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, pparm->addr); psta 6520 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (!psta) psta 6530 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c _set_timer(&psta->addba_retry_timer, ADDBA_TO); psta 6532 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->htpriv.candidate_tid_bitmap &= ~BIT(pparm->tid); psta 550 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info *psta; psta 568 drivers/staging/rtl8723bs/core/rtw_recv.c psta = rtw_get_stainfo(pstapriv, psta_addr); psta 573 drivers/staging/rtl8723bs/core/rtw_recv.c if ((psta) && (psta->ieee8021x_blocked)) { psta 656 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info *psta = NULL; psta 658 drivers/staging/rtl8723bs/core/rtw_recv.c psta = rtw_get_stainfo(pstapriv, pattrib->src); psta 662 drivers/staging/rtl8723bs/core/rtw_recv.c if (psta) { psta 664 drivers/staging/rtl8723bs/core/rtw_recv.c if (!(psta->state & WIFI_SLEEP_STATE)) { psta 668 drivers/staging/rtl8723bs/core/rtw_recv.c stop_sta_xmit(padapter, psta); psta 673 drivers/staging/rtl8723bs/core/rtw_recv.c if (psta->state & WIFI_SLEEP_STATE) { psta 677 drivers/staging/rtl8723bs/core/rtw_recv.c wakeup_sta_to_xmit(padapter, psta); psta 691 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info *psta = NULL; psta 693 drivers/staging/rtl8723bs/core/rtw_recv.c psta = rtw_get_stainfo(pstapriv, pattrib->src); psta 695 drivers/staging/rtl8723bs/core/rtw_recv.c if (!psta) psta 698 drivers/staging/rtl8723bs/core/rtw_recv.c if (!psta->qos_option) psta 701 drivers/staging/rtl8723bs/core/rtw_recv.c if (!(psta->qos_info&0xf)) psta 704 drivers/staging/rtl8723bs/core/rtw_recv.c if (psta->state&WIFI_SLEEP_STATE) { psta 710 drivers/staging/rtl8723bs/core/rtw_recv.c wmmps_ac = psta->uapsd_bk&BIT(1); psta 714 drivers/staging/rtl8723bs/core/rtw_recv.c wmmps_ac = psta->uapsd_vi&BIT(1); psta 718 drivers/staging/rtl8723bs/core/rtw_recv.c wmmps_ac = psta->uapsd_vo&BIT(1); psta 723 drivers/staging/rtl8723bs/core/rtw_recv.c wmmps_ac = psta->uapsd_be&BIT(1); psta 728 drivers/staging/rtl8723bs/core/rtw_recv.c if (psta->sleepq_ac_len > 0) psta 730 drivers/staging/rtl8723bs/core/rtw_recv.c xmit_delivery_enabled_frames(padapter, psta); psta 733 drivers/staging/rtl8723bs/core/rtw_recv.c issue_qos_nulldata(padapter, psta->hwaddr, (u16)pattrib->priority, 0, 0); psta 742 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info *psta = NULL; psta 757 drivers/staging/rtl8723bs/core/rtw_recv.c psta = sta; psta 759 drivers/staging/rtl8723bs/core/rtw_recv.c psta = prframe->u.hdr.psta; psta 761 drivers/staging/rtl8723bs/core/rtw_recv.c if (psta) { psta 762 drivers/staging/rtl8723bs/core/rtw_recv.c pstats = &psta->sta_stats; psta 774 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info **psta psta 779 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info **psta psta 858 drivers/staging/rtl8723bs/core/rtw_recv.c *psta = rtw_get_bcmc_stainfo(adapter); psta 860 drivers/staging/rtl8723bs/core/rtw_recv.c *psta = rtw_get_stainfo(pstapriv, sta_addr); /* get ap_info */ psta 862 drivers/staging/rtl8723bs/core/rtw_recv.c if (!*psta) { psta 875 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info **psta); psta 879 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info **psta) psta 941 drivers/staging/rtl8723bs/core/rtw_recv.c *psta = rtw_get_bcmc_stainfo(adapter); psta 943 drivers/staging/rtl8723bs/core/rtw_recv.c *psta = rtw_get_stainfo(pstapriv, pattrib->bssid); /* get ap_info */ psta 945 drivers/staging/rtl8723bs/core/rtw_recv.c if (!*psta) { psta 959 drivers/staging/rtl8723bs/core/rtw_recv.c count_rx_stats(adapter, precv_frame, *psta); psta 976 drivers/staging/rtl8723bs/core/rtw_recv.c *psta = rtw_get_stainfo(pstapriv, pattrib->bssid); /* get sta_info */ psta 977 drivers/staging/rtl8723bs/core/rtw_recv.c if (!*psta) { psta 993 drivers/staging/rtl8723bs/core/rtw_recv.c *psta = rtw_get_stainfo(pstapriv, pattrib->bssid); /* get sta_info */ psta 994 drivers/staging/rtl8723bs/core/rtw_recv.c if (!*psta) { psta 1024 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info **psta); psta 1028 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info **psta) psta 1044 drivers/staging/rtl8723bs/core/rtw_recv.c *psta = rtw_get_stainfo(pstapriv, pattrib->src); psta 1045 drivers/staging/rtl8723bs/core/rtw_recv.c if (!*psta) { psta 1063 drivers/staging/rtl8723bs/core/rtw_recv.c count_rx_stats(adapter, precv_frame, *psta); psta 1089 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info *psta = NULL; psta 1101 drivers/staging/rtl8723bs/core/rtw_recv.c psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); psta 1102 drivers/staging/rtl8723bs/core/rtw_recv.c if (!psta) psta 1106 drivers/staging/rtl8723bs/core/rtw_recv.c psta->sta_stats.rx_ctrl_pkts++; psta 1114 drivers/staging/rtl8723bs/core/rtw_recv.c if (psta->aid != aid) psta 1120 drivers/staging/rtl8723bs/core/rtw_recv.c wmmps_ac = psta->uapsd_bk&BIT(0); psta 1124 drivers/staging/rtl8723bs/core/rtw_recv.c wmmps_ac = psta->uapsd_vi&BIT(0); psta 1128 drivers/staging/rtl8723bs/core/rtw_recv.c wmmps_ac = psta->uapsd_vo&BIT(0); psta 1133 drivers/staging/rtl8723bs/core/rtw_recv.c wmmps_ac = psta->uapsd_be&BIT(0); psta 1140 drivers/staging/rtl8723bs/core/rtw_recv.c if (psta->state & WIFI_STA_ALIVE_CHK_STATE) { psta 1142 drivers/staging/rtl8723bs/core/rtw_recv.c psta->expire_to = pstapriv->expire_to; psta 1143 drivers/staging/rtl8723bs/core/rtw_recv.c psta->state ^= WIFI_STA_ALIVE_CHK_STATE; psta 1146 drivers/staging/rtl8723bs/core/rtw_recv.c if ((psta->state&WIFI_SLEEP_STATE) && (pstapriv->sta_dz_bitmap&BIT(psta->aid))) { psta 1154 drivers/staging/rtl8723bs/core/rtw_recv.c xmitframe_phead = get_list_head(&psta->sleep_q); psta 1164 drivers/staging/rtl8723bs/core/rtw_recv.c psta->sleepq_len--; psta 1166 drivers/staging/rtl8723bs/core/rtw_recv.c if (psta->sleepq_len > 0) psta 1177 drivers/staging/rtl8723bs/core/rtw_recv.c if (psta->sleepq_len == 0) { psta 1178 drivers/staging/rtl8723bs/core/rtw_recv.c pstapriv->tim_bitmap &= ~BIT(psta->aid); psta 1195 drivers/staging/rtl8723bs/core/rtw_recv.c if (pstapriv->tim_bitmap&BIT(psta->aid)) { psta 1196 drivers/staging/rtl8723bs/core/rtw_recv.c if (psta->sleepq_len == 0) { psta 1200 drivers/staging/rtl8723bs/core/rtw_recv.c issue_nulldata_in_interrupt(padapter, psta->hwaddr); psta 1202 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_871X("error!psta->sleepq_len =%d\n", psta->sleepq_len); psta 1203 drivers/staging/rtl8723bs/core/rtw_recv.c psta->sleepq_len = 0; psta 1206 drivers/staging/rtl8723bs/core/rtw_recv.c pstapriv->tim_bitmap &= ~BIT(psta->aid); psta 1236 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(precv_frame->u.hdr.rx_data)); psta 1237 drivers/staging/rtl8723bs/core/rtw_recv.c if (psta) { psta 1238 drivers/staging/rtl8723bs/core/rtw_recv.c psta->sta_stats.rx_mgnt_pkts++; psta 1240 drivers/staging/rtl8723bs/core/rtw_recv.c psta->sta_stats.rx_beacon_pkts++; psta 1242 drivers/staging/rtl8723bs/core/rtw_recv.c psta->sta_stats.rx_probereq_pkts++; psta 1245 drivers/staging/rtl8723bs/core/rtw_recv.c psta->sta_stats.rx_probersp_pkts++; psta 1248 drivers/staging/rtl8723bs/core/rtw_recv.c psta->sta_stats.rx_probersp_bm_pkts++; psta 1250 drivers/staging/rtl8723bs/core/rtw_recv.c psta->sta_stats.rx_probersp_uo_pkts++; psta 1266 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info *psta = NULL; psta 1294 drivers/staging/rtl8723bs/core/rtw_recv.c ret = sta2sta_data_frame(adapter, precv_frame, &psta); psta 1300 drivers/staging/rtl8723bs/core/rtw_recv.c ret = ap2sta_data_frame(adapter, precv_frame, &psta); psta 1306 drivers/staging/rtl8723bs/core/rtw_recv.c ret = sta2ap_data_frame(adapter, precv_frame, &psta); psta 1332 drivers/staging/rtl8723bs/core/rtw_recv.c if (!psta) { psta 1343 drivers/staging/rtl8723bs/core/rtw_recv.c precv_frame->u.hdr.psta = psta; psta 1367 drivers/staging/rtl8723bs/core/rtw_recv.c precv_frame->u.hdr.preorder_ctrl = &psta->recvreorder_ctrl[pattrib->priority]; psta 1370 drivers/staging/rtl8723bs/core/rtw_recv.c if (recv_decache(precv_frame, bretry, &psta->sta_recvpriv.rxcache) == _FAIL) { psta 1384 drivers/staging/rtl8723bs/core/rtw_recv.c GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, IS_MCAST(pattrib->ra)); psta 1653 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info *psta = precvframe->u.hdr.psta; psta 1657 drivers/staging/rtl8723bs/core/rtw_recv.c if (psta && psta->isrc && psta->pid > 0) { psta 1663 drivers/staging/rtl8723bs/core/rtw_recv.c rx_pid, MAC_ARG(psta->hwaddr), psta->pid); psta 1665 drivers/staging/rtl8723bs/core/rtw_recv.c if (rx_pid == psta->pid) { psta 1796 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info *psta; psta 1813 drivers/staging/rtl8723bs/core/rtw_recv.c psta = rtw_get_stainfo(pstapriv, psta_addr); psta 1814 drivers/staging/rtl8723bs/core/rtw_recv.c if (!psta) { psta 1817 drivers/staging/rtl8723bs/core/rtw_recv.c psta = rtw_get_bcmc_stainfo(padapter); psta 1818 drivers/staging/rtl8723bs/core/rtw_recv.c pdefrag_q = &psta->sta_recvpriv.defrag_q; psta 1822 drivers/staging/rtl8723bs/core/rtw_recv.c pdefrag_q = &psta->sta_recvpriv.defrag_q; psta 12 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c void _rtw_init_stainfo(struct sta_info *psta); psta 13 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c void _rtw_init_stainfo(struct sta_info *psta) psta 15 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c memset((u8 *)psta, 0, sizeof(struct sta_info)); psta 17 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c spin_lock_init(&psta->lock); psta 18 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c INIT_LIST_HEAD(&psta->list); psta 19 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c INIT_LIST_HEAD(&psta->hash_list); psta 24 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c _rtw_init_queue(&psta->sleep_q); psta 25 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->sleepq_len = 0; psta 27 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c _rtw_init_sta_xmit_priv(&psta->sta_xmitpriv); psta 28 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c _rtw_init_sta_recv_priv(&psta->sta_recvpriv); psta 30 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c INIT_LIST_HEAD(&psta->asoc_list); psta 32 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c INIT_LIST_HEAD(&psta->auth_list); psta 34 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->expire_to = 0; psta 36 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->flags = 0; psta 38 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->capability = 0; psta 40 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->bpairwise_key_installed = false; psta 42 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->nonerp_set = 0; psta 43 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->no_short_slot_time_set = 0; psta 44 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->no_short_preamble_set = 0; psta 45 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->no_ht_gf_set = 0; psta 46 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->no_ht_set = 0; psta 47 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->ht_20mhz_set = 0; psta 49 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->under_exist_checking = 0; psta 51 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->keep_alive_trycnt = 0; psta 56 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct sta_info *psta; psta 76 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta = (struct sta_info *)(pstapriv->pstainfo_buf); psta 79 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c _rtw_init_stainfo(psta); psta 83 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c list_add_tail(&psta->list, get_list_head(&pstapriv->free_sta_queue)); psta 85 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta++; psta 128 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct sta_info *psta = NULL; psta 136 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta = LIST_CONTAINOR(plist, struct sta_info, list); psta 152 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct sta_info *psta = NULL; psta 166 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta = LIST_CONTAINOR(plist, struct sta_info, hash_list); psta 170 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c preorder_ctrl = &psta->recvreorder_ctrl[i]; psta 193 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct sta_info *psta; psta 208 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta = LIST_CONTAINOR(get_next(&pfree_sta_queue->queue), struct sta_info, list); psta 210 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c list_del_init(&(psta->list)); psta 214 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c tmp_aid = psta->aid; psta 216 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c _rtw_init_stainfo(psta); psta 218 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->padapter = pstapriv->padapter; psta 220 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c memcpy(psta->hwaddr, hwaddr, ETH_ALEN); psta 229 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta = NULL; psta 236 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c list_add_tail(&psta->hash_list, phash_list); psta 248 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c memcpy(&psta->sta_recvpriv.rxcache.tid_rxseq[i], &wRxSeqInitialValue, 2); psta 265 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c init_addba_retry_timer(pstapriv->padapter, psta); psta 269 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c preorder_ctrl = &psta->recvreorder_ctrl[i]; psta 291 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->rssi_stat.UndecoratedSmoothedPWDB = (-1); psta 292 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->rssi_stat.UndecoratedSmoothedCCK = (-1); psta 295 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->RxMgmtFrameSeqNum = 0xffff; psta 298 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c rtw_alloc_macid(pstapriv->padapter, psta); psta 305 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c return psta; psta 309 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c u32 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta) psta 319 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c if (!psta) psta 323 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c spin_lock_bh(&psta->lock); psta 324 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->state &= ~_FW_LINKED; psta 325 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c spin_unlock_bh(&psta->lock); psta 330 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c pstaxmitpriv = &psta->sta_xmitpriv; psta 338 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c rtw_free_xmitframe_queue(pxmitpriv, &psta->sleep_q); psta 339 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->sleepq_len = 0; psta 379 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c list_del_init(&psta->hash_list); psta 385 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->hwaddr[0], psta 386 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->hwaddr[1], psta 387 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->hwaddr[2], psta 388 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->hwaddr[3], psta 389 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->hwaddr[4], psta 390 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->hwaddr[5] psta 399 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c del_timer_sync(&psta->addba_retry_timer); psta 408 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c preorder_ctrl = &psta->recvreorder_ctrl[i]; psta 434 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c if (!(psta->state & WIFI_AP_STATE)) psta 435 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, false); psta 438 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c rtw_release_macid(pstapriv->padapter, psta); psta 446 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c if (!list_empty(&psta->auth_list)) { psta 447 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c list_del_init(&psta->auth_list); psta 452 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->expire_to = 0; psta 453 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->sleepq_ac_len = 0; psta 454 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->qos_info = 0; psta 456 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->max_sp_len = 0; psta 457 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->uapsd_bk = 0; psta 458 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->uapsd_be = 0; psta 459 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->uapsd_vi = 0; psta 460 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->uapsd_vo = 0; psta 462 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->has_legacy_ac = 0; psta 464 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c pstapriv->sta_dz_bitmap &= ~BIT(psta->aid); psta 465 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c pstapriv->tim_bitmap &= ~BIT(psta->aid); psta 467 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c if ((psta->aid > 0) && (pstapriv->sta_aid[psta->aid - 1] == psta)) { psta 468 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c pstapriv->sta_aid[psta->aid - 1] = NULL; psta 469 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->aid = 0; psta 472 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->under_exist_checking = 0; psta 475 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c list_add_tail(&psta->list, get_list_head(pfree_sta_queue)); psta 487 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct sta_info *psta = NULL; psta 501 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta = LIST_CONTAINOR(plist, struct sta_info, hash_list); psta 505 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c if (pbcmc_stainfo != psta) psta 506 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c rtw_free_stainfo(padapter, psta); psta 518 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct sta_info *psta = NULL; psta 541 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta = LIST_CONTAINOR(plist, struct sta_info, hash_list); psta 543 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c if ((!memcmp(psta->hwaddr, addr, ETH_ALEN))) psta 547 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta = NULL; psta 552 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c return psta; psta 558 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct sta_info *psta; psta 566 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta = rtw_alloc_stainfo(pstapriv, bcast_addr); psta 568 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c if (!psta) { psta 575 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->mac_id = 1; psta 577 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c ptxservq = &(psta->sta_xmitpriv.be_q); psta 83 drivers/staging/rtl8723bs/core/rtw_wlan_util.c u8 networktype_to_raid_ex(struct adapter *adapter, struct sta_info *psta) psta 91 drivers/staging/rtl8723bs/core/rtw_wlan_util.c } else if (IsSupportedVHT(psta->wireless_mode)) { psta 92 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (psta->ra_mask & 0xffc00000) psta 94 drivers/staging/rtl8723bs/core/rtw_wlan_util.c } else if (IsSupportedHT(psta->wireless_mode)) { psta 95 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (psta->ra_mask & 0xfff00000) psta 99 drivers/staging/rtl8723bs/core/rtw_wlan_util.c switch (psta->wireless_mode) { psta 121 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (psta->bw_mode == CHANNEL_WIDTH_20) { psta 1043 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct sta_info *psta; psta 1050 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta = rtw_get_stainfo(pstapriv, cur_network->MacAddress); psta 1051 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (psta) { psta 1052 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct ht_priv *phtpriv_sta = &psta->htpriv; psta 1056 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->bw_mode = pmlmeext->cur_bwmode; psta 1059 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->bw_mode = CHANNEL_WIDTH_20; psta 1063 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_dm_ra_mask_wk_cmd(padapter, (u8 *)psta); psta 1221 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void VCS_update(struct adapter *padapter, struct sta_info *psta) psta 1229 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->rtsen = 0; psta 1230 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->cts2self = 0; psta 1235 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->rtsen = 1; psta 1236 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->cts2self = 0; psta 1238 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->rtsen = 0; psta 1239 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->cts2self = 1; psta 1247 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->rtsen = 1; psta 1248 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->cts2self = 0; psta 1250 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->rtsen = 0; psta 1251 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->cts2self = 1; psta 1254 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->rtsen = 0; psta 1255 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->cts2self = 0; psta 1261 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void update_ldpc_stbc_cap(struct sta_info *psta) psta 1263 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (psta->htpriv.ht_option) { psta 1264 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (TEST_FLAG(psta->htpriv.ldpc_cap, LDPC_HT_ENABLE_TX)) psta 1265 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->ldpc = 1; psta 1267 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (TEST_FLAG(psta->htpriv.stbc_cap, STBC_HT_ENABLE_TX)) psta 1268 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->stbc = 1; psta 1270 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->ldpc = 0; psta 1271 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->stbc = 0; psta 1508 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void update_beacon_info(struct adapter *padapter, u8 *pframe, uint pkt_len, struct sta_info *psta) psta 1535 drivers/staging/rtl8723bs/core/rtw_wlan_util.c VCS_update(padapter, psta); psta 1613 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void Update_RA_Entry(struct adapter *padapter, struct sta_info *psta) psta 1615 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_update_ra_mask(psta, 0); psta 1618 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void set_sta_rate(struct adapter *padapter, struct sta_info *psta) psta 1621 drivers/staging/rtl8723bs/core/rtw_wlan_util.c Update_RA_Entry(padapter, psta); psta 1825 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void update_sta_basic_rate(struct sta_info *psta, u8 wireless_mode) psta 1829 drivers/staging/rtl8723bs/core/rtw_wlan_util.c memcpy(psta->bssrateset, rtw_basic_rate_cck, 4); psta 1830 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->bssratelen = 4; psta 1832 drivers/staging/rtl8723bs/core/rtw_wlan_util.c memcpy(psta->bssrateset, rtw_basic_rate_ofdm, 3); psta 1833 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->bssratelen = 3; psta 1861 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct sta_info *psta; psta 1869 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta = rtw_get_stainfo(pstapriv, addr); psta 1871 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (psta) { psta 1877 drivers/staging/rtl8723bs/core/rtw_wlan_util.c preorder_ctrl = &psta->recvreorder_ctrl[tid]; psta 1999 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void rtw_alloc_macid(struct adapter *padapter, struct sta_info *psta) psta 2005 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (!memcmp(psta->hwaddr, bc_addr, ETH_ALEN)) psta 2008 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (!memcmp(psta->hwaddr, myid(&padapter->eeprompriv), ETH_ALEN)) { psta 2009 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->mac_id = NUM_STA; psta 2023 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->mac_id = NUM_STA; psta 2026 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->mac_id = i; psta 2027 drivers/staging/rtl8723bs/core/rtw_wlan_util.c DBG_871X("%s = %d\n", __func__, psta->mac_id); psta 2031 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void rtw_release_macid(struct adapter *padapter, struct sta_info *psta) psta 2036 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (!memcmp(psta->hwaddr, bc_addr, ETH_ALEN)) psta 2039 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (!memcmp(psta->hwaddr, myid(&padapter->eeprompriv), ETH_ALEN)) psta 2043 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (psta->mac_id < NUM_STA && psta->mac_id != 1) { psta 2044 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (pdvobj->macid[psta->mac_id] == true) { psta 2045 drivers/staging/rtl8723bs/core/rtw_wlan_util.c DBG_871X("%s = %d\n", __func__, psta->mac_id); psta 2046 drivers/staging/rtl8723bs/core/rtw_wlan_util.c pdvobj->macid[psta->mac_id] = false; psta 2047 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->mac_id = NUM_STA; psta 2199 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct sta_info *psta; psta 2205 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta = rtw_get_stainfo(&padapter->stapriv, StaAddr); psta 2210 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (psta) { psta 2211 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (psecpriv->dot11PrivacyAlgrthm != _NO_PRIVACY_ && psta->dot11txpn.val > 0) psta 2212 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->dot11txpn.val--; psta 2213 drivers/staging/rtl8723bs/core/rtw_wlan_util.c AES_IV(pcur_dot11txpn, psta->dot11txpn, 0); psta 2223 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct sta_info *psta; psta 2229 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta = rtw_get_stainfo(&padapter->stapriv, psta 2232 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (psta) { psta 2233 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (pwrpriv->wowlan_fw_iv > psta->dot11txpn.val) { psta 2235 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->dot11txpn.val = pwrpriv->wowlan_fw_iv + 2; psta 2238 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta->dot11txpn.val += 2; psta 2240 drivers/staging/rtl8723bs/core/rtw_wlan_util.c DBG_871X("%s: dot11txpn: 0x%016llx\n", __func__, psta->dot11txpn.val); psta 347 drivers/staging/rtl8723bs/core/rtw_xmit.c u8 query_ra_short_GI(struct sta_info *psta) psta 351 drivers/staging/rtl8723bs/core/rtw_xmit.c sgi_20m = psta->htpriv.sgi_20m; psta 352 drivers/staging/rtl8723bs/core/rtw_xmit.c sgi_40m = psta->htpriv.sgi_40m; psta 354 drivers/staging/rtl8723bs/core/rtw_xmit.c switch (psta->bw_mode) { psta 452 drivers/staging/rtl8723bs/core/rtw_xmit.c static void update_attrib_phy_info(struct adapter *padapter, struct pkt_attrib *pattrib, struct sta_info *psta) psta 456 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->rtsen = psta->rtsen; psta 457 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->cts2self = psta->cts2self; psta 465 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->qos_en = psta->qos_option; psta 467 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->raid = psta->raid; psta 469 drivers/staging/rtl8723bs/core/rtw_xmit.c if (mlmeext->cur_bwmode < psta->bw_mode) psta 472 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->bwmode = psta->bw_mode; psta 474 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->sgi = query_ra_short_GI(psta); psta 476 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->ldpc = psta->ldpc; psta 477 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->stbc = psta->stbc; psta 479 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->ht_en = psta->htpriv.ht_option; psta 480 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->ch_offset = psta->htpriv.ch_offset; psta 486 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->ampdu_spacing = psta->htpriv.rx_ampdu_min_spacing; psta 498 drivers/staging/rtl8723bs/core/rtw_xmit.c if (psta->isrc && psta->pid > 0) psta 504 drivers/staging/rtl8723bs/core/rtw_xmit.c static s32 update_attrib_sec_info(struct adapter *padapter, struct pkt_attrib *pattrib, struct sta_info *psta) psta 513 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->mac_id = psta->mac_id; psta 515 drivers/staging/rtl8723bs/core/rtw_xmit.c if (psta->ieee8021x_blocked == true) { psta 529 drivers/staging/rtl8723bs/core/rtw_xmit.c GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, bmcast); psta 559 drivers/staging/rtl8723bs/core/rtw_xmit.c WEP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); psta 575 drivers/staging/rtl8723bs/core/rtw_xmit.c TKIP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); psta 577 drivers/staging/rtl8723bs/core/rtw_xmit.c TKIP_IV(pattrib->iv, psta->dot11txpn, 0); psta 580 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(pattrib->dot11tkiptxmickey.skey, psta->dot11tkiptxmickey.skey, 16); psta 590 drivers/staging/rtl8723bs/core/rtw_xmit.c AES_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); psta 592 drivers/staging/rtl8723bs/core/rtw_xmit.c AES_IV(pattrib->iv, psta->dot11txpn, 0); psta 603 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(pattrib->dot118021x_UncstKey.skey, psta->dot118021x_UncstKey.skey, 16); psta 680 drivers/staging/rtl8723bs/core/rtw_xmit.c struct sta_info *psta = NULL; psta 772 drivers/staging/rtl8723bs/core/rtw_xmit.c psta = rtw_get_bcmc_stainfo(padapter); psta 774 drivers/staging/rtl8723bs/core/rtw_xmit.c psta = rtw_get_stainfo(pstapriv, pattrib->ra); psta 775 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!psta) { /* if we cannot get psta => drop the pkt */ psta 783 drivers/staging/rtl8723bs/core/rtw_xmit.c } else if ((check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) && (!(psta->state & _FW_LINKED))) { psta 790 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!psta) { psta 801 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!(psta->state & _FW_LINKED)) { psta 803 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_871X("%s, psta("MAC_FMT")->state(0x%x) != _FW_LINKED\n", __func__, MAC_ARG(psta->hwaddr), psta->state); psta 810 drivers/staging/rtl8723bs/core/rtw_xmit.c if (update_attrib_sec_info(padapter, pattrib, psta) == _FAIL) { psta 816 drivers/staging/rtl8723bs/core/rtw_xmit.c update_attrib_phy_info(padapter, pattrib, psta); psta 820 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->psta = psta; psta 1092 drivers/staging/rtl8723bs/core/rtw_xmit.c struct sta_info *psta; psta 1093 drivers/staging/rtl8723bs/core/rtw_xmit.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); psta 1094 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pattrib->psta != psta) { psta 1095 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_871X("%s, pattrib->psta(%p) != psta(%p)\n", __func__, pattrib->psta, psta); psta 1099 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!psta) { psta 1104 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!(psta->state & _FW_LINKED)) { psta 1105 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_871X("%s, psta->state(0x%x) != _FW_LINKED\n", __func__, psta->state); psta 1110 drivers/staging/rtl8723bs/core/rtw_xmit.c if (psta) { psta 1111 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->sta_xmitpriv.txseq_tid[pattrib->priority]++; psta 1112 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->sta_xmitpriv.txseq_tid[pattrib->priority] &= 0xFFF; psta 1113 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->seqnum = psta->sta_xmitpriv.txseq_tid[pattrib->priority]; psta 1118 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pattrib->ht_en && psta->htpriv.ampdu_enable) psta 1119 drivers/staging/rtl8723bs/core/rtw_xmit.c if (psta->htpriv.agg_enable_bitmap & BIT(pattrib->priority)) psta 1127 drivers/staging/rtl8723bs/core/rtw_xmit.c tx_seq = psta->BA_starting_seqctrl[pattrib->priority & 0x0f]; psta 1134 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->BA_starting_seqctrl[pattrib->priority & 0x0f] = (tx_seq+1)&0xfff; psta 1139 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->BA_starting_seqctrl[pattrib->priority & 0x0f] = (pattrib->seqnum+1)&0xfff; psta 1359 drivers/staging/rtl8723bs/core/rtw_xmit.c struct sta_info *psta = NULL; psta 1438 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pattrib->psta) psta 1439 drivers/staging/rtl8723bs/core/rtw_xmit.c psta = pattrib->psta; psta 1441 drivers/staging/rtl8723bs/core/rtw_xmit.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); psta 1443 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!psta) { psta 1449 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!(psta->state & _FW_LINKED) || !pxmitframe->buf_addr) { psta 1465 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(pattrib->dot118021x_UncstKey.skey, psta->dot118021x_UncstKey.skey, 16); psta 1479 drivers/staging/rtl8723bs/core/rtw_xmit.c AES_IV(pattrib->iv, psta->dot11wtxpn, 0); psta 1591 drivers/staging/rtl8723bs/core/rtw_xmit.c struct sta_info *psta = NULL; psta 1606 drivers/staging/rtl8723bs/core/rtw_xmit.c psta = pxmitframe->attrib.psta; psta 1607 drivers/staging/rtl8723bs/core/rtw_xmit.c if (psta) { psta 1608 drivers/staging/rtl8723bs/core/rtw_xmit.c pstats = &psta->sta_stats; psta 2039 drivers/staging/rtl8723bs/core/rtw_xmit.c struct tx_servq *rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, sint up, u8 *ac) psta 2046 drivers/staging/rtl8723bs/core/rtw_xmit.c ptxservq = &(psta->sta_xmitpriv.bk_q); psta 2053 drivers/staging/rtl8723bs/core/rtw_xmit.c ptxservq = &(psta->sta_xmitpriv.vi_q); psta 2060 drivers/staging/rtl8723bs/core/rtw_xmit.c ptxservq = &(psta->sta_xmitpriv.vo_q); psta 2068 drivers/staging/rtl8723bs/core/rtw_xmit.c ptxservq = &(psta->sta_xmitpriv.be_q); psta 2086 drivers/staging/rtl8723bs/core/rtw_xmit.c struct sta_info *psta; psta 2103 drivers/staging/rtl8723bs/core/rtw_xmit.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); psta 2104 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pattrib->psta != psta) { psta 2106 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_871X("%s, pattrib->psta(%p) != psta(%p)\n", __func__, pattrib->psta, psta); psta 2110 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!psta) { psta 2118 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!(psta->state & _FW_LINKED)) { psta 2120 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_871X("%s, psta->state(0x%x) != _FW_LINKED\n", __func__, psta->state); psta 2124 drivers/staging/rtl8723bs/core/rtw_xmit.c ptxservq = rtw_get_sta_pending(padapter, psta, pattrib->priority, (u8 *)(&ac_index)); psta 2381 drivers/staging/rtl8723bs/core/rtw_xmit.c struct sta_info *psta = NULL; psta 2403 drivers/staging/rtl8723bs/core/rtw_xmit.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); psta 2404 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pattrib->psta != psta) { psta 2406 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_871X("%s, pattrib->psta(%p) != psta(%p)\n", __func__, pattrib->psta, psta); psta 2410 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!psta) { psta 2416 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!(psta->state & _FW_LINKED)) { psta 2418 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_871X("%s, psta->state(0x%x) != _FW_LINKED\n", __func__, psta->state); psta 2435 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_lock_bh(&psta->sleep_q.lock); psta 2444 drivers/staging/rtl8723bs/core/rtw_xmit.c list_add_tail(&pxmitframe->list, get_list_head(&psta->sleep_q)); psta 2446 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->sleepq_len++; psta 2470 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_unlock_bh(&psta->sleep_q.lock); psta 2477 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_lock_bh(&psta->sleep_q.lock); psta 2479 drivers/staging/rtl8723bs/core/rtw_xmit.c if (psta->state&WIFI_SLEEP_STATE) { psta 2482 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pstapriv->sta_dz_bitmap & BIT(psta->aid)) { psta 2487 drivers/staging/rtl8723bs/core/rtw_xmit.c list_add_tail(&pxmitframe->list, get_list_head(&psta->sleep_q)); psta 2489 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->sleepq_len++; psta 2494 drivers/staging/rtl8723bs/core/rtw_xmit.c wmmps_ac = psta->uapsd_bk&BIT(0); psta 2498 drivers/staging/rtl8723bs/core/rtw_xmit.c wmmps_ac = psta->uapsd_vi&BIT(0); psta 2502 drivers/staging/rtl8723bs/core/rtw_xmit.c wmmps_ac = psta->uapsd_vo&BIT(0); psta 2507 drivers/staging/rtl8723bs/core/rtw_xmit.c wmmps_ac = psta->uapsd_be&BIT(0); psta 2512 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->sleepq_ac_len++; psta 2514 drivers/staging/rtl8723bs/core/rtw_xmit.c if (((psta->has_legacy_ac) && (!wmmps_ac)) || ((!psta->has_legacy_ac) && (wmmps_ac))) { psta 2515 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!(pstapriv->tim_bitmap & BIT(psta->aid))) psta 2518 drivers/staging/rtl8723bs/core/rtw_xmit.c pstapriv->tim_bitmap |= BIT(psta->aid); psta 2542 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_unlock_bh(&psta->sleep_q.lock); psta 2548 drivers/staging/rtl8723bs/core/rtw_xmit.c static void dequeue_xmitframes_to_sleeping_queue(struct adapter *padapter, struct sta_info *psta, struct __queue *pframequeue) psta 2573 drivers/staging/rtl8723bs/core/rtw_xmit.c ptxservq = rtw_get_sta_pending(padapter, psta, pattrib->priority, (u8 *)(&ac_index)); psta 2585 drivers/staging/rtl8723bs/core/rtw_xmit.c void stop_sta_xmit(struct adapter *padapter, struct sta_info *psta) psta 2592 drivers/staging/rtl8723bs/core/rtw_xmit.c pstaxmitpriv = &psta->sta_xmitpriv; psta 2600 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->state |= WIFI_SLEEP_STATE; psta 2602 drivers/staging/rtl8723bs/core/rtw_xmit.c pstapriv->sta_dz_bitmap |= BIT(psta->aid); psta 2606 drivers/staging/rtl8723bs/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, &pstaxmitpriv->vo_q.sta_pending); psta 2610 drivers/staging/rtl8723bs/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, &pstaxmitpriv->vi_q.sta_pending); psta 2614 drivers/staging/rtl8723bs/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, &pstaxmitpriv->be_q.sta_pending); psta 2618 drivers/staging/rtl8723bs/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, &pstaxmitpriv->bk_q.sta_pending); psta 2629 drivers/staging/rtl8723bs/core/rtw_xmit.c void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta) psta 2644 drivers/staging/rtl8723bs/core/rtw_xmit.c xmitframe_phead = get_list_head(&psta->sleep_q); psta 2657 drivers/staging/rtl8723bs/core/rtw_xmit.c wmmps_ac = psta->uapsd_bk&BIT(1); psta 2661 drivers/staging/rtl8723bs/core/rtw_xmit.c wmmps_ac = psta->uapsd_vi&BIT(1); psta 2665 drivers/staging/rtl8723bs/core/rtw_xmit.c wmmps_ac = psta->uapsd_vo&BIT(1); psta 2670 drivers/staging/rtl8723bs/core/rtw_xmit.c wmmps_ac = psta->uapsd_be&BIT(1); psta 2674 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->sleepq_len--; psta 2675 drivers/staging/rtl8723bs/core/rtw_xmit.c if (psta->sleepq_len > 0) psta 2681 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->sleepq_ac_len--; psta 2682 drivers/staging/rtl8723bs/core/rtw_xmit.c if (psta->sleepq_ac_len > 0) { psta 2706 drivers/staging/rtl8723bs/core/rtw_xmit.c if (psta->sleepq_len == 0) { psta 2707 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pstapriv->tim_bitmap & BIT(psta->aid)) { psta 2714 drivers/staging/rtl8723bs/core/rtw_xmit.c pstapriv->tim_bitmap &= ~BIT(psta->aid); psta 2716 drivers/staging/rtl8723bs/core/rtw_xmit.c if (psta->state&WIFI_SLEEP_STATE) psta 2717 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->state ^= WIFI_SLEEP_STATE; psta 2719 drivers/staging/rtl8723bs/core/rtw_xmit.c if (psta->state & WIFI_STA_ALIVE_CHK_STATE) { psta 2721 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->expire_to = pstapriv->expire_to; psta 2722 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->state ^= WIFI_STA_ALIVE_CHK_STATE; psta 2725 drivers/staging/rtl8723bs/core/rtw_xmit.c pstapriv->sta_dz_bitmap &= ~BIT(psta->aid); psta 2789 drivers/staging/rtl8723bs/core/rtw_xmit.c void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta) psta 2801 drivers/staging/rtl8723bs/core/rtw_xmit.c xmitframe_phead = get_list_head(&psta->sleep_q); psta 2812 drivers/staging/rtl8723bs/core/rtw_xmit.c wmmps_ac = psta->uapsd_bk&BIT(1); psta 2816 drivers/staging/rtl8723bs/core/rtw_xmit.c wmmps_ac = psta->uapsd_vi&BIT(1); psta 2820 drivers/staging/rtl8723bs/core/rtw_xmit.c wmmps_ac = psta->uapsd_vo&BIT(1); psta 2825 drivers/staging/rtl8723bs/core/rtw_xmit.c wmmps_ac = psta->uapsd_be&BIT(1); psta 2834 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->sleepq_len--; psta 2835 drivers/staging/rtl8723bs/core/rtw_xmit.c psta->sleepq_ac_len--; psta 2837 drivers/staging/rtl8723bs/core/rtw_xmit.c if (psta->sleepq_ac_len > 0) { psta 2848 drivers/staging/rtl8723bs/core/rtw_xmit.c if ((psta->sleepq_ac_len == 0) && (!psta->has_legacy_ac) && (wmmps_ac)) { psta 2849 drivers/staging/rtl8723bs/core/rtw_xmit.c pstapriv->tim_bitmap &= ~BIT(psta->aid); psta 656 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct sta_info *psta; psta 660 drivers/staging/rtl8723bs/hal/hal_btcoex.c psta = rtw_get_stainfo(&padapter->stapriv, cur_network->MacAddress); psta 661 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_hal_update_ra_mask(psta, 0); psta 971 drivers/staging/rtl8723bs/hal/hal_com.c void rtw_hal_update_sta_rate_mask(struct adapter *padapter, struct sta_info *psta) psta 976 drivers/staging/rtl8723bs/hal/hal_com.c if (!psta) psta 982 drivers/staging/rtl8723bs/hal/hal_com.c for (i = 0; i < sizeof(psta->bssrateset); i++) { psta 983 drivers/staging/rtl8723bs/hal/hal_com.c if (psta->bssrateset[i]) psta 984 drivers/staging/rtl8723bs/hal/hal_com.c tx_ra_bitmap |= rtw_get_bit_value_from_ieee_value(psta->bssrateset[i]&0x7f); psta 988 drivers/staging/rtl8723bs/hal/hal_com.c if (psta->htpriv.ht_option) { psta 996 drivers/staging/rtl8723bs/hal/hal_com.c if (psta->htpriv.ht_cap.supp_mcs_set[i/8] & BIT(i%8)) psta 1001 drivers/staging/rtl8723bs/hal/hal_com.c psta->ra_mask = tx_ra_bitmap; psta 1002 drivers/staging/rtl8723bs/hal/hal_com.c psta->init_rate = get_highest_rate_idx(tx_ra_bitmap)&0x3f; psta 1216 drivers/staging/rtl8723bs/hal/hal_com.c struct sta_info *psta; psta 1220 drivers/staging/rtl8723bs/hal/hal_com.c psta = rtw_get_stainfo(pstapriv, pmlmepriv->cur_network.network.MacAddress); psta 1221 drivers/staging/rtl8723bs/hal/hal_com.c if (psta) psta 1222 drivers/staging/rtl8723bs/hal/hal_com.c *((int *)value) = psta->rssi_stat.UndecoratedSmoothedPWDB; psta 1298 drivers/staging/rtl8723bs/hal/hal_com.c struct sta_info *psta = pValue1; psta 1300 drivers/staging/rtl8723bs/hal/hal_com.c DBG_8192C("### Set STA_(%d) info ###\n", psta->mac_id); psta 1301 drivers/staging/rtl8723bs/hal/hal_com.c ODM_CmnInfoPtrArrayHook(podmpriv, ODM_CMNINFO_STA_STATUS, psta->mac_id, psta); psta 1303 drivers/staging/rtl8723bs/hal/hal_com.c DBG_8192C("### Clean STA_(%d) info ###\n", psta->mac_id); psta 1305 drivers/staging/rtl8723bs/hal/hal_com.c ODM_CmnInfoPtrArrayHook(podmpriv, ODM_CMNINFO_STA_STATUS, psta->mac_id, NULL); psta 277 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_update_ra_mask(struct sta_info *psta, u8 rssi_level) psta 282 drivers/staging/rtl8723bs/hal/hal_intf.c if (!psta) psta 285 drivers/staging/rtl8723bs/hal/hal_intf.c padapter = psta->padapter; psta 290 drivers/staging/rtl8723bs/hal/hal_intf.c add_RATid(padapter, psta, rssi_level); psta 293 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.UpdateRAMaskHandler(padapter, psta->mac_id, rssi_level); psta 1267 drivers/staging/rtl8723bs/hal/odm.c struct sta_info *psta; psta 1270 drivers/staging/rtl8723bs/hal/odm.c psta = pDM_Odm->pODM_StaInfo[i]; psta 1271 drivers/staging/rtl8723bs/hal/odm.c if (IS_STA_VALID(psta)) { psta 1272 drivers/staging/rtl8723bs/hal/odm.c if (IS_MCAST(psta->hwaddr)) /* if (psta->mac_id == 1) */ psta 1275 drivers/staging/rtl8723bs/hal/odm.c if (psta->rssi_stat.UndecoratedSmoothedPWDB == (-1)) psta 1278 drivers/staging/rtl8723bs/hal/odm.c if (psta->rssi_stat.UndecoratedSmoothedPWDB < tmpEntryMinPWDB) psta 1279 drivers/staging/rtl8723bs/hal/odm.c tmpEntryMinPWDB = psta->rssi_stat.UndecoratedSmoothedPWDB; psta 1281 drivers/staging/rtl8723bs/hal/odm.c if (psta->rssi_stat.UndecoratedSmoothedPWDB > tmpEntryMaxPWDB) psta 1282 drivers/staging/rtl8723bs/hal/odm.c tmpEntryMaxPWDB = psta->rssi_stat.UndecoratedSmoothedPWDB; psta 1284 drivers/staging/rtl8723bs/hal/odm.c if (psta->rssi_stat.UndecoratedSmoothedPWDB != (-1)) psta 1285 drivers/staging/rtl8723bs/hal/odm.c PWDB_rssi[sta_cnt++] = (psta->mac_id | (psta->rssi_stat.UndecoratedSmoothedPWDB<<16)); psta 427 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct sta_info *psta = NULL; psta 438 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c psta = rtw_get_stainfo(&padapter->stapriv, get_my_bssid(&(pmlmeinfo->network))); psta 439 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c if (psta) { psta 440 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c if (!memcmp(&psta->dot11tkiptxmickey.skey[0], null_key, 16)) { psta 444 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_secmicsetkey(&micdata, &psta->dot11tkiptxmickey.skey[0]); psta 1308 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct sta_info *psta = NULL; psta 1318 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(pmlmepriv)); psta 1319 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c if (psta) psta 1320 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwMediaStatusRpt_cmd(padapter, RT_MEDIA_CONNECT, psta->mac_id); psta 1447 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct sta_info *psta; psta 1603 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); psta 1604 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c if (!psta) { psta 1609 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(kek, psta->kek, RTW_KEK_LEN); psta 1610 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(kck, psta->kck, RTW_KCK_LEN); psta 2040 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct sta_info *psta; psta 2047 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c psta = pmlmeinfo->FW_sta_info[mac_id].psta; psta 2048 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c if (!psta) psta 2051 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c bw = psta->bw_mode; psta 207 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c struct sta_info *psta = NULL; psta 216 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); psta 217 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c if (psta && (psta->rssi_stat.UndecoratedSmoothedPWDB > 0)) { psta 218 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c PWDB_rssi = (psta->mac_id | (psta->rssi_stat.UndecoratedSmoothedPWDB<<16)); psta 234 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c struct sta_info *psta = NULL; psta 256 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); psta 257 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c if (!psta) psta 260 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c pdmpriv->EntryMinUndecoratedSmoothedPWDB = psta->rssi_stat.UndecoratedSmoothedPWDB; psta 2130 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct sta_info *psta; psta 2141 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c psta = pmlmeinfo->FW_sta_info[mac_id].psta; psta 2142 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (!psta) psta 2145 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c shortGIrate = query_ra_short_GI(psta); psta 2147 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c mask = psta->ra_mask; psta 2152 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c __func__, mac_id, psta->wireless_mode, mask, rssi_level, rate_bitmap); psta 2170 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtl8723b_set_FwMacIdConfig_cmd(padapter, mac_id, psta->raid, psta->bw_mode, shortGIrate, mask); psta 2174 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pdmpriv->INIDATA_RATE[mac_id] = psta->init_rate; psta 2175 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c DBG_871X("%s(): mac_id =%d raid = 0x%x bw =%d mask = 0x%x init_rate = 0x%x\n", __func__, mac_id, psta->raid, psta->bw_mode, mask, psta->init_rate); psta 103 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c struct sta_info *psta; psta 126 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c psta = rtw_get_stainfo(pstapriv, sa); psta 127 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c if (psta) { psta 128 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c pkt_info.station_id = psta->mac_id; psta 138 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c if (psta) psta 139 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c psta->rssi = pattrib->phy_info.RecvSignalPower; psta 141 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvframe->u.hdr.psta = NULL; psta 146 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c if (psta) { psta 147 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvframe->u.hdr.psta = psta; psta 153 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c if (psta) psta 154 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvframe->u.hdr.psta = psta; psta 322 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c (pxmitframe->attrib.psta->state & WIFI_SLEEP_STATE) && psta 1427 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct sta_info *psta = NULL; psta 1539 drivers/staging/rtl8723bs/hal/sdio_halinit.c psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(pmlmepriv)); psta 1540 drivers/staging/rtl8723bs/hal/sdio_halinit.c if (psta) psta 1541 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_set_FwMediaStatusRpt_cmd(padapter, RT_MEDIA_DISCONNECT, psta->mac_id); psta 1655 drivers/staging/rtl8723bs/hal/sdio_halinit.c if (psta) psta 1656 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_set_FwMediaStatusRpt_cmd(padapter, RT_MEDIA_CONNECT, psta->mac_id); psta 236 drivers/staging/rtl8723bs/include/hal_com.h void rtw_hal_update_sta_rate_mask(struct adapter *padapter, struct sta_info *psta); psta 359 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_update_ra_mask(struct sta_info *psta, u8 rssi_level); psta 14 drivers/staging/rtl8723bs/include/rtw_ap.h void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level); psta 16 drivers/staging/rtl8723bs/include/rtw_ap.h void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta); psta 24 drivers/staging/rtl8723bs/include/rtw_ap.h u8 rtw_ap_set_pairwise_key(struct adapter *padapter, struct sta_info *psta); psta 29 drivers/staging/rtl8723bs/include/rtw_ap.h void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta); psta 30 drivers/staging/rtl8723bs/include/rtw_ap.h u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta); psta 31 drivers/staging/rtl8723bs/include/rtw_ap.h void sta_info_update(struct adapter *padapter, struct sta_info *psta); psta 32 drivers/staging/rtl8723bs/include/rtw_ap.h void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta); psta 33 drivers/staging/rtl8723bs/include/rtw_ap.h u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta, bool active, u16 reason); psta 855 drivers/staging/rtl8723bs/include/rtw_cmd.h u8 rtw_dm_ra_mask_wk_cmd(struct adapter *padapter, u8 *psta); psta 564 drivers/staging/rtl8723bs/include/rtw_mlme.h extern void rtw_disconnect_hdl_under_linked(struct adapter * adapter, struct sta_info *psta, u8 free_assoc); psta 651 drivers/staging/rtl8723bs/include/rtw_mlme.h void rtw_sta_media_status_rpt(struct adapter *adapter, struct sta_info *psta, u32 mstatus); psta 360 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h struct sta_info *psta; psta 542 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta); psta 547 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 networktype_to_raid_ex(struct adapter *adapter, struct sta_info *psta); psta 616 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void VCS_update(struct adapter *padapter, struct sta_info *psta); psta 617 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void update_ldpc_stbc_cap(struct sta_info *psta); psta 619 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void update_beacon_info(struct adapter *padapter, u8 *pframe, uint len, struct sta_info *psta); psta 624 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void update_sta_basic_rate(struct sta_info *psta, u8 wireless_mode); psta 628 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void update_sta_info(struct adapter *padapter, struct sta_info *psta); psta 629 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void Update_RA_Entry(struct adapter *padapter, struct sta_info *psta); psta 630 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void set_sta_rate(struct adapter *padapter, struct sta_info *psta); psta 642 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern void rtw_alloc_macid(struct adapter *padapter, struct sta_info *psta); psta 643 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern void rtw_release_macid(struct adapter *padapter, struct sta_info *psta); psta 667 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void issue_auth(struct adapter *padapter, struct sta_info *psta, unsigned short status); psta 706 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void mlmeext_sta_add_event_callback(struct adapter *padapter, struct sta_info *psta); psta 365 drivers/staging/rtl8723bs/include/rtw_recv.h struct sta_info *psta; psta 210 drivers/staging/rtl8723bs/include/rtw_security.h #define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst)\ psta 223 drivers/staging/rtl8723bs/include/rtw_security.h encry_algo =(u8) psta->dot118021XPrivacy;\ psta 187 drivers/staging/rtl8723bs/include/rtw_xmit.h struct sta_info * psta; psta 470 drivers/staging/rtl8723bs/include/rtw_xmit.h struct tx_servq *rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, sint up, u8 *ac); psta 498 drivers/staging/rtl8723bs/include/rtw_xmit.h void stop_sta_xmit(struct adapter *padapter, struct sta_info *psta); psta 499 drivers/staging/rtl8723bs/include/rtw_xmit.h void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta); psta 500 drivers/staging/rtl8723bs/include/rtw_xmit.h void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta); psta 502 drivers/staging/rtl8723bs/include/rtw_xmit.h u8 query_ra_short_GI(struct sta_info *psta); psta 377 drivers/staging/rtl8723bs/include/sta_info.h extern u32 rtw_free_stainfo(struct adapter *padapter , struct sta_info *psta); psta 589 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct sta_info *psta = NULL, *pbcmc_sta = NULL; psta 618 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); psta 619 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!psta) psta 627 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "none") == 0 && (psta == NULL)) psta 637 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (strcmp(param->u.crypt.alg, "WEP") == 0 && (psta == NULL)) psta 686 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!psta && check_fwstate(pmlmepriv, WIFI_AP_STATE)) /* group key */ psta 755 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X && psta) /* psk/802_1x */ psta 761 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); psta 767 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta->dot118021XPrivacy = _WEP40_; psta 770 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta->dot118021XPrivacy = _WEP104_; psta 777 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta->dot118021XPrivacy = _TKIP_; psta 781 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); psta 782 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); psta 792 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta->dot118021XPrivacy = _AES_; psta 798 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta->dot118021XPrivacy = _NO_PRIVACY_; psta 801 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_ap_set_pairwise_key(padapter, psta); psta 803 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta->ieee8021x_blocked = false; psta 805 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta->bpairwise_key_installed = true; psta 953 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct sta_info * psta,*pbcmc_sta; psta 960 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); psta 961 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (psta == NULL) { psta 969 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta->ieee8021x_blocked = false; psta 975 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; psta 983 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); psta 988 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); psta 989 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); psta 998 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_setstakey_cmd(padapter, psta, true, true); psta 1232 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct sta_info *psta = NULL; psta 1243 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta = rtw_get_stainfo(pstapriv, (u8 *)mac); psta 1244 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (psta == NULL) { psta 1274 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c sinfo->rx_packets = sta_rx_data_pkts(psta); psta 1277 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c sinfo->tx_packets = psta->sta_stats.tx_pkts; psta 2842 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct sta_info *psta = NULL; psta 2887 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta = LIST_CONTAINOR(plist, struct sta_info, asoc_list); psta 2891 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!memcmp((u8 *)mac, psta->hwaddr, ETH_ALEN)) psta 2893 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (psta->dot8021xalg == 1 && psta->bpairwise_key_installed == false) psta 2899 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_8192C("free psta =%p, aid =%d\n", psta, psta->aid); psta 2901 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c list_del_init(&psta->asoc_list); psta 2904 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c updated = ap_free_sta(padapter, psta, true, WLAN_REASON_DEAUTH_LEAVING); psta 2906 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta = NULL; psta 2937 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct sta_info *psta = NULL; psta 2946 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (idx == i) psta = LIST_CONTAINOR(plist, struct sta_info, asoc_list); psta 2950 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c return psta; psta 2959 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct sta_info *psta = NULL; psta 2964 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta = rtw_sta_info_get_by_idx(idx, pstapriv); psta 2966 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (NULL == psta) psta 2972 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(mac, psta->hwaddr, ETH_ALEN); psta 2974 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c sinfo->signal = psta->rssi; psta 524 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_info *psta, *pbcmc_sta; psta 528 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); psta 529 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (psta == NULL) { psta 534 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->ieee8021x_blocked = false; psta 538 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; psta 542 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); psta 546 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); psta 547 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); psta 556 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_setstakey_cmd(padapter, psta, true, true); psta 2672 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_info *psta; psta 2800 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, cur_network->network.MacAddress); psta 2801 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (psta) { psta 2806 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("sta's macaddr:" MAC_FMT "\n", MAC_ARG(psta->hwaddr)); psta 2808 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("rtsen =%d, cts2slef =%d\n", psta->rtsen, psta->cts2self); psta 2809 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("state = 0x%x, aid =%d, macid =%d, raid =%d\n", psta->state, psta->aid, psta->mac_id, psta->raid); psta 2810 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("qos_en =%d, ht_en =%d, init_rate =%d\n", psta->qos_option, psta->htpriv.ht_option, psta->init_rate); psta 2811 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("bwmode =%d, ch_offset =%d, sgi_20m =%d, sgi_40m =%d\n", psta->bw_mode, psta->htpriv.ch_offset, psta->htpriv.sgi_20m, psta->htpriv.sgi_40m); psta 2812 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("ampdu_enable = %d\n", psta->htpriv.ampdu_enable); psta 2813 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("agg_enable_bitmap =%x, candidate_tid_bitmap =%x\n", psta->htpriv.agg_enable_bitmap, psta->htpriv.candidate_tid_bitmap); psta 2816 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c preorder_ctrl = &psta->recvreorder_ctrl[i]; psta 2859 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta = LIST_CONTAINOR(plist, struct sta_info, hash_list); psta 2863 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (extra_arg == psta->aid) { psta 2864 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("sta's macaddr:" MAC_FMT "\n", MAC_ARG(psta->hwaddr)); psta 2865 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("rtsen =%d, cts2slef =%d\n", psta->rtsen, psta->cts2self); psta 2866 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("state = 0x%x, aid =%d, macid =%d, raid =%d\n", psta->state, psta->aid, psta->mac_id, psta->raid); psta 2867 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("qos_en =%d, ht_en =%d, init_rate =%d\n", psta->qos_option, psta->htpriv.ht_option, psta->init_rate); psta 2868 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("bwmode =%d, ch_offset =%d, sgi_20m =%d, sgi_40m =%d\n", psta->bw_mode, psta->htpriv.ch_offset, psta->htpriv.sgi_20m, psta->htpriv.sgi_40m); psta 2869 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("ampdu_enable = %d\n", psta->htpriv.ampdu_enable); psta 2870 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("agg_enable_bitmap =%x, candidate_tid_bitmap =%x\n", psta->htpriv.agg_enable_bitmap, psta->htpriv.candidate_tid_bitmap); psta 2871 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("capability = 0x%x\n", psta->capability); psta 2872 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("flags = 0x%x\n", psta->flags); psta 2873 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("wpa_psk = 0x%x\n", psta->wpa_psk); psta 2874 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("wpa2_group_cipher = 0x%x\n", psta->wpa2_group_cipher); psta 2875 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("wpa2_pairwise_cipher = 0x%x\n", psta->wpa2_pairwise_cipher); psta 2876 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("qos_info = 0x%x\n", psta->qos_info); psta 2877 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dot118021XPrivacy = 0x%x\n", psta->dot118021XPrivacy); psta 2882 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c preorder_ctrl = &psta->recvreorder_ctrl[j]; psta 3443 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_info *psta = NULL, *pbcmc_sta = NULL; psta 3469 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); psta 3470 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (!psta) { psta 3477 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "none") == 0 && (psta == NULL)) { psta 3491 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (strcmp(param->u.crypt.alg, "WEP") == 0 && (psta == NULL)) { psta 3562 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (!psta && check_fwstate(pmlmepriv, WIFI_AP_STATE)) { /* group key */ psta 3619 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X && psta) { /* psk/802_1x */ psta 3622 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); psta 3627 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->dot118021XPrivacy = _WEP40_; psta 3629 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->dot118021XPrivacy = _WEP104_; psta 3633 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->dot118021XPrivacy = _TKIP_; psta 3637 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); psta 3638 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); psta 3646 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->dot118021XPrivacy = _AES_; psta 3650 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->dot118021XPrivacy = _NO_PRIVACY_; psta 3653 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ap_set_pairwise_key(padapter, psta); psta 3655 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->ieee8021x_blocked = false; psta 3756 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_info *psta = NULL; psta 3785 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); psta 3786 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (psta) { psta 3791 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->aid = param->u.add_sta.aid;/* aid = 1~2007 */ psta 3793 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta->bssrateset, param->u.add_sta.tx_supp_rates, 16); psta 3798 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->qos_option = 1; psta 3800 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->qos_option = 0; psta 3803 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->qos_option = 0; psta 3807 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->htpriv.ht_option = true; psta 3808 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->qos_option = 1; psta 3809 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy((void *)&psta->htpriv.ht_cap, (void *)¶m->u.add_sta.ht_cap, sizeof(struct rtw_ieee80211_ht_cap)); psta 3811 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->htpriv.ht_option = false; psta 3815 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->htpriv.ht_option = false; psta 3817 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c update_sta_info_apmode(padapter, psta); psta 3831 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_info *psta = NULL; psta 3847 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); psta 3848 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (psta) { psta 3854 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (list_empty(&psta->asoc_list) ==false) { psta 3855 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c list_del_init(&psta->asoc_list); psta 3857 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c updated = ap_free_sta(padapter, psta, true, WLAN_REASON_DEAUTH_LEAVING); psta 3864 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta = NULL; psta 3880 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_info *psta = NULL; psta 3898 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param_ex->sta_addr); psta 3899 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (psta) { psta 3900 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta_data->aid = (u16)psta->aid; psta 3901 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta_data->capability = psta->capability; psta 3902 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta_data->flags = psta->flags; psta 3913 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta_data->sta_set =((psta->nonerp_set) | psta 3914 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c (psta->no_short_slot_time_set <<1) | psta 3915 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c (psta->no_short_preamble_set <<2) | psta 3916 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c (psta->no_ht_gf_set <<3) | psta 3917 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c (psta->no_ht_set <<4) | psta 3918 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c (psta->ht_20mhz_set <<5)); psta 3920 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta_data->tx_supp_rates_len = psta->bssratelen; psta 3921 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(psta_data->tx_supp_rates, psta->bssrateset, psta->bssratelen); psta 3922 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(&psta_data->ht_cap, &psta->htpriv.ht_cap, sizeof(struct rtw_ieee80211_ht_cap)); psta 3923 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta_data->rx_pkts = psta->sta_stats.rx_data_pkts; psta 3924 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta_data->rx_bytes = psta->sta_stats.rx_bytes; psta 3925 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta_data->rx_drops = psta->sta_stats.rx_drops; psta 3927 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta_data->tx_pkts = psta->sta_stats.tx_pkts; psta 3928 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta_data->tx_bytes = psta->sta_stats.tx_bytes; psta 3929 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta_data->tx_drops = psta->sta_stats.tx_drops; psta 3943 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_info *psta = NULL; psta 3959 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta = rtw_get_stainfo(pstapriv, param->sta_addr); psta 3960 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (psta) { psta 3961 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if ((psta->wpa_ie[0] == WLAN_EID_RSN) || (psta->wpa_ie[0] == WLAN_EID_GENERIC)) { psta 3965 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wpa_ie_len = psta->wpa_ie[1]; psta 3967 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c copy_len = ((wpa_ie_len+2) > sizeof(psta->wpa_ie)) ? (sizeof(psta->wpa_ie)):(wpa_ie_len+2); psta 3971 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(param->u.wpa_ie.reserved, psta->wpa_ie, copy_len); psta 182 drivers/staging/rtl8723bs/os_dep/mlme_linux.c void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta) psta 184 drivers/staging/rtl8723bs/os_dep/mlme_linux.c timer_setup(&psta->addba_retry_timer, addba_timer_hdl, 0); psta 1516 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct sta_info *psta = NULL; psta 1564 drivers/staging/rtl8723bs/os_dep/os_intfs.c psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(&padapter->mlmepriv)); psta 1565 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (psta) { psta 1566 drivers/staging/rtl8723bs/os_dep/os_intfs.c set_sta_rate(padapter, psta); psta 108 drivers/staging/rtl8723bs/os_dep/recv_linux.c struct sta_info *psta = NULL; psta 118 drivers/staging/rtl8723bs/os_dep/recv_linux.c psta = rtw_get_bcmc_stainfo(padapter); psta 121 drivers/staging/rtl8723bs/os_dep/recv_linux.c psta = rtw_get_stainfo(pstapriv, pattrib->dst); psta 124 drivers/staging/rtl8723bs/os_dep/recv_linux.c if (psta) { psta 222 drivers/staging/rtl8723bs/os_dep/recv_linux.c struct sta_info *psta = precv_frame->u.hdr.psta; psta 226 drivers/staging/rtl8723bs/os_dep/recv_linux.c if (psta && psta->isrc && psta->pid>0) { psta 232 drivers/staging/rtl8723bs/os_dep/recv_linux.c rx_pid, MAC_ARG(psta->hwaddr), psta->pid); psta 234 drivers/staging/rtl8723bs/os_dep/recv_linux.c if (rx_pid == psta->pid) { psta 133 drivers/staging/rtl8723bs/os_dep/xmit_linux.c struct sta_info *psta = NULL; psta 151 drivers/staging/rtl8723bs/os_dep/xmit_linux.c psta = LIST_CONTAINOR(plist, struct sta_info, asoc_list); psta 154 drivers/staging/rtl8723bs/os_dep/xmit_linux.c stainfo_offset = rtw_stainfo_offset(pstapriv, psta); psta 162 drivers/staging/rtl8723bs/os_dep/xmit_linux.c psta = rtw_get_stainfo_by_offset(pstapriv, chk_alive_list[i]); psta 163 drivers/staging/rtl8723bs/os_dep/xmit_linux.c if (!(psta->state & _FW_LINKED)) { psta 169 drivers/staging/rtl8723bs/os_dep/xmit_linux.c if (!memcmp(psta->hwaddr, &skb->data[6], 6) || psta 170 drivers/staging/rtl8723bs/os_dep/xmit_linux.c !memcmp(psta->hwaddr, null_addr, 6) || psta 171 drivers/staging/rtl8723bs/os_dep/xmit_linux.c !memcmp(psta->hwaddr, bc_addr, 6)) { psta 181 drivers/staging/rtl8723bs/os_dep/xmit_linux.c memcpy(newskb->data, psta->hwaddr, 6);