Searched refs:psta (Results 1 - 25 of 51) sorted by relevance

123

/linux-master/drivers/staging/rtl8723bs/core/
H A Drtw_sta_mgt.c10 void _rtw_init_stainfo(struct sta_info *psta);
11 void _rtw_init_stainfo(struct sta_info *psta) argument
13 memset((u8 *)psta, 0, sizeof(struct sta_info));
15 spin_lock_init(&psta->lock);
16 INIT_LIST_HEAD(&psta->list);
17 INIT_LIST_HEAD(&psta->hash_list);
18 /* INIT_LIST_HEAD(&psta->asoc_list); */
19 /* INIT_LIST_HEAD(&psta->sleep_list); */
20 /* INIT_LIST_HEAD(&psta->wakeup_list); */
22 INIT_LIST_HEAD(&psta
55 struct sta_info *psta; local
145 struct sta_info *psta = NULL; local
181 struct sta_info *psta; local
270 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta) argument
433 struct sta_info *psta = NULL; local
465 struct sta_info *psta = NULL; local
499 struct sta_info *psta; local
[all...]
H A Drtw_ap.c31 struct sta_info *psta = NULL; local
49 psta = rtw_get_bcmc_stainfo(padapter);
50 rtw_free_stainfo(padapter, psta);
167 static u8 chk_sta_is_alive(struct sta_info *psta) argument
169 sta_update_last_rx_pkts(psta);
178 struct sta_info *psta = NULL; local
189 psta = list_entry(plist, struct sta_info, auth_list);
191 if (psta->expire_to > 0) {
192 psta->expire_to--;
193 if (psta
324 add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) argument
381 struct sta_info *psta = rtw_get_bcmc_stainfo(padapter); local
453 update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta) argument
565 update_ap_info(struct adapter *padapter, struct sta_info *psta) argument
817 struct sta_info *psta = NULL; local
1266 rtw_ap_set_pairwise_key(struct adapter *padapter, struct sta_info *psta) argument
1686 struct sta_info *psta = NULL; local
1704 bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta) argument
1824 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta) argument
1885 ap_free_sta( struct adapter *padapter, struct sta_info *psta, bool active, u16 reason ) argument
1933 struct sta_info *psta = NULL; local
1963 sta_info_update(struct adapter *padapter, struct sta_info *psta) argument
1992 ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta) argument
2009 struct sta_info *psta; local
2126 struct sta_info *psta = NULL; local
[all...]
H A Drtw_btcoex.c39 struct sta_info *psta; local
42 psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(&padapter->mlmepriv));
46 if (psta)
47 send_delba(padapter, 0, psta->hwaddr);
H A Drtw_xmit.c333 u8 query_ra_short_GI(struct sta_info *psta) argument
337 sgi_20m = psta->htpriv.sgi_20m;
338 sgi_40m = psta->htpriv.sgi_40m;
340 switch (psta->bw_mode) {
357 /* struct sta_info *psta = pattrib->psta; */
435 static void update_attrib_phy_info(struct adapter *padapter, struct pkt_attrib *pattrib, struct sta_info *psta) argument
439 pattrib->rtsen = psta->rtsen;
440 pattrib->cts2self = psta->cts2self;
448 pattrib->qos_en = psta
471 update_attrib_sec_info(struct adapter *padapter, struct pkt_attrib *pattrib, struct sta_info *psta) argument
622 struct sta_info *psta = NULL; local
933 struct sta_info *psta; local
1144 struct sta_info *psta = NULL; local
1370 struct sta_info *psta = NULL; local
1753 rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, signed int up, u8 *ac) argument
1794 struct sta_info *psta; local
2015 struct sta_info *psta = NULL; local
2127 dequeue_xmitframes_to_sleeping_queue(struct adapter *padapter, struct sta_info *psta, struct __queue *pframequeue) argument
2157 stop_sta_xmit(struct adapter *padapter, struct sta_info *psta) argument
2195 wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta) argument
2313 xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta) argument
[all...]
H A Drtw_recv.c449 struct sta_info *psta; local
467 psta = rtw_get_stainfo(pstapriv, psta_addr);
470 if ((psta) && (psta->ieee8021x_blocked)) {
537 struct sta_info *psta = NULL; local
539 psta = rtw_get_stainfo(pstapriv, pattrib->src);
543 if (psta) {
545 if (!(psta->state & WIFI_SLEEP_STATE)) {
546 /* psta->state |= WIFI_SLEEP_STATE; */
547 /* pstapriv->sta_dz_bitmap |= BIT(psta
568 struct sta_info *psta = NULL; local
618 struct sta_info *psta = NULL; local
646 sta2sta_data_frame(struct adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta) argument
734 ap2sta_data_frame(struct adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta) argument
839 sta2ap_data_frame(struct adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta) argument
896 struct sta_info *psta = NULL; local
1101 struct sta_info *psta; local
1203 struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(precv_frame->u.hdr.rx_data)); local
1233 struct sta_info *psta = NULL; local
[all...]
H A Drtw_wlan_util.c47 u8 networktype_to_raid_ex(struct adapter *adapter, struct sta_info *psta) argument
51 switch (psta->wireless_mode) {
67 if (psta->bw_mode == CHANNEL_WIDTH_20) {
939 struct sta_info *psta; local
946 psta = rtw_get_stainfo(pstapriv, cur_network->mac_address);
947 if (psta) {
948 struct ht_priv *phtpriv_sta = &psta->htpriv;
952 psta->bw_mode = pmlmeext->cur_bwmode;
955 psta->bw_mode = CHANNEL_WIDTH_20;
959 rtw_dm_ra_mask_wk_cmd(padapter, (u8 *)psta);
1092 VCS_update(struct adapter *padapter, struct sta_info *psta) argument
1132 update_ldpc_stbc_cap(struct sta_info *psta) argument
1326 update_beacon_info(struct adapter *padapter, u8 *pframe, uint pkt_len, struct sta_info *psta) argument
1433 Update_RA_Entry(struct adapter *padapter, struct sta_info *psta) argument
1438 set_sta_rate(struct adapter *padapter, struct sta_info *psta) argument
1627 update_sta_basic_rate(struct sta_info *psta, u8 wireless_mode) argument
1665 struct sta_info *psta; local
1779 rtw_alloc_macid(struct adapter *padapter, struct sta_info *psta) argument
1807 rtw_release_macid(struct adapter *padapter, struct sta_info *psta) argument
[all...]
H A Drtw_mlme_ext.c442 struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(pframe)); local
464 if (psta) {
466 if (precv_frame->u.hdr.attrib.seq_num == psta->RxMgmtFrameSeqNum) {
472 psta->RxMgmtFrameSeqNum = precv_frame->u.hdr.attrib.seq_num;
569 struct sta_info *psta; local
626 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe));
627 if (psta) {
638 if ((sta_rx_pkts(psta) & 0xf) == 0)
639 update_beacon_info(padapter, pframe, len, psta);
644 psta
1477 struct sta_info *psta; local
1548 struct sta_info *psta; local
1593 struct sta_info *psta = NULL; local
1628 struct sta_info *psta = NULL; local
2584 issue_auth(struct adapter *padapter, struct sta_info *psta, unsigned short status) argument
3097 struct sta_info *psta; local
3449 struct sta_info *psta; local
3729 struct sta_info *psta = NULL; local
4600 struct sta_info *psta; local
4697 update_sta_info(struct adapter *padapter, struct sta_info *psta) argument
4773 struct sta_info *psta; local
4811 struct sta_info *psta; local
4881 mlmeext_sta_add_event_callback(struct adapter *padapter, struct sta_info *psta) argument
4968 chk_ap_is_alive(struct adapter *padapter, struct sta_info *psta) argument
4989 struct sta_info *psta; local
5167 struct sta_info *psta = from_timer(psta, t, addba_retry_timer); local
5656 struct sta_info *psta; local
5703 struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, pparm->addr); local
[all...]
H A Drtw_mlme.c896 struct sta_info *psta; local
898 psta = rtw_get_stainfo(&adapter->stapriv, tgt_network->network.mac_address);
899 rtw_free_stainfo(adapter, psta);
903 struct sta_info *psta; local
907 psta = rtw_get_bcmc_stainfo(adapter);
908 rtw_free_stainfo(adapter, psta);
1009 struct sta_info *bmc_sta, *psta = NULL; local
1014 psta = rtw_get_stainfo(pstapriv, pnetwork->network.mac_address);
1015 if (!psta)
1016 psta
1289 rtw_sta_media_status_rpt(struct adapter *adapter, struct sta_info *psta, u32 mstatus) argument
1302 struct sta_info *psta; local
1396 struct sta_info *psta; local
2509 struct sta_info *psta; local
[all...]
H A Drtw_ioctl_set.c477 struct sta_info *psta = NULL; local
484 psta = rtw_get_stainfo(&adapter->stapriv, get_bssid(pmlmepriv));
485 if (!psta)
488 short_GI = query_ra_short_GI(psta);
490 if (is_supported_ht(psta->wireless_mode)) {
491 max_rate = rtw_mcs_rate(psta->bw_mode == CHANNEL_WIDTH_40 ? 1 : 0,
493 psta->htpriv.ht_cap.mcs.rx_mask);
/linux-master/drivers/staging/rtl8712/
H A Drtl871x_sta_mgt.c25 static void _init_stainfo(struct sta_info *psta) argument
27 memset((u8 *)psta, 0, sizeof(struct sta_info));
28 spin_lock_init(&psta->lock);
29 INIT_LIST_HEAD(&psta->list);
30 INIT_LIST_HEAD(&psta->hash_list);
31 _r8712_init_sta_xmit_priv(&psta->sta_xmitpriv);
32 _r8712_init_sta_recv_priv(&psta->sta_recvpriv);
33 INIT_LIST_HEAD(&psta->asoc_list);
34 INIT_LIST_HEAD(&psta->auth_list);
39 struct sta_info *psta; local
93 struct sta_info *psta; local
142 r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta) argument
196 struct sta_info *psta = NULL; local
222 struct sta_info *psta = NULL; local
[all...]
H A Drtl871x_xmit.c204 struct sta_info *psta = NULL; local
288 psta = r8712_get_bcmc_stainfo(padapter);
292 psta = r8712_get_stainfo(pstapriv,
296 psta = r8712_get_stainfo(pstapriv, pattrib->ra);
297 if (!psta) /* drop the pkt */
302 pattrib->mac_id = psta->mac_id;
306 if (psta) {
307 pattrib->psta = psta;
309 /* if we cannot get psta
548 struct sta_info *psta; local
611 struct sta_info *psta; local
870 get_sta_pending(struct _adapter *padapter, struct __queue **ppstapending, struct sta_info *psta, sint up) argument
916 struct sta_info *psta; local
[all...]
H A Drtl871x_recv.c233 struct sta_info *psta; local
242 psta = r8712_get_stainfo(pstapriv, psta_addr);
249 if (psta && psta->ieee8021x_blocked) {
296 struct sta_info **psta)
353 *psta = r8712_get_bcmc_stainfo(adapter);
355 *psta = r8712_get_stainfo(pstapriv, sta_addr); /* get ap_info */
356 if (!*psta) {
366 struct sta_info **psta)
403 *psta
294 sta2sta_data_frame(struct _adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta) argument
364 ap2sta_data_frame(struct _adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta) argument
425 sta2ap_data_frame(struct _adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta) argument
466 struct sta_info *psta = NULL; local
[all...]
H A Drtl871x_cmd.c495 void r8712_setstakey_cmd(struct _adapter *padapter, u8 *psta, u8 unicast_key) argument
503 struct sta_info *sta = (struct sta_info *)psta;
631 struct sta_info *psta = NULL; local
659 psta = r8712_get_stainfo(&padapter->stapriv, pnetwork->MacAddress);
660 if (!psta) {
661 psta = r8712_alloc_stainfo(&padapter->stapriv, pnetwork->MacAddress);
662 if (!psta)
696 struct sta_info *psta = r8712_get_stainfo(pstapriv, psetstakey_rsp->addr); local
698 if (!psta)
700 psta
713 struct sta_info *psta = r8712_get_stainfo(pstapriv, passocsta_parm->addr); local
[all...]
H A Drtl871x_mlme.c583 struct sta_info *psta; local
585 psta = r8712_get_stainfo(&adapter->stapriv,
589 r8712_free_stainfo(adapter, psta);
848 struct sta_info *psta; local
855 psta = r8712_get_stainfo(&adapter->stapriv, pstassoc->macaddr);
856 if (psta) {
864 psta = r8712_alloc_stainfo(&adapter->stapriv, pstassoc->macaddr);
865 if (!psta)
868 psta->qos_option = 0;
869 psta
889 struct sta_info *psta; local
958 struct sta_info *psta; local
1643 struct sta_info *bmc_sta, *psta; local
[all...]
H A Drtl871x_security.h140 #define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst) \
152 encry_algo = (u8)psta->XPrivacy; \
/linux-master/drivers/staging/rtl8723bs/include/
H A Drtw_ap.h14 void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level);
16 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta);
24 u8 rtw_ap_set_pairwise_key(struct adapter *padapter, struct sta_info *psta);
29 void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta);
30 u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta);
31 void sta_info_update(struct adapter *padapter, struct sta_info *psta);
32 void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta);
33 u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta, bool active, u16 reason);
H A Drtw_mlme_ext.h289 struct sta_info *psta; member in struct:FW_Sta_Info
467 extern void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta);
472 u8 networktype_to_raid_ex(struct adapter *adapter, struct sta_info *psta);
540 void VCS_update(struct adapter *padapter, struct sta_info *psta);
541 void update_ldpc_stbc_cap(struct sta_info *psta);
543 void update_beacon_info(struct adapter *padapter, u8 *pframe, uint len, struct sta_info *psta);
548 void update_sta_basic_rate(struct sta_info *psta, u8 wireless_mode);
552 void update_sta_info(struct adapter *padapter, struct sta_info *psta);
553 void Update_RA_Entry(struct adapter *padapter, struct sta_info *psta);
554 void set_sta_rate(struct adapter *padapter, struct sta_info *psta);
[all...]
H A Drtw_xmit.h179 struct sta_info *psta; member in struct:pkt_attrib
450 struct tx_servq *rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, signed int up, u8 *ac);
478 void stop_sta_xmit(struct adapter *padapter, struct sta_info *psta);
479 void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta);
480 void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta);
482 u8 query_ra_short_GI(struct sta_info *psta);
/linux-master/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_linux.c137 struct sta_info *psta, *pbcmc_sta; local
141 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv));
142 if (!psta) {
147 psta->ieee8021x_blocked = false;
151 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm;
155 memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : param->u.crypt.key_len));
159 memcpy(psta->dot11tkiptxmickey.skey, &param->u.crypt.key[16], 8);
160 memcpy(psta->dot11tkiprxmickey.skey, &param->u.crypt.key[24], 8);
166 rtw_setstakey_cmd(padapter, psta, true, true);
518 struct sta_info *psta local
785 struct sta_info *psta = NULL; local
850 struct sta_info *psta = NULL; local
887 struct sta_info *psta = NULL; local
946 struct sta_info *psta = NULL; local
[all...]
H A Dxmit_linux.c129 struct sta_info *psta = NULL; local
144 psta = list_entry(plist, struct sta_info, asoc_list);
146 stainfo_offset = rtw_stainfo_offset(pstapriv, psta);
154 psta = rtw_get_stainfo_by_offset(pstapriv, chk_alive_list[i]);
155 if (!(psta->state & _FW_LINKED))
159 if (!memcmp(psta->hwaddr, &skb->data[6], 6) ||
160 !memcmp(psta->hwaddr, null_addr, 6) ||
161 !memcmp(psta->hwaddr, bc_addr, 6))
167 memcpy(newskb->data, psta->hwaddr, 6);
H A Dioctl_cfg80211.c498 struct sta_info *psta = NULL, *pbcmc_sta = NULL; local
523 psta = rtw_get_stainfo(pstapriv, param->sta_addr);
524 if (!psta)
529 if (strcmp(param->u.crypt.alg, "none") == 0 && !psta)
532 if (strcmp(param->u.crypt.alg, "WEP") == 0 && !psta) {
570 if (!psta && check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
618 if (psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X && psta) { /* psk/802_1x */
621 memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : param->u.crypt.key_len));
624 psta->dot118021XPrivacy = _WEP40_;
626 psta
769 struct sta_info *psta, *pbcmc_sta; local
980 struct sta_info *psta = NULL; local
2349 struct sta_info *psta = NULL; local
2412 struct sta_info *psta = NULL; local
2435 struct sta_info *psta = NULL; local
[all...]
H A Drecv_linux.c102 struct sta_info *psta = NULL; local
108 psta = rtw_get_bcmc_stainfo(padapter);
111 psta = rtw_get_stainfo(pstapriv, pattrib->dst);
114 if (psta) {
/linux-master/drivers/staging/rtl8723bs/hal/
H A Drtl8723b_dm.c191 struct sta_info *psta = NULL; local
198 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv));
199 if (psta && (psta->rssi_stat.UndecoratedSmoothedPWDB > 0)) {
200 PWDB_rssi = (psta->mac_id | (psta->rssi_stat.UndecoratedSmoothedPWDB<<16));
216 struct sta_info *psta = NULL; local
238 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv));
239 if (!psta)
242 pdmpriv->EntryMinUndecoratedSmoothedPWDB = psta
[all...]
H A Drtl8723bs_recv.c101 struct sta_info *psta; local
123 psta = rtw_get_stainfo(pstapriv, sa);
124 if (psta)
125 pkt_info.station_id = psta->mac_id;
133 if (psta)
134 psta->rssi = pattrib->phy_info.RecvSignalPower;
136 precvframe->u.hdr.psta = NULL;
141 if (psta) {
142 precvframe->u.hdr.psta = psta;
[all...]
H A Dhal_com.c546 void rtw_hal_update_sta_rate_mask(struct adapter *padapter, struct sta_info *psta) argument
551 if (!psta)
557 for (i = 0; i < sizeof(psta->bssrateset); i++) {
558 if (psta->bssrateset[i])
559 tx_ra_bitmap |= rtw_get_bit_value_from_ieee_value(psta->bssrateset[i]&0x7f);
563 if (psta->htpriv.ht_option) {
567 if (psta->htpriv.ht_cap.mcs.rx_mask[i/8] & BIT(i%8))
572 psta->ra_mask = tx_ra_bitmap;
573 psta->init_rate = get_highest_rate_idx(tx_ra_bitmap)&0x3f;
762 struct sta_info *psta; local
826 struct sta_info *psta = pValue1; local
[all...]

Completed in 412 milliseconds

123