padapter 392 drivers/i2c/busses/i2c-iop3xx.c struct i2c_adapter *padapter = platform_get_drvdata(pdev); padapter 394 drivers/i2c/busses/i2c-iop3xx.c (struct i2c_algo_iop3xx_data *)padapter->algo_data; padapter 408 drivers/i2c/busses/i2c-iop3xx.c kfree(padapter); padapter 67 drivers/net/wireless/marvell/mwifiex/main.c struct mwifiex_if_ops *if_ops, void **padapter) padapter 76 drivers/net/wireless/marvell/mwifiex/main.c *padapter = adapter; padapter 19 drivers/staging/rtl8188eu/core/rtw_ap.c void init_mlme_ap_info(struct adapter *padapter) padapter 21 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 22 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 30 drivers/staging/rtl8188eu/core/rtw_ap.c start_ap_mode(padapter); padapter 33 drivers/staging/rtl8188eu/core/rtw_ap.c void free_mlme_ap_info(struct adapter *padapter) padapter 36 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 37 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 38 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 44 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_sta_flush(padapter); padapter 49 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_free_all_stainfo(padapter); padapter 52 drivers/staging/rtl8188eu/core/rtw_ap.c psta = rtw_get_bcmc_stainfo(padapter); padapter 54 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_free_stainfo(padapter, psta); padapter 58 drivers/staging/rtl8188eu/core/rtw_ap.c static void update_BCNTIM(struct adapter *padapter) padapter 60 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 61 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 145 drivers/staging/rtl8188eu/core/rtw_ap.c set_tx_beacon_cmd(padapter); padapter 165 drivers/staging/rtl8188eu/core/rtw_ap.c void expire_timeout_chk(struct adapter *padapter) padapter 170 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 197 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_free_stainfo(padapter, psta); padapter 227 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 229 drivers/staging/rtl8188eu/core/rtw_ap.c if (padapter->registrypriv.wifi_spec == 1) { padapter 246 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, _TIM_IE_, NULL, padapter 268 drivers/staging/rtl8188eu/core/rtw_ap.c updated = ap_free_sta(padapter, psta, true, WLAN_REASON_DEAUTH_LEAVING); padapter 272 drivers/staging/rtl8188eu/core/rtw_ap.c padapter->xmitpriv.free_xmitframe_cnt < (NR_XMITFRAME / pstapriv->asoc_list_cnt / 2)) { padapter 275 drivers/staging/rtl8188eu/core/rtw_ap.c padapter->xmitpriv.free_xmitframe_cnt, padapter 277 drivers/staging/rtl8188eu/core/rtw_ap.c wakeup_sta_to_xmit(padapter, psta); padapter 286 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 288 drivers/staging/rtl8188eu/core/rtw_ap.c if (rtw_get_oper_ch(padapter) != pmlmeext->cur_channel) { padapter 289 drivers/staging/rtl8188eu/core/rtw_ap.c backup_oper_channel = rtw_get_oper_ch(padapter); padapter 290 drivers/staging/rtl8188eu/core/rtw_ap.c SelectChannel(padapter, pmlmeext->cur_channel); padapter 300 drivers/staging/rtl8188eu/core/rtw_ap.c ret = issue_nulldata(padapter, psta->hwaddr, 0, 1, 50); padapter 302 drivers/staging/rtl8188eu/core/rtw_ap.c ret = issue_nulldata(padapter, psta->hwaddr, 0, 3, 50); padapter 322 drivers/staging/rtl8188eu/core/rtw_ap.c updated = ap_free_sta(padapter, psta, true, WLAN_REASON_DEAUTH_LEAVING); padapter 327 drivers/staging/rtl8188eu/core/rtw_ap.c SelectChannel(padapter, backup_oper_channel); padapter 330 drivers/staging/rtl8188eu/core/rtw_ap.c associated_clients_update(padapter, updated); padapter 333 drivers/staging/rtl8188eu/core/rtw_ap.c void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) padapter 395 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_add_ra_tid(padapter, tx_ra_bitmap, arg, rssi_level); padapter 409 drivers/staging/rtl8188eu/core/rtw_ap.c static void update_bmc_sta(struct adapter *padapter) padapter 415 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 417 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_info *psta = rtw_get_bcmc_stainfo(padapter); padapter 457 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, true); padapter 471 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_add_ra_tid(padapter, tx_ra_bitmap, arg, 0); padapter 477 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_stassoc_hw_rpt(padapter, psta); padapter 495 drivers/staging/rtl8188eu/core/rtw_ap.c void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta) padapter 497 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 498 drivers/staging/rtl8188eu/core/rtw_ap.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 499 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 507 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, true); padapter 517 drivers/staging/rtl8188eu/core/rtw_ap.c VCS_update(padapter, psta); padapter 545 drivers/staging/rtl8188eu/core/rtw_ap.c send_delba(padapter, 0, psta->hwaddr);/* recipient */ padapter 548 drivers/staging/rtl8188eu/core/rtw_ap.c send_delba(padapter, 1, psta->hwaddr);/* originator */ padapter 561 drivers/staging/rtl8188eu/core/rtw_ap.c static void update_hw_ht_param(struct adapter *padapter) padapter 565 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 579 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_AMPDU_MIN_SPACE, (u8 *)(&min_MPDU_spacing)); padapter 581 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_AMPDU_FACTOR, (u8 *)(&max_AMPDU_len)); padapter 591 drivers/staging/rtl8188eu/core/rtw_ap.c static void start_bss_network(struct adapter *padapter, u8 *pbuf) padapter 598 drivers/staging/rtl8188eu/core/rtw_ap.c struct registry_priv *pregpriv = &padapter->registrypriv; padapter 599 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 600 drivers/staging/rtl8188eu/core/rtw_ap.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 602 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 627 drivers/staging/rtl8188eu/core/rtw_ap.c update_hw_ht_param(padapter); padapter 637 drivers/staging/rtl8188eu/core/rtw_ap.c flush_all_cam_entry(padapter); /* clear CAM */ padapter 641 drivers/staging/rtl8188eu/core/rtw_ap.c Set_MSR(padapter, _HW_STATE_AP_); padapter 644 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_BSSID, pnetwork->MacAddress); padapter 648 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_VO, (u8 *)(&acparm)); padapter 650 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_VI, (u8 *)(&acparm)); padapter 652 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_BE, (u8 *)(&acparm)); padapter 654 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_BK, (u8 *)(&acparm)); padapter 658 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); padapter 661 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_BEACON_INTERVAL, (u8 *)(&bcn_interval)); padapter 663 drivers/staging/rtl8188eu/core/rtw_ap.c UpdateBrateTbl(padapter, pnetwork->SupportedRates); padapter 664 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_BASIC_RATE, pnetwork->SupportedRates); padapter 668 drivers/staging/rtl8188eu/core/rtw_ap.c Switch_DM_Func(padapter, DYNAMIC_ALL_FUNC_ENABLE, true); padapter 694 drivers/staging/rtl8188eu/core/rtw_ap.c set_channel_bwmode(padapter, cur_channel, cur_ch_offset, cur_bwmode); padapter 705 drivers/staging/rtl8188eu/core/rtw_ap.c update_wireless_mode(padapter); padapter 708 drivers/staging/rtl8188eu/core/rtw_ap.c update_capinfo(padapter, rtw_get_capability((struct wlan_bssid_ex *)pnetwork)); padapter 714 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, _TIM_IE_, NULL, false); padapter 717 drivers/staging/rtl8188eu/core/rtw_ap.c if (send_beacon(padapter) == _FAIL) padapter 722 drivers/staging/rtl8188eu/core/rtw_ap.c update_bmc_sta(padapter); padapter 725 drivers/staging/rtl8188eu/core/rtw_ap.c int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len) padapter 739 drivers/staging/rtl8188eu/core/rtw_ap.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 740 drivers/staging/rtl8188eu/core/rtw_ap.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 741 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 775 drivers/staging/rtl8188eu/core/rtw_ap.c ether_addr_copy(pbss_network->MacAddress, myid(&padapter->eeprompriv)); padapter 823 drivers/staging/rtl8188eu/core/rtw_ap.c ERP_IE_handler(padapter, (struct ndis_802_11_var_ie *)p); padapter 968 drivers/staging/rtl8188eu/core/rtw_ap.c HT_caps_handler(padapter, (struct ndis_802_11_var_ie *)pHT_caps_ie); padapter 970 drivers/staging/rtl8188eu/core/rtw_ap.c HT_info_handler(padapter, (struct ndis_802_11_var_ie *)pHT_info_ie); padapter 976 drivers/staging/rtl8188eu/core/rtw_ap.c start_bss_network(padapter, (u8 *)pbss_network); padapter 979 drivers/staging/rtl8188eu/core/rtw_ap.c psta = rtw_get_stainfo(&padapter->stapriv, pbss_network->MacAddress); padapter 981 drivers/staging/rtl8188eu/core/rtw_ap.c psta = rtw_alloc_stainfo(&padapter->stapriv, pbss_network->MacAddress); padapter 988 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_indicate_connect(padapter); padapter 993 drivers/staging/rtl8188eu/core/rtw_ap.c void rtw_set_macaddr_acl(struct adapter *padapter, int mode) padapter 995 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1003 drivers/staging/rtl8188eu/core/rtw_ap.c int rtw_acl_add_sta(struct adapter *padapter, u8 *addr) padapter 1009 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1068 drivers/staging/rtl8188eu/core/rtw_ap.c int rtw_acl_remove_sta(struct adapter *padapter, u8 *addr) padapter 1072 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1104 drivers/staging/rtl8188eu/core/rtw_ap.c static void update_bcn_erpinfo_ie(struct adapter *padapter) padapter 1106 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1107 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1136 drivers/staging/rtl8188eu/core/rtw_ap.c ERP_IE_handler(padapter, pIE); padapter 1140 drivers/staging/rtl8188eu/core/rtw_ap.c static void update_bcn_wps_ie(struct adapter *padapter) padapter 1145 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1146 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1191 drivers/staging/rtl8188eu/core/rtw_ap.c static void update_bcn_vendor_spec_ie(struct adapter *padapter, u8 *oui) padapter 1196 drivers/staging/rtl8188eu/core/rtw_ap.c update_bcn_wps_ie(padapter); padapter 1201 drivers/staging/rtl8188eu/core/rtw_ap.c void update_beacon(struct adapter *padapter, u8 ie_id, u8 *oui, u8 tx) padapter 1206 drivers/staging/rtl8188eu/core/rtw_ap.c if (!padapter) padapter 1209 drivers/staging/rtl8188eu/core/rtw_ap.c pmlmepriv = &padapter->mlmepriv; padapter 1210 drivers/staging/rtl8188eu/core/rtw_ap.c pmlmeext = &padapter->mlmeextpriv; padapter 1219 drivers/staging/rtl8188eu/core/rtw_ap.c update_BCNTIM(padapter); padapter 1222 drivers/staging/rtl8188eu/core/rtw_ap.c update_bcn_erpinfo_ie(padapter); padapter 1225 drivers/staging/rtl8188eu/core/rtw_ap.c update_bcn_vendor_spec_ie(padapter, oui); padapter 1236 drivers/staging/rtl8188eu/core/rtw_ap.c set_tx_beacon_cmd(padapter); padapter 1251 drivers/staging/rtl8188eu/core/rtw_ap.c static int rtw_ht_operation_update(struct adapter *padapter) padapter 1255 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1319 drivers/staging/rtl8188eu/core/rtw_ap.c void associated_clients_update(struct adapter *padapter, u8 updated) padapter 1325 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1338 drivers/staging/rtl8188eu/core/rtw_ap.c VCS_update(padapter, psta); padapter 1345 drivers/staging/rtl8188eu/core/rtw_ap.c void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta) padapter 1348 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1349 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1360 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, 0xFF, NULL, true); padapter 1372 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, 0xFF, NULL, true); padapter 1385 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, _ERPINFO_IE_, NULL, true); padapter 1396 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, _ERPINFO_IE_, NULL, true); padapter 1410 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, 0xFF, NULL, true); padapter 1422 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, 0xFF, NULL, true); padapter 1469 drivers/staging/rtl8188eu/core/rtw_ap.c if (rtw_ht_operation_update(padapter) > 0) { padapter 1470 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, _HT_CAPABILITY_IE_, NULL, false); padapter 1471 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, _HT_ADD_INFO_IE_, NULL, true); padapter 1475 drivers/staging/rtl8188eu/core/rtw_ap.c associated_clients_update(padapter, beacon_updated); padapter 1480 drivers/staging/rtl8188eu/core/rtw_ap.c u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta) padapter 1483 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1484 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1495 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, 0xFF, NULL, true); padapter 1504 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, _ERPINFO_IE_, NULL, true); padapter 1514 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, 0xFF, NULL, true); padapter 1533 drivers/staging/rtl8188eu/core/rtw_ap.c if (rtw_ht_operation_update(padapter) > 0) { padapter 1534 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, _HT_CAPABILITY_IE_, NULL, false); padapter 1535 drivers/staging/rtl8188eu/core/rtw_ap.c update_beacon(padapter, _HT_ADD_INFO_IE_, NULL, true); padapter 1545 drivers/staging/rtl8188eu/core/rtw_ap.c u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta, padapter 1549 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1555 drivers/staging/rtl8188eu/core/rtw_ap.c send_delba(padapter, 0, psta->hwaddr);/* recipient */ padapter 1558 drivers/staging/rtl8188eu/core/rtw_ap.c send_delba(padapter, 1, psta->hwaddr);/* originator */ padapter 1563 drivers/staging/rtl8188eu/core/rtw_ap.c issue_deauth(padapter, psta->hwaddr, reason); padapter 1566 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_clearstakey_cmd(padapter, (u8 *)psta, (u8)(psta->mac_id + 3), true); padapter 1572 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_indicate_sta_disassoc_event(padapter, psta); padapter 1574 drivers/staging/rtl8188eu/core/rtw_ap.c report_del_sta_event(padapter, psta->hwaddr, reason); padapter 1576 drivers/staging/rtl8188eu/core/rtw_ap.c beacon_updated = bss_cap_update_on_sta_leave(padapter, psta); padapter 1579 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_free_stainfo(padapter, psta); padapter 1585 drivers/staging/rtl8188eu/core/rtw_ap.c int rtw_sta_flush(struct adapter *padapter) padapter 1589 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1590 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1594 drivers/staging/rtl8188eu/core/rtw_ap.c DBG_88E(FUNC_NDEV_FMT"\n", FUNC_NDEV_ARG(padapter->pnetdev)); padapter 1612 drivers/staging/rtl8188eu/core/rtw_ap.c ap_free_sta(padapter, psta, true, WLAN_REASON_DEAUTH_LEAVING); padapter 1616 drivers/staging/rtl8188eu/core/rtw_ap.c issue_deauth(padapter, bc_addr, WLAN_REASON_DEAUTH_LEAVING); padapter 1618 drivers/staging/rtl8188eu/core/rtw_ap.c associated_clients_update(padapter, true); padapter 1624 drivers/staging/rtl8188eu/core/rtw_ap.c void sta_info_update(struct adapter *padapter, struct sta_info *psta) padapter 1627 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1649 drivers/staging/rtl8188eu/core/rtw_ap.c update_sta_info_apmode(padapter, psta); padapter 1653 drivers/staging/rtl8188eu/core/rtw_ap.c void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta) padapter 1657 drivers/staging/rtl8188eu/core/rtw_ap.c add_RATid(padapter, psta, 0);/* DM_RATR_STA_INIT */ padapter 1661 drivers/staging/rtl8188eu/core/rtw_ap.c void start_ap_mode(struct adapter *padapter) padapter 1664 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1665 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1666 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1706 drivers/staging/rtl8188eu/core/rtw_ap.c void stop_ap_mode(struct adapter *padapter) padapter 1711 drivers/staging/rtl8188eu/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1712 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1713 drivers/staging/rtl8188eu/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1723 drivers/staging/rtl8188eu/core/rtw_ap.c memset((unsigned char *)&padapter->securitypriv, 0, sizeof(struct security_priv)); padapter 1724 drivers/staging/rtl8188eu/core/rtw_ap.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; padapter 1725 drivers/staging/rtl8188eu/core/rtw_ap.c padapter->securitypriv.ndisencryptstatus = Ndis802_11WEPDisabled; padapter 1747 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_sta_flush(padapter); padapter 1750 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_free_all_stainfo(padapter); padapter 1752 drivers/staging/rtl8188eu/core/rtw_ap.c psta = rtw_get_bcmc_stainfo(padapter); padapter 1754 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_free_stainfo(padapter, psta); padapter 1757 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_init_bcmc_stainfo(padapter); padapter 75 drivers/staging/rtl8188eu/core/rtw_cmd.c if ((pcmdpriv->padapter->pwrctrlpriv.bHWPwrPindetect) && padapter 76 drivers/staging/rtl8188eu/core/rtw_cmd.c (!pcmdpriv->padapter->registrypriv.usbss_enable)) { padapter 88 drivers/staging/rtl8188eu/core/rtw_cmd.c if ((!pcmdpriv->padapter->hw_init_completed && !bAllow) || padapter 97 drivers/staging/rtl8188eu/core/rtw_cmd.c struct adapter *padapter = pcmdpriv->padapter; padapter 102 drivers/staging/rtl8188eu/core/rtw_cmd.c cmd_obj->padapter = padapter; padapter 142 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 (*cmd_hdl)(struct adapter *padapter, u8 *pbuf); padapter 144 drivers/staging/rtl8188eu/core/rtw_cmd.c struct adapter *padapter = context; padapter 145 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 159 drivers/staging/rtl8188eu/core/rtw_cmd.c if (padapter->bDriverStopped || padapter 160 drivers/staging/rtl8188eu/core/rtw_cmd.c padapter->bSurpriseRemoved) { padapter 162 drivers/staging/rtl8188eu/core/rtw_cmd.c __func__, padapter->bDriverStopped, padapter->bSurpriseRemoved, __LINE__); padapter 166 drivers/staging/rtl8188eu/core/rtw_cmd.c if (padapter->bDriverStopped || padapter 167 drivers/staging/rtl8188eu/core/rtw_cmd.c padapter->bSurpriseRemoved) { padapter 169 drivers/staging/rtl8188eu/core/rtw_cmd.c __func__, padapter->bDriverStopped, padapter->bSurpriseRemoved, __LINE__); padapter 184 drivers/staging/rtl8188eu/core/rtw_cmd.c ret = cmd_hdl(pcmd->padapter, pcmd->parmbuf); padapter 202 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd_callback(pcmd->padapter, pcmd);/* need conider that free cmd_obj in rtw_cmd_callback */ padapter 231 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_sitesurvey_cmd(struct adapter *padapter, struct ndis_802_11_ssid *ssid, int ssid_num, padapter 237 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 238 drivers/staging/rtl8188eu/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 241 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_SCAN, 1); padapter 253 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_free_network_queue(padapter, false); padapter 293 drivers/staging/rtl8188eu/core/rtw_cmd.c led_control_8188eu(padapter, LED_CTL_SITE_SURVEY); padapter 303 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_readtssi_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd) padapter 309 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_createbss_cmd(struct adapter *padapter) padapter 312 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 313 drivers/staging/rtl8188eu/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 314 drivers/staging/rtl8188eu/core/rtw_cmd.c struct wlan_bssid_ex *pdev_network = &padapter->registrypriv.dev_network; padapter 317 drivers/staging/rtl8188eu/core/rtw_cmd.c led_control_8188eu(padapter, LED_CTL_START_TO_LINK); padapter 343 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network *pnetwork) padapter 349 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 350 drivers/staging/rtl8188eu/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 352 drivers/staging/rtl8188eu/core/rtw_cmd.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 353 drivers/staging/rtl8188eu/core/rtw_cmd.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 356 drivers/staging/rtl8188eu/core/rtw_cmd.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 359 drivers/staging/rtl8188eu/core/rtw_cmd.c led_control_8188eu(padapter, LED_CTL_START_TO_LINK); padapter 422 drivers/staging/rtl8188eu/core/rtw_cmd.c psecnetwork->ie_length = rtw_restruct_sec_ie(padapter, &pnetwork->network.ies[0], &psecnetwork->ies[0], pnetwork->network.ie_length); padapter 429 drivers/staging/rtl8188eu/core/rtw_cmd.c tmp_len = rtw_restruct_wmm_ie(padapter, &pnetwork->network.ies[0], &psecnetwork->ies[0], pnetwork->network.ie_length, psecnetwork->ie_length); padapter 447 drivers/staging/rtl8188eu/core/rtw_cmd.c if ((padapter->securitypriv.dot11PrivacyAlgrthm != _WEP40_) && padapter 448 drivers/staging/rtl8188eu/core/rtw_cmd.c (padapter->securitypriv.dot11PrivacyAlgrthm != _WEP104_) && padapter 449 drivers/staging/rtl8188eu/core/rtw_cmd.c (padapter->securitypriv.dot11PrivacyAlgrthm != _TKIP_)) { padapter 451 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_restructure_ht_ie(padapter, &pnetwork->network.ies[0], &psecnetwork->ies[0], padapter 459 drivers/staging/rtl8188eu/core/rtw_cmd.c padapter->pwrctrlpriv.smart_ps = 0; padapter 461 drivers/staging/rtl8188eu/core/rtw_cmd.c padapter->pwrctrlpriv.smart_ps = padapter->registrypriv.smart_ps; padapter 463 drivers/staging/rtl8188eu/core/rtw_cmd.c DBG_88E("%s: smart_ps =%d\n", __func__, padapter->pwrctrlpriv.smart_ps); padapter 480 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_disassoc_cmd(struct adapter *padapter, u32 deauth_timeout_ms, bool enqueue) /* for sta_mode */ padapter 484 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *cmdpriv = &padapter->cmdpriv; padapter 509 drivers/staging/rtl8188eu/core/rtw_cmd.c if (disconnect_hdl(padapter, (u8 *)param) != H2C_SUCCESS) padapter 519 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_setopmode_cmd(struct adapter *padapter, enum ndis_802_11_network_infra networktype) padapter 524 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 540 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_setstakey_cmd(struct adapter *padapter, u8 *psta, u8 unicast_key) padapter 544 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 547 drivers/staging/rtl8188eu/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 548 drivers/staging/rtl8188eu/core/rtw_cmd.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 579 drivers/staging/rtl8188eu/core/rtw_cmd.c padapter->securitypriv.busetkipkey = true; padapter 584 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_clearstakey_cmd(struct adapter *padapter, u8 *psta, u8 entry, u8 enqueue) padapter 588 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 594 drivers/staging/rtl8188eu/core/rtw_cmd.c clear_cam_entry(padapter, entry); padapter 634 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_addbareq_cmd(struct adapter *padapter, u8 tid, u8 *addr) padapter 636 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 666 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_dynamic_chk_wk_cmd(struct adapter *padapter) padapter 670 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 688 drivers/staging/rtl8188eu/core/rtw_cmd.c pdrvextra_cmd_parm->pbuf = (u8 *)padapter; padapter 697 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_set_chplan_cmd(struct adapter *padapter, u8 chplan, u8 enqueue) padapter 701 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 734 drivers/staging/rtl8188eu/core/rtw_cmd.c if (set_chplan_hdl(padapter, (unsigned char *)setChannelPlan_param) != H2C_SUCCESS) padapter 741 drivers/staging/rtl8188eu/core/rtw_cmd.c padapter->mlmepriv.ChannelPlan = chplan; padapter 748 drivers/staging/rtl8188eu/core/rtw_cmd.c static void traffic_status_watchdog(struct adapter *padapter) padapter 753 drivers/staging/rtl8188eu/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 789 drivers/staging/rtl8188eu/core/rtw_cmd.c LPS_Enter(padapter); padapter 791 drivers/staging/rtl8188eu/core/rtw_cmd.c LPS_Leave(padapter); padapter 793 drivers/staging/rtl8188eu/core/rtw_cmd.c LPS_Leave(padapter); padapter 807 drivers/staging/rtl8188eu/core/rtw_cmd.c static void dynamic_chk_wk_hdl(struct adapter *padapter, u8 *pbuf, int sz) padapter 811 drivers/staging/rtl8188eu/core/rtw_cmd.c padapter = (struct adapter *)pbuf; padapter 812 drivers/staging/rtl8188eu/core/rtw_cmd.c pmlmepriv = &padapter->mlmepriv; padapter 816 drivers/staging/rtl8188eu/core/rtw_cmd.c expire_timeout_chk(padapter); padapter 819 drivers/staging/rtl8188eu/core/rtw_cmd.c linked_status_chk(padapter); padapter 820 drivers/staging/rtl8188eu/core/rtw_cmd.c traffic_status_watchdog(padapter); padapter 822 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_hal_dm_watchdog(padapter); padapter 825 drivers/staging/rtl8188eu/core/rtw_cmd.c static void lps_ctrl_wk_hdl(struct adapter *padapter, u8 lps_ctrl_type) padapter 827 drivers/staging/rtl8188eu/core/rtw_cmd.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 828 drivers/staging/rtl8188eu/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 839 drivers/staging/rtl8188eu/core/rtw_cmd.c LPS_Leave(padapter); padapter 843 drivers/staging/rtl8188eu/core/rtw_cmd.c LPS_Leave(padapter); padapter 848 drivers/staging/rtl8188eu/core/rtw_cmd.c padapter->pwrctrlpriv.LpsIdleCount = 0; padapter 849 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_JOINBSSRPT, (u8 *)(&mstatus)); padapter 853 drivers/staging/rtl8188eu/core/rtw_cmd.c LPS_Leave(padapter); padapter 854 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_JOINBSSRPT, (u8 *)(&mstatus)); padapter 858 drivers/staging/rtl8188eu/core/rtw_cmd.c LPS_Leave(padapter); padapter 861 drivers/staging/rtl8188eu/core/rtw_cmd.c LPS_Leave(padapter); padapter 868 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_lps_ctrl_wk_cmd(struct adapter *padapter, u8 lps_ctrl_type, u8 enqueue) padapter 872 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 897 drivers/staging/rtl8188eu/core/rtw_cmd.c lps_ctrl_wk_hdl(padapter, lps_ctrl_type); padapter 905 drivers/staging/rtl8188eu/core/rtw_cmd.c static void rpt_timer_setting_wk_hdl(struct adapter *padapter, u16 min_time) padapter 907 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_hal_set_hwreg(padapter, HW_VAR_RPT_TIMER_SETTING, (u8 *)(&min_time)); padapter 910 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_rpt_timer_cfg_cmd(struct adapter *padapter, u16 min_time) padapter 914 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 941 drivers/staging/rtl8188eu/core/rtw_cmd.c static void antenna_select_wk_hdl(struct adapter *padapter, u8 antenna) padapter 943 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_hal_set_hwreg(padapter, HW_VAR_ANTENNA_DIVERSITY_SELECT, (u8 *)(&antenna)); padapter 946 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_antenna_select_cmd(struct adapter *padapter, u8 antenna, u8 enqueue) padapter 950 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 954 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_hal_get_def_var(padapter, HAL_DEF_IS_SUPPORT_ANT_DIV, &support_ant_div); padapter 979 drivers/staging/rtl8188eu/core/rtw_cmd.c antenna_select_wk_hdl(padapter, antenna); padapter 986 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_ps_cmd(struct adapter *padapter) padapter 990 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1009 drivers/staging/rtl8188eu/core/rtw_cmd.c static void rtw_chk_hi_queue_hdl(struct adapter *padapter) padapter 1013 drivers/staging/rtl8188eu/core/rtw_cmd.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1015 drivers/staging/rtl8188eu/core/rtw_cmd.c psta_bmc = rtw_get_bcmc_stainfo(padapter); padapter 1022 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_hal_get_hwreg(padapter, HW_VAR_CHK_HI_QUEUE_EMPTY, &val); padapter 1032 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_hal_get_hwreg(padapter, HW_VAR_CHK_HI_QUEUE_EMPTY, &val); padapter 1039 drivers/staging/rtl8188eu/core/rtw_cmd.c update_beacon(padapter, _TIM_IE_, NULL, false); padapter 1041 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_chk_hi_queue_cmd(padapter); padapter 1046 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_chk_hi_queue_cmd(struct adapter *padapter) padapter 1050 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1078 drivers/staging/rtl8188eu/core/rtw_cmd.c u8 rtw_drvextra_cmd_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 1089 drivers/staging/rtl8188eu/core/rtw_cmd.c dynamic_chk_wk_hdl(padapter, pdrvextra_cmd->pbuf, pdrvextra_cmd->type_size); padapter 1092 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_ps_processor(padapter); padapter 1095 drivers/staging/rtl8188eu/core/rtw_cmd.c lps_ctrl_wk_hdl(padapter, (u8)pdrvextra_cmd->type_size); padapter 1098 drivers/staging/rtl8188eu/core/rtw_cmd.c rpt_timer_setting_wk_hdl(padapter, pdrvextra_cmd->type_size); padapter 1101 drivers/staging/rtl8188eu/core/rtw_cmd.c antenna_select_wk_hdl(padapter, pdrvextra_cmd->type_size); padapter 1105 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_chk_hi_queue_hdl(padapter); padapter 1118 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_survey_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) padapter 1120 drivers/staging/rtl8188eu/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1137 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_disassoc_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) padapter 1139 drivers/staging/rtl8188eu/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1154 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_joinbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) padapter 1156 drivers/staging/rtl8188eu/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1172 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_createbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) padapter 1176 drivers/staging/rtl8188eu/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1192 drivers/staging/rtl8188eu/core/rtw_cmd.c psta = rtw_get_stainfo(&padapter->stapriv, pnetwork->MacAddress); padapter 1194 drivers/staging/rtl8188eu/core/rtw_cmd.c psta = rtw_alloc_stainfo(&padapter->stapriv, pnetwork->MacAddress); padapter 1201 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_indicate_connect(padapter); padapter 1238 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_setstaKey_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd) padapter 1240 drivers/staging/rtl8188eu/core/rtw_cmd.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1252 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_setassocsta_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd) padapter 1254 drivers/staging/rtl8188eu/core/rtw_cmd.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1255 drivers/staging/rtl8188eu/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 36 drivers/staging/rtl8188eu/core/rtw_debug.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 54 drivers/staging/rtl8188eu/core/rtw_debug.c usb_write8(padapter, addr, (u8)val); padapter 57 drivers/staging/rtl8188eu/core/rtw_debug.c usb_write16(padapter, addr, (u16)val); padapter 60 drivers/staging/rtl8188eu/core/rtw_debug.c usb_write32(padapter, addr, val); padapter 78 drivers/staging/rtl8188eu/core/rtw_debug.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 89 drivers/staging/rtl8188eu/core/rtw_debug.c len += snprintf(page + len, count - len, "usb_read8(0x%x)=0x%x\n", proc_get_read_addr, usb_read8(padapter, proc_get_read_addr)); padapter 92 drivers/staging/rtl8188eu/core/rtw_debug.c len += snprintf(page + len, count - len, "usb_read16(0x%x)=0x%x\n", proc_get_read_addr, usb_read16(padapter, proc_get_read_addr)); padapter 95 drivers/staging/rtl8188eu/core/rtw_debug.c len += snprintf(page + len, count - len, "usb_read32(0x%x)=0x%x\n", proc_get_read_addr, usb_read32(padapter, proc_get_read_addr)); padapter 138 drivers/staging/rtl8188eu/core/rtw_debug.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 142 drivers/staging/rtl8188eu/core/rtw_debug.c padapter->bSurpriseRemoved, padapter->bDriverStopped); padapter 153 drivers/staging/rtl8188eu/core/rtw_debug.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 154 drivers/staging/rtl8188eu/core/rtw_debug.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 285 drivers/staging/rtl8188eu/core/rtw_efuse.c static s32 iol_read_efuse(struct adapter *padapter, u8 txpktbuf_bndy, u16 offset, u16 size_byte, u8 *logical_map) padapter 291 drivers/staging/rtl8188eu/core/rtw_efuse.c usb_write8(padapter, REG_TDECTRL + 1, txpktbuf_bndy); padapter 293 drivers/staging/rtl8188eu/core/rtw_efuse.c usb_write8(padapter, REG_PKT_BUFF_ACCESS_CTRL, TXPKT_BUF_SELECT); padapter 294 drivers/staging/rtl8188eu/core/rtw_efuse.c status = iol_execute(padapter, CMD_READ_EFUSE_MAP); padapter 296 drivers/staging/rtl8188eu/core/rtw_efuse.c efuse_read_phymap_from_txpktbuf(padapter, txpktbuf_bndy, physical_map, &size); padapter 14 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c extern void indicate_wx_scan_complete_event(struct adapter *padapter); padapter 16 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c u8 rtw_do_join(struct adapter *padapter) padapter 20 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 49 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c ret = rtw_sitesurvey_cmd(padapter, &pmlmepriv->assoc_ssid, 1, NULL, 0); padapter 74 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c struct wlan_bssid_ex *pdev_network = &padapter->registrypriv.dev_network; padapter 78 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c pibss = padapter->registrypriv.dev_network.MacAddress; padapter 82 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_update_registrypriv_dev_network(padapter); padapter 86 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c if (rtw_createbss_cmd(padapter) != _SUCCESS) { padapter 103 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c ret = rtw_sitesurvey_cmd(padapter, &pmlmepriv->assoc_ssid, 1, NULL, 0); padapter 120 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c u8 rtw_set_802_11_bssid(struct adapter *padapter, u8 *bssid) padapter 124 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 155 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_disassoc_cmd(padapter, 0, true); padapter 158 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_indicate_disconnect(padapter); padapter 160 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_free_assoc_resources(padapter); padapter 172 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c if (padapter->securitypriv.btkip_countermeasure) { padapter 175 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c if (cur_time - padapter->securitypriv.btkip_countermeasure_time > 60 * HZ) { padapter 176 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c padapter->securitypriv.btkip_countermeasure = false; padapter 177 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c padapter->securitypriv.btkip_countermeasure_time = 0; padapter 190 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c status = rtw_do_join(padapter); padapter 202 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c u8 rtw_set_802_11_ssid(struct adapter *padapter, struct ndis_802_11_ssid *ssid) padapter 207 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 213 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c if (!padapter->hw_init_completed) { padapter 239 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c if (!rtw_is_same_ibss(padapter, pnetwork)) { padapter 241 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_disassoc_cmd(padapter, 0, true); padapter 244 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_indicate_disconnect(padapter); padapter 246 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_free_assoc_resources(padapter); padapter 256 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_JOINBSS, 1); padapter 263 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_disassoc_cmd(padapter, 0, true); padapter 266 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_indicate_disconnect(padapter); padapter 268 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_free_assoc_resources(padapter); padapter 279 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c if (padapter->securitypriv.btkip_countermeasure) { padapter 282 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c if (cur_time - padapter->securitypriv.btkip_countermeasure_time > 60 * HZ) { padapter 283 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c padapter->securitypriv.btkip_countermeasure = false; padapter 284 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c padapter->securitypriv.btkip_countermeasure_time = 0; padapter 297 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c status = rtw_do_join(padapter); padapter 308 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c u8 rtw_set_802_11_infrastructure_mode(struct adapter *padapter, padapter 311 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 330 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c stop_ap_mode(padapter); padapter 336 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_disassoc_cmd(padapter, 0, true); padapter 340 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_free_assoc_resources(padapter); padapter 345 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_indicate_disconnect(padapter); /* will clr Linked_state; before this function, we must have checked whether issue dis-assoc_cmd or not */ padapter 362 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c start_ap_mode(padapter); padapter 375 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c u8 rtw_set_802_11_disassociate(struct adapter *padapter) padapter 377 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 385 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_disassoc_cmd(padapter, 0, true); padapter 386 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_indicate_disconnect(padapter); padapter 387 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_free_assoc_resources(padapter); padapter 388 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c rtw_pwr_wakeup(padapter); padapter 396 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c u8 rtw_set_802_11_bssid_list_scan(struct adapter *padapter, struct ndis_802_11_ssid *pssid, int ssid_max_num) padapter 398 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 403 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c if (!padapter) { padapter 407 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c if (!padapter->hw_init_completed) { padapter 426 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c if (rtw_is_scan_deny(padapter)) { padapter 427 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c DBG_88E(FUNC_ADPT_FMT": scan deny\n", FUNC_ADPT_ARG(padapter)); padapter 428 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c indicate_wx_scan_complete_event(padapter); padapter 434 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c res = rtw_sitesurvey_cmd(padapter, pssid, ssid_max_num, NULL, 0); padapter 442 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c u8 rtw_set_802_11_authentication_mode(struct adapter *padapter, enum ndis_802_11_auth_mode authmode) padapter 444 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 460 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c res = rtw_set_auth(padapter, psecuritypriv); padapter 470 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep *wep) padapter 473 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 525 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c res = rtw_set_key(padapter, psecuritypriv, keyid, 1); padapter 19 drivers/staging/rtl8188eu/core/rtw_led.c struct adapter *padapter = pLed->padapter; padapter 21 drivers/staging/rtl8188eu/core/rtw_led.c if (padapter->bSurpriseRemoved || padapter->bDriverStopped) padapter 61 drivers/staging/rtl8188eu/core/rtw_led.c void InitLed871x(struct adapter *padapter, struct LED_871x *pLed) padapter 63 drivers/staging/rtl8188eu/core/rtw_led.c pLed->padapter = padapter; padapter 91 drivers/staging/rtl8188eu/core/rtw_led.c struct adapter *padapter = pLed->padapter; padapter 92 drivers/staging/rtl8188eu/core/rtw_led.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 97 drivers/staging/rtl8188eu/core/rtw_led.c sw_led_on(padapter, pLed); padapter 101 drivers/staging/rtl8188eu/core/rtw_led.c sw_led_off(padapter, pLed); padapter 106 drivers/staging/rtl8188eu/core/rtw_led.c if (padapter->pwrctrlpriv.rf_pwrstate != rf_on) { padapter 107 drivers/staging/rtl8188eu/core/rtw_led.c sw_led_off(padapter, pLed); padapter 240 drivers/staging/rtl8188eu/core/rtw_led.c static void SwLedControlMode1(struct adapter *padapter, enum LED_CTL_MODE LedAction) padapter 242 drivers/staging/rtl8188eu/core/rtw_led.c struct led_priv *ledpriv = &padapter->ledpriv; padapter 244 drivers/staging/rtl8188eu/core/rtw_led.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 448 drivers/staging/rtl8188eu/core/rtw_led.c sw_led_off(padapter, pLed); padapter 460 drivers/staging/rtl8188eu/core/rtw_led.c struct adapter *padapter = pLed->padapter; padapter 462 drivers/staging/rtl8188eu/core/rtw_led.c if (padapter->bSurpriseRemoved || padapter->bDriverStopped) padapter 468 drivers/staging/rtl8188eu/core/rtw_led.c void led_control_8188eu(struct adapter *padapter, enum LED_CTL_MODE LedAction) padapter 470 drivers/staging/rtl8188eu/core/rtw_led.c if (padapter->bSurpriseRemoved || padapter->bDriverStopped || padapter 471 drivers/staging/rtl8188eu/core/rtw_led.c !padapter->hw_init_completed) padapter 474 drivers/staging/rtl8188eu/core/rtw_led.c if ((padapter->pwrctrlpriv.rf_pwrstate != rf_on && padapter 475 drivers/staging/rtl8188eu/core/rtw_led.c padapter->pwrctrlpriv.rfoff_reason > RF_CHANGE_BY_PS) && padapter 483 drivers/staging/rtl8188eu/core/rtw_led.c SwLedControlMode1(padapter, LedAction); padapter 25 drivers/staging/rtl8188eu/core/rtw_mlme.c int rtw_init_mlme_priv(struct adapter *padapter) padapter 30 drivers/staging/rtl8188eu/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 35 drivers/staging/rtl8188eu/core/rtw_mlme.c pmlmepriv->nic_hdl = (u8 *)padapter; padapter 68 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_clear_scan_deny(padapter); padapter 70 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_init_mlme_timer(padapter); padapter 205 drivers/staging/rtl8188eu/core/rtw_mlme.c void rtw_free_network_queue(struct adapter *padapter, u8 isfreeall) padapter 209 drivers/staging/rtl8188eu/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 227 drivers/staging/rtl8188eu/core/rtw_mlme.c int rtw_if_up(struct adapter *padapter) padapter 231 drivers/staging/rtl8188eu/core/rtw_mlme.c if (padapter->bDriverStopped || padapter->bSurpriseRemoved || padapter 232 drivers/staging/rtl8188eu/core/rtw_mlme.c !check_fwstate(&padapter->mlmepriv, _FW_LINKED)) { padapter 235 drivers/staging/rtl8188eu/core/rtw_mlme.c __func__, padapter->bDriverStopped, padapter 236 drivers/staging/rtl8188eu/core/rtw_mlme.c padapter->bSurpriseRemoved)); padapter 337 drivers/staging/rtl8188eu/core/rtw_mlme.c struct adapter *padapter, bool update_ie) padapter 345 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_hal_antdiv_rssi_compared(padapter, dst, src); /* this will update src.Rssi, need consider again */ padapter 348 drivers/staging/rtl8188eu/core/rtw_mlme.c if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) && padapter 349 drivers/staging/rtl8188eu/core/rtw_mlme.c is_same_network(&padapter->mlmepriv.cur_network.network, src)) { padapter 351 drivers/staging/rtl8188eu/core/rtw_mlme.c ss_final = padapter->recvpriv.signal_strength; padapter 352 drivers/staging/rtl8188eu/core/rtw_mlme.c sq_final = padapter->recvpriv.signal_qual; padapter 774 drivers/staging/rtl8188eu/core/rtw_mlme.c void rtw_indicate_connect(struct adapter *padapter) padapter 776 drivers/staging/rtl8188eu/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 782 drivers/staging/rtl8188eu/core/rtw_mlme.c if (!check_fwstate(&padapter->mlmepriv, _FW_LINKED)) { padapter 785 drivers/staging/rtl8188eu/core/rtw_mlme.c led_control_8188eu(padapter, LED_CTL_LINK); padapter 787 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_os_indicate_connect(padapter); padapter 792 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_set_scan_deny(padapter, 3000); padapter 800 drivers/staging/rtl8188eu/core/rtw_mlme.c void rtw_indicate_disconnect(struct adapter *padapter) padapter 802 drivers/staging/rtl8188eu/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 811 drivers/staging/rtl8188eu/core/rtw_mlme.c if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) || padapter 813 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_os_indicate_disconnect(padapter); padapter 816 drivers/staging/rtl8188eu/core/rtw_mlme.c led_control_8188eu(padapter, LED_CTL_NO_LINK); padapter 817 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_clear_scan_deny(padapter); padapter 820 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_DISCONNECT, 1); padapter 823 drivers/staging/rtl8188eu/core/rtw_mlme.c inline void rtw_indicate_scan_done(struct adapter *padapter, bool aborted) padapter 825 drivers/staging/rtl8188eu/core/rtw_mlme.c indicate_wx_scan_complete_event(padapter); padapter 828 drivers/staging/rtl8188eu/core/rtw_mlme.c static struct sta_info *rtw_joinbss_update_stainfo(struct adapter *padapter, struct wlan_network *pnetwork) padapter 833 drivers/staging/rtl8188eu/core/rtw_mlme.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 844 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, true); padapter 846 drivers/staging/rtl8188eu/core/rtw_mlme.c if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { padapter 847 drivers/staging/rtl8188eu/core/rtw_mlme.c padapter->securitypriv.binstallGrpkey = false; padapter 848 drivers/staging/rtl8188eu/core/rtw_mlme.c padapter->securitypriv.busetkipkey = false; padapter 849 drivers/staging/rtl8188eu/core/rtw_mlme.c padapter->securitypriv.bgrpkey_handshake = false; padapter 851 drivers/staging/rtl8188eu/core/rtw_mlme.c psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; padapter 864 drivers/staging/rtl8188eu/core/rtw_mlme.c if (padapter->securitypriv.wps_ie_len != 0) { padapter 866 drivers/staging/rtl8188eu/core/rtw_mlme.c padapter->securitypriv.wps_ie_len = 0; padapter 879 drivers/staging/rtl8188eu/core/rtw_mlme.c bmc_sta = rtw_get_bcmc_stainfo(padapter); padapter 891 drivers/staging/rtl8188eu/core/rtw_mlme.c update_sta_info(padapter, psta); padapter 898 drivers/staging/rtl8188eu/core/rtw_mlme.c static void rtw_joinbss_update_network(struct adapter *padapter, struct wlan_network *ptarget_wlan, struct wlan_network *pnetwork) padapter 900 drivers/staging/rtl8188eu/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 917 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_set_signal_stat_timer(&padapter->recvpriv); padapter 918 drivers/staging/rtl8188eu/core/rtw_mlme.c padapter->recvpriv.signal_strength = ptarget_wlan->network.PhyInfo.SignalStrength; padapter 919 drivers/staging/rtl8188eu/core/rtw_mlme.c padapter->recvpriv.signal_qual = ptarget_wlan->network.PhyInfo.SignalQuality; padapter 921 drivers/staging/rtl8188eu/core/rtw_mlme.c padapter->recvpriv.rssi = translate_percentage_to_dbm(ptarget_wlan->network.PhyInfo.SignalStrength); padapter 922 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_set_signal_stat_timer(&padapter->recvpriv); padapter 941 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_update_protection(padapter, (cur_network->network.ies) + padapter 944 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_update_ht_cap(padapter, cur_network->network.ies, cur_network->network.ie_length); padapter 1086 drivers/staging/rtl8188eu/core/rtw_mlme.c static u8 search_max_mac_id(struct adapter *padapter) padapter 1091 drivers/staging/rtl8188eu/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1092 drivers/staging/rtl8188eu/core/rtw_mlme.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1094 drivers/staging/rtl8188eu/core/rtw_mlme.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1290 drivers/staging/rtl8188eu/core/rtw_mlme.c void rtw_cpwm_event_callback(struct adapter *padapter, u8 *pbuf) padapter 1352 drivers/staging/rtl8188eu/core/rtw_mlme.c static void rtw_auto_scan_handler(struct adapter *padapter) padapter 1354 drivers/staging/rtl8188eu/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1361 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_set_802_11_bssid_list_scan(padapter, NULL, 0); padapter 1827 drivers/staging/rtl8188eu/core/rtw_mlme.c void rtw_joinbss_reset(struct adapter *padapter) padapter 1830 drivers/staging/rtl8188eu/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1843 drivers/staging/rtl8188eu/core/rtw_mlme.c if (padapter->registrypriv.wifi_spec == 1) padapter 1847 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_hal_set_hwreg(padapter, HW_VAR_RXDMA_AGG_PG_TH, (u8 *)(&threshold)); padapter 1850 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_hal_set_hwreg(padapter, HW_VAR_RXDMA_AGG_PG_TH, (u8 *)(&threshold)); padapter 1855 drivers/staging/rtl8188eu/core/rtw_mlme.c unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_ie, uint in_len, uint *pout_len) padapter 1861 drivers/staging/rtl8188eu/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1891 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_hal_get_def_var(padapter, HAL_DEF_RX_PACKET_OFFSET, &rx_packet_offset); padapter 1892 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_hal_get_def_var(padapter, HAL_DEF_MAX_RECVBUF_SZ, &max_recvbuf_sz); padapter 1899 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_hal_get_def_var(padapter, HW_VAR_MAX_RX_AMPDU_FACTOR, &max_rx_ampdu_factor); padapter 1902 drivers/staging/rtl8188eu/core/rtw_mlme.c if (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_) padapter 1923 drivers/staging/rtl8188eu/core/rtw_mlme.c void rtw_update_ht_cap(struct adapter *padapter, u8 *pie, uint ie_len) padapter 1925 drivers/staging/rtl8188eu/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1927 drivers/staging/rtl8188eu/core/rtw_mlme.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 1928 drivers/staging/rtl8188eu/core/rtw_mlme.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1982 drivers/staging/rtl8188eu/core/rtw_mlme.c void rtw_issue_addbareq_cmd(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 1991 drivers/staging/rtl8188eu/core/rtw_mlme.c padapter->mlmepriv.LinkDetectInfo.NumTxOkInPeriod < 100) padapter 1999 drivers/staging/rtl8188eu/core/rtw_mlme.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); padapter 2013 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_addbareq_cmd(padapter, (u8)priority, pattrib->ra); padapter 2018 drivers/staging/rtl8188eu/core/rtw_mlme.c void rtw_roaming(struct adapter *padapter, struct wlan_network *tgt_network) padapter 2020 drivers/staging/rtl8188eu/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2023 drivers/staging/rtl8188eu/core/rtw_mlme.c _rtw_roaming(padapter, tgt_network); padapter 2027 drivers/staging/rtl8188eu/core/rtw_mlme.c void _rtw_roaming(struct adapter *padapter, struct wlan_network *tgt_network) padapter 2029 drivers/staging/rtl8188eu/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2047 drivers/staging/rtl8188eu/core/rtw_mlme.c do_join_r = rtw_do_join(padapter); padapter 2058 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_indicate_disconnect(padapter); padapter 181 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void update_mgnt_tx_rate(struct adapter *padapter, u8 rate) padapter 183 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 189 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void update_mgntframe_attrib(struct adapter *padapter, struct pkt_attrib *pattrib) padapter 191 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 222 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void dump_mgntframe(struct adapter *padapter, padapter 225 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (padapter->bSurpriseRemoved || padapter->bDriverStopped) padapter 228 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_mgnt_xmit(padapter, pmgntframe); padapter 231 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static s32 dump_mgntframe_and_wait(struct adapter *padapter, padapter 239 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (padapter->bSurpriseRemoved || padapter->bDriverStopped) padapter 245 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ret = rtw_hal_mgnt_xmit(padapter, pmgntframe); padapter 253 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static s32 dump_mgntframe_and_wait_ack(struct adapter *padapter, padapter 258 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 260 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (padapter->bSurpriseRemoved || padapter->bDriverStopped) padapter 268 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (rtw_hal_mgnt_xmit(padapter, pmgntframe) == _SUCCESS) padapter 310 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void issue_beacon(struct adapter *padapter, int timeout_ms) padapter 318 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 319 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 320 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 336 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 348 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ether_addr_copy(pwlanhdr->addr2, myid(&padapter->eeprompriv)); padapter 446 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c dump_mgntframe_and_wait(padapter, pmgntframe, timeout_ms); padapter 448 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 451 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void issue_probersp(struct adapter *padapter, unsigned char *da) padapter 459 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 463 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 465 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 478 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 485 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c mac = myid(&padapter->eeprompriv); padapter 594 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 597 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static int issue_probereq(struct adapter *padapter, padapter 609 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 610 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 611 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 623 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 630 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c mac = myid(&padapter->eeprompriv); padapter 659 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c get_rate_set(padapter, bssrate, &bssrate_len); padapter 681 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ret = dump_mgntframe_and_wait_ack(padapter, pmgntframe); padapter 683 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 691 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static int issue_probereq_ex(struct adapter *padapter, padapter 700 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ret = issue_probereq(padapter, pssid, da, wait_ms > 0); padapter 704 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (padapter->bDriverStopped || padapter->bSurpriseRemoved) padapter 720 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), da, rtw_get_oper_ch(padapter), padapter 725 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), rtw_get_oper_ch(padapter), padapter 734 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void issue_auth(struct adapter *padapter, struct sta_info *psta, padapter 748 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 749 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 759 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 781 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c myid(&padapter->eeprompriv)); padapter 783 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c myid(&padapter->eeprompriv)); padapter 822 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ether_addr_copy(pwlanhdr->addr2, myid(&padapter->eeprompriv)); padapter 873 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_wep_encrypt(padapter, (u8 *)pmgntframe); padapter 875 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 879 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void issue_asocrsp(struct adapter *padapter, unsigned short status, padapter 888 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 889 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 890 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 904 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 916 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c myid(&padapter->eeprompriv)); padapter 1000 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 1004 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void issue_assocreq(struct adapter *padapter) padapter 1015 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct registry_priv *pregpriv = &padapter->registrypriv; padapter 1016 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1017 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1018 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1029 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 1038 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ether_addr_copy(pwlanhdr->addr2, myid(&padapter->eeprompriv)); padapter 1067 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c get_rate_set(padapter, sta_bssrate, &sta_bssrate_len); padapter 1121 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (padapter->mlmepriv.htpriv.ht_option) { padapter 1123 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if ((p != NULL) && (!(is_ap_in_tkip(padapter)))) { padapter 1151 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!padapter->registrypriv.wifi_spec) { padapter 1170 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 1182 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static int _issue_nulldata(struct adapter *padapter, unsigned char *da, padapter 1196 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!padapter) padapter 1199 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pxmitpriv = &padapter->xmitpriv; padapter 1200 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeext = &padapter->mlmeextpriv; padapter 1210 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 1230 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ether_addr_copy(pwlanhdr->addr2, myid(&padapter->eeprompriv)); padapter 1243 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ret = dump_mgntframe_and_wait_ack(padapter, pmgntframe); padapter 1245 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 1255 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c int issue_nulldata(struct adapter *padapter, unsigned char *da, padapter 1261 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1270 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0); padapter 1274 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (padapter->bDriverStopped || padapter->bSurpriseRemoved) padapter 1289 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), da, rtw_get_oper_ch(padapter), padapter 1294 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), rtw_get_oper_ch(padapter), padapter 1303 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static int _issue_qos_nulldata(struct adapter *padapter, unsigned char *da, padapter 1313 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1314 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1326 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 1359 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ether_addr_copy(pwlanhdr->addr2, myid(&padapter->eeprompriv)); padapter 1372 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ret = dump_mgntframe_and_wait_ack(padapter, pmgntframe); padapter 1374 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 1384 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c int issue_qos_nulldata(struct adapter *padapter, unsigned char *da, padapter 1390 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1399 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ret = _issue_qos_nulldata(padapter, da, tid, wait_ms > 0); padapter 1403 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (padapter->bDriverStopped || padapter->bSurpriseRemoved) padapter 1418 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), da, rtw_get_oper_ch(padapter), padapter 1423 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), rtw_get_oper_ch(padapter), padapter 1431 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static int _issue_deauth(struct adapter *padapter, unsigned char *da, padapter 1439 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1440 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1452 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 1464 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ether_addr_copy(pwlanhdr->addr2, myid(&padapter->eeprompriv)); padapter 1481 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ret = dump_mgntframe_and_wait_ack(padapter, pmgntframe); padapter 1483 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 1491 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c int issue_deauth(struct adapter *padapter, unsigned char *da, padapter 1495 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c return _issue_deauth(padapter, da, reason, false); padapter 1498 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static int issue_deauth_ex(struct adapter *padapter, u8 *da, padapter 1507 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ret = _issue_deauth(padapter, da, reason, wait_ms > 0); padapter 1511 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (padapter->bDriverStopped || padapter->bSurpriseRemoved) padapter 1526 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), da, rtw_get_oper_ch(padapter), padapter 1531 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), rtw_get_oper_ch(padapter), padapter 1539 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void issue_action_BA(struct adapter *padapter, unsigned char *raddr, padapter 1555 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1556 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1559 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1560 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct registry_priv *pregpriv = &padapter->registrypriv; padapter 1571 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 1582 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ether_addr_copy(pwlanhdr->addr2, myid(&padapter->eeprompriv)); padapter 1639 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_get_def_var(padapter, HW_VAR_MAX_RX_AMPDU_FACTOR, &max_rx_ampdu_factor); padapter 1689 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 1692 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void issue_action_BSSCoexistPacket(struct adapter *padapter) padapter 1702 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1703 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1704 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1728 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 1739 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ether_addr_copy(pwlanhdr->addr2, myid(&padapter->eeprompriv)); padapter 1820 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 1823 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned int send_delba(struct adapter *padapter, u8 initiator, u8 *addr) padapter 1825 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1827 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1843 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_action_BA(padapter, addr, RTW_WLAN_ACTION_DELBA, (((tid << 1) | initiator) & 0x1F)); padapter 1852 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_action_BA(padapter, addr, RTW_WLAN_ACTION_DELBA, (((tid << 1) | initiator) & 0x1F)); padapter 1862 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned int send_beacon(struct adapter *padapter) padapter 1869 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BCN_VALID, NULL); padapter 1871 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_beacon(padapter, 100); padapter 1875 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_get_hwreg(padapter, HW_VAR_BCN_VALID, (u8 *)(&bxmitok)); padapter 1877 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c } while ((poll%10) != 0 && !bxmitok && !padapter->bSurpriseRemoved && !padapter->bDriverStopped); padapter 1878 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c } while (!bxmitok && issue < 100 && !padapter->bSurpriseRemoved && !padapter->bDriverStopped); padapter 1880 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (padapter->bSurpriseRemoved || padapter->bDriverStopped) padapter 1903 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void site_survey(struct adapter *padapter) padapter 1907 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1924 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c set_channel_bwmode(padapter, survey_channel, HAL_PRIME_CHNL_OFFSET_DONT_CARE, HT_CHANNEL_WIDTH_20); padapter 1926 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c SelectChannel(padapter, survey_channel); padapter 1934 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_probereq(padapter, padapter 1938 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_probereq(padapter, padapter 1946 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_probereq(padapter, NULL, NULL, false); padapter 1948 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_probereq(padapter, NULL, NULL, false); padapter 1953 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_probereq(padapter, NULL, NULL, false); padapter 1955 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_probereq(padapter, NULL, NULL, false); padapter 1964 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (rtw_hal_antdiv_before_linked(padapter)) { padapter 1976 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c set_channel_bwmode(padapter, pmlmeext->cur_channel, pmlmeext->cur_ch_offset, pmlmeext->cur_bwmode); padapter 1983 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Set_MSR(padapter, (pmlmeinfo->state & 0x3)); padapter 1986 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_INITIAL_GAIN, (u8 *)(&initialgain)); padapter 1988 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Restore_DM_Func_Flag(padapter); padapter 1991 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (is_client_associated_to_ap(padapter)) padapter 1992 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_nulldata(padapter, NULL, 0, 3, 500); padapter 1995 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_SITESURVEY, (u8 *)(&val8)); padapter 1997 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_surveydone_event(padapter); padapter 2002 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_action_BSSCoexistPacket(padapter); padapter 2003 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_action_BSSCoexistPacket(padapter); padapter 2004 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_action_BSSCoexistPacket(padapter); padapter 2009 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static u8 collect_bss_info(struct adapter *padapter, padapter 2020 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 2021 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2060 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_get_def_var(padapter, HAL_DEF_CURRENT_ANTENNA, &bssid->PhyInfo.Optimum_antenna); padapter 2125 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c bssid->Configuration.DSConfig = rtw_get_oper_ch(padapter); padapter 2159 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2174 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (bssid->Configuration.DSConfig != rtw_get_oper_ch(padapter)) padapter 2179 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void start_create_ibss(struct adapter *padapter) padapter 2184 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2192 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_wireless_mode(padapter); padapter 2196 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_capinfo(padapter, caps); padapter 2199 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); padapter 2203 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c set_channel_bwmode(padapter, pmlmeext->cur_channel, HAL_PRIME_CHNL_OFFSET_DONT_CARE, HT_CHANNEL_WIDTH_20); padapter 2205 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c beacon_timing_control(padapter); padapter 2209 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Set_MSR(padapter, (pmlmeinfo->state & 0x3)); padapter 2212 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (send_beacon(padapter) == _FAIL) { padapter 2215 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_join_res(padapter, -1); padapter 2218 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BSSID, padapter->registrypriv.dev_network.MacAddress); padapter 2220 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_JOIN, (u8 *)(&join_type)); padapter 2222 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_join_res(padapter, 1); padapter 2231 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void start_clnt_join(struct adapter *padapter) padapter 2235 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2244 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_wireless_mode(padapter); padapter 2248 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_capinfo(padapter, caps); padapter 2250 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Set_MSR(padapter, WIFI_FW_STATION_STATE); padapter 2254 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); padapter 2257 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c set_channel_bwmode(padapter, pmlmeext->cur_channel, pmlmeext->cur_ch_offset, pmlmeext->cur_bwmode); padapter 2263 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c mod_timer(&padapter->mlmepriv.assoc_timer, jiffies + padapter 2268 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Set_MSR(padapter, WIFI_FW_ADHOC_STATE); padapter 2271 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); padapter 2274 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c set_channel_bwmode(padapter, pmlmeext->cur_channel, pmlmeext->cur_ch_offset, pmlmeext->cur_bwmode); padapter 2276 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c beacon_timing_control(padapter); padapter 2280 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_join_res(padapter, 1); padapter 2286 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void start_clnt_auth(struct adapter *padapter) padapter 2288 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2307 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_deauth(padapter, (&pmlmeinfo->network)->MacAddress, WLAN_REASON_DEAUTH_LEAVING); padapter 2310 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_auth(padapter, NULL, 0); padapter 2315 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void start_clnt_assoc(struct adapter *padapter) padapter 2317 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2325 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_assocreq(padapter); padapter 2330 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int receive_disconnect(struct adapter *padapter, padapter 2334 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2347 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_del_sta_event(padapter, MacAddr, reason); padapter 2350 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_join_res(padapter, -2); padapter 2356 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void process_80211d(struct adapter *padapter, struct wlan_bssid_ex *bssid) padapter 2364 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pregistrypriv = &padapter->registrypriv; padapter 2365 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeext = &padapter->mlmeextpriv; padapter 2505 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnProbeReq(struct adapter *padapter, padapter 2510 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2511 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2535 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_probersp(padapter, get_sa(pframe)); padapter 2540 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnProbeRsp(struct adapter *padapter, padapter 2543 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2546 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_survey_event(padapter, precv_frame); padapter 2553 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnBeacon(struct adapter *padapter, padapter 2558 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2560 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2561 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2569 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_survey_event(padapter, precv_frame); padapter 2578 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (collect_bss_info(padapter, precv_frame, pbss) == _SUCCESS) { padapter 2579 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_network(&pmlmepriv->cur_network.network, pbss, padapter, true); padapter 2592 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c start_clnt_auth(padapter); padapter 2600 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ret = rtw_check_bcn_info(padapter, pframe, len); padapter 2603 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c receive_disconnect(padapter, pmlmeinfo->network.MacAddress, 65535); padapter 2609 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_beacon_info(padapter, pframe, len, psta); padapter 2617 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_beacon_info(padapter, pframe, len, psta); padapter 2620 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c cam_idx = allocate_fw_sta_entry(padapter); padapter 2625 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (update_sta_support_rate(padapter, (pframe + WLAN_HDR_A3_LEN + _BEACON_IE_OFFSET_), (len - WLAN_HDR_A3_LEN - _BEACON_IE_OFFSET_), cam_idx) == _FAIL) { padapter 2634 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_add_sta_event(padapter, GetAddr2Ptr(pframe), cam_idx); padapter 2645 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnAuth(struct adapter *padapter, padapter 2655 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2656 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 2657 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2689 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!rtw_access_ctrl(padapter, sa)) { padapter 2791 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_auth(padapter, pstat, (unsigned short)(_STATS_SUCCESSFUL_)); padapter 2801 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_free_stainfo(padapter, pstat); padapter 2808 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_auth(padapter, pstat, (unsigned short)status); padapter 2814 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnAuthClient(struct adapter *padapter, padapter 2820 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2828 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (memcmp(myid(&padapter->eeprompriv), get_da(pframe), ETH_ALEN)) padapter 2863 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_auth(padapter, NULL, 0); padapter 2883 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c start_clnt_assoc(padapter); padapter 2890 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnAssocReq(struct adapter *padapter, padapter 2904 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2905 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 2906 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2909 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 3287 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c bss_cap_update_on_sta_join(padapter, pstat); padapter 3288 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c sta_info_update(padapter, pstat); padapter 3292 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_asocrsp(padapter, status, pstat, WIFI_ASSOCRSP); padapter 3294 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_asocrsp(padapter, status, pstat, WIFI_REASSOCRSP); padapter 3298 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_indicate_sta_assoc_event(padapter, pstat); padapter 3301 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_add_sta_event(padapter, pstat->hwaddr, pstat->aid); padapter 3308 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_deauth(padapter, (void *)GetAddr2Ptr(pframe), status); padapter 3316 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_asocrsp(padapter, status, pstat, WIFI_ASSOCRSP); padapter 3318 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_asocrsp(padapter, status, pstat, WIFI_REASSOCRSP); padapter 3325 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnAssocRsp(struct adapter *padapter, padapter 3332 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 3333 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 3341 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (memcmp(myid(&padapter->eeprompriv), get_da(pframe), ETH_ALEN)) padapter 3380 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c WMM_param_handler(padapter, pIE); padapter 3383 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c HT_caps_handler(padapter, pIE); padapter 3386 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c HT_info_handler(padapter, pIE); padapter 3389 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ERP_IE_handler(padapter, pIE); padapter 3400 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c UpdateBrateTbl(padapter, pmlmeinfo->network.SupportedRates); padapter 3408 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_join_res(padapter, res); padapter 3413 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnDeAuth(struct adapter *padapter, padapter 3417 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 3418 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 3434 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 3447 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c updated = ap_free_sta(padapter, psta, false, reason); padapter 3451 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c associated_clients_update(padapter, updated); padapter 3461 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c receive_disconnect(padapter, GetAddr3Ptr(pframe), reason); padapter 3467 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnDisassoc(struct adapter *padapter, padapter 3471 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 3472 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 3488 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 3501 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c updated = ap_free_sta(padapter, psta, false, reason); padapter 3505 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c associated_clients_update(padapter, updated); padapter 3515 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c receive_disconnect(padapter, GetAddr3Ptr(pframe), reason); padapter 3521 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnAtim(struct adapter *padapter, padapter 3528 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int on_action_spct(struct adapter *padapter, padapter 3532 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 3538 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c DBG_88E(FUNC_NDEV_FMT"\n", FUNC_NDEV_ARG(padapter->pnetdev)); padapter 3566 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnAction_qos(struct adapter *padapter, padapter 3572 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnAction_dls(struct adapter *padapter, padapter 3578 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnAction_back(struct adapter *padapter, padapter 3587 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 3590 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 3593 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (memcmp(myid(&padapter->eeprompriv), GetAddr1Ptr(pframe), padapter 3620 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c process_addba_req(padapter, (u8 *)&pmlmeinfo->ADDBA_req, addr); padapter 3623 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_action_BA(padapter, addr, padapter 3737 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int on_action_public(struct adapter *padapter, padapter 3746 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (memcmp(myid(&padapter->eeprompriv), GetAddr1Ptr(pframe), ETH_ALEN)) padapter 3767 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnAction_ht(struct adapter *padapter, padapter 3773 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnAction_wmm(struct adapter *padapter, padapter 3779 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnAction_p2p(struct adapter *padapter, padapter 3785 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int DoReserved(struct adapter *padapter, padapter 3805 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static unsigned int OnAction(struct adapter *padapter, padapter 3821 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ptable->func(padapter, precv_frame); padapter 3849 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c int init_hw_mlme_ext(struct adapter *padapter) padapter 3851 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 3853 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c set_channel_bwmode(padapter, pmlmeext->cur_channel, pmlmeext->cur_ch_offset, pmlmeext->cur_bwmode); padapter 3857 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void init_mlme_ext_priv_value(struct adapter *padapter) padapter 3859 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 3874 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeext->cur_channel = padapter->registrypriv.channel; padapter 3882 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeext->cur_wireless_mode = padapter->registrypriv.wireless_mode; padapter 3930 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void init_channel_list(struct adapter *padapter, padapter 3954 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!padapter->registrypriv.ht_enable && o->inc == 8) padapter 3957 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if ((0 == (padapter->registrypriv.cbw40_enable & BIT(1))) && padapter 3974 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static u8 init_channel_set(struct adapter *padapter, u8 ChannelPlan, padapter 3988 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (padapter->registrypriv.wireless_mode & WIRELESS_11G) { padapter 4022 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c int init_mlme_ext_priv(struct adapter *padapter) padapter 4024 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 4025 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4026 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 4029 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeext->padapter = padapter; padapter 4031 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c init_mlme_ext_priv_value(padapter); padapter 4034 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c init_mlme_ext_timer(padapter); padapter 4037 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c init_mlme_ap_info(padapter); padapter 4040 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeext->max_chan_nums = init_channel_set(padapter, pmlmepriv->ChannelPlan, pmlmeext->channel_set); padapter 4041 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c init_channel_list(padapter, pmlmeext->channel_set, pmlmeext->max_chan_nums, &pmlmeext->channel_list); padapter 4053 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct adapter *padapter = pmlmeext->padapter; padapter 4055 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!padapter) padapter 4058 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (padapter->bDriverStopped) { padapter 4064 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static void _mgt_dispatcher(struct adapter *padapter, padapter 4073 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && padapter 4076 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ptable->func(padapter, precv_frame); padapter 4080 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void mgt_dispatcher(struct adapter *padapter, struct recv_frame *precv_frame) padapter 4085 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 4089 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(pframe)); padapter 4104 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && padapter 4144 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c _mgt_dispatcher(padapter, ptable, precv_frame); padapter 4147 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c _mgt_dispatcher(padapter, ptable, precv_frame); padapter 4151 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c _mgt_dispatcher(padapter, ptable, precv_frame); padapter 4161 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void report_survey_event(struct adapter *padapter, padapter 4172 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!padapter) padapter 4175 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeext = &padapter->mlmeextpriv; padapter 4176 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pcmdpriv = &padapter->cmdpriv; padapter 4205 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (collect_bss_info(padapter, precv_frame, (struct wlan_bssid_ex *)&psurvey_evt->bss) == _FAIL) { padapter 4211 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c process_80211d(padapter, &psurvey_evt->bss); padapter 4218 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void report_surveydone_event(struct adapter *padapter) padapter 4225 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4226 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 4261 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void report_join_res(struct adapter *padapter, int res) padapter 4268 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4270 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 4304 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_joinbss_event_prehandle(padapter, (u8 *)&pjoinbss_evt->network); padapter 4309 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void report_del_sta_event(struct adapter *padapter, unsigned char *MacAddr, padapter 4319 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4320 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 4351 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta = rtw_get_stainfo(&padapter->stapriv, MacAddr); padapter 4364 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void report_add_sta_event(struct adapter *padapter, unsigned char *MacAddr, padapter 4372 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4373 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 4416 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void update_sta_info(struct adapter *padapter, struct sta_info *psta) padapter 4418 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 4419 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4423 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c VCS_update(padapter, psta); padapter 4431 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (support_short_GI(padapter, &pmlmeinfo->HT_caps)) padapter 4456 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void mlmeext_joinbss_event_callback(struct adapter *padapter, int join_res) padapter 4459 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4462 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 4468 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_JOIN, (u8 *)(&join_type)); padapter 4469 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BSSID, null_addr); padapter 4472 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_tx_basic_rate(padapter, padapter->registrypriv.wireless_mode); padapter 4479 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta_bmc = rtw_get_bcmc_stainfo(padapter); padapter 4482 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_bmc_sta_support_rate(padapter, psta_bmc->mac_id); padapter 4483 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Update_RA_Entry(padapter, psta_bmc->mac_id); padapter 4488 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Switch_DM_Func(padapter, DYNAMIC_ALL_FUNC_ENABLE, true); padapter 4491 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_IOT_info(padapter); padapter 4493 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BASIC_RATE, cur_network->SupportedRates); padapter 4496 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BEACON_INTERVAL, (u8 *)(&pmlmeinfo->bcn_interval)); padapter 4499 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_capinfo(padapter, pmlmeinfo->capability); padapter 4502 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c WMMOnAssocRsp(padapter); padapter 4505 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c HTOnAssocRsp(padapter); padapter 4507 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c set_channel_bwmode(padapter, pmlmeext->cur_channel, pmlmeext->cur_ch_offset, pmlmeext->cur_bwmode); padapter 4516 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c set_sta_rate(padapter, psta); padapter 4517 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_TX_RPT_MAX_MACID, (u8 *)&psta->mac_id); padapter 4519 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_H2C_MEDIA_STATUS_RPT, (u8 *)&media_status); padapter 4523 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_JOIN, (u8 *)(&join_type)); padapter 4527 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c correct_TSF(padapter, pmlmeext); padapter 4529 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_CONNECT, 0); padapter 4536 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void mlmeext_sta_add_event_callback(struct adapter *padapter, struct sta_info *psta) padapter 4538 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4549 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c correct_TSF(padapter, pmlmeext); padapter 4552 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (send_beacon(padapter) == _FAIL) { padapter 4561 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_JOIN, (u8 *)(&join_type)); padapter 4567 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Update_RA_Entry(padapter, psta->mac_id); padapter 4570 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_sta_info(padapter, psta); padapter 4573 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void mlmeext_sta_del_event_callback(struct adapter *padapter) padapter 4575 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4578 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (is_client_associated_to_ap(padapter) || is_IBSS_empty(padapter)) { padapter 4579 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_DISCONNECT, NULL); padapter 4580 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BSSID, null_addr); padapter 4583 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_tx_basic_rate(padapter, padapter->registrypriv.wireless_mode); padapter 4590 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c set_channel_bwmode(padapter, pmlmeext->cur_channel, pmlmeext->cur_ch_offset, pmlmeext->cur_bwmode); padapter 4592 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c flush_all_cam_entry(padapter); padapter 4597 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Set_MSR(padapter, _HW_STATE_STATION_); padapter 4609 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static u8 chk_ap_is_alive(struct adapter *padapter, struct sta_info *psta) padapter 4625 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c void linked_status_chk(struct adapter *padapter) padapter 4629 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 4630 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4632 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 4634 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (is_client_associated_to_ap(padapter)) { padapter 4645 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!chk_ap_is_alive(padapter, psta)) padapter 4655 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (rtw_get_oper_ch(padapter) != pmlmeext->cur_channel) { padapter 4656 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c backup_oper_channel = rtw_get_oper_ch(padapter); padapter 4657 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c SelectChannel(padapter, pmlmeext->cur_channel); padapter 4661 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_probereq_ex(padapter, &pmlmeinfo->network.ssid, psta->hwaddr, 3, 1); padapter 4664 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c tx_chk = issue_nulldata(padapter, psta->hwaddr, 0, 3, 1); padapter 4672 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c SelectChannel(padapter, backup_oper_channel); padapter 4676 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_probereq(padapter, padapter 4680 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_probereq(padapter, padapter 4684 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_probereq(padapter, padapter 4692 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c tx_chk = issue_nulldata(padapter, NULL, 0, 1, 0); padapter 4699 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter)); padapter 4700 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c receive_disconnect(padapter, pmlmeinfo->network.MacAddress, padapter 4715 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c } else if (is_client_associated_to_ibss(padapter)) { padapter 4730 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_del_sta_event(padapter, psta->hwaddr padapter 4745 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct adapter *padapter = from_timer(padapter, t, padapter 4749 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 4750 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4785 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct adapter *padapter = from_timer(padapter, t, padapter 4787 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4793 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_join_res(padapter, -3); padapter 4798 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_join_res(padapter, -1); padapter 4804 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_auth(padapter, NULL, 0); padapter 4810 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c report_join_res(padapter, -2); padapter 4815 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_assocreq(padapter); padapter 4836 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 setopmode_hdl(struct adapter *padapter, u8 *pbuf) padapter 4839 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4856 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SET_OPMODE, (u8 *)(&type)); padapter 4862 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 createbss_hdl(struct adapter *padapter, u8 *pbuf) padapter 4864 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4881 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_joinbss_reset(padapter); padapter 4894 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Save_DM_Func_Flag(padapter); padapter 4895 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Switch_DM_Func(padapter, DYNAMIC_FUNC_DISABLE, false); padapter 4905 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c flush_all_cam_entry(padapter); padapter 4915 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c start_create_ibss(padapter); padapter 4921 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 join_cmd_hdl(struct adapter *padapter, u8 *pbuf) padapter 4925 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct registry_priv *pregpriv = &padapter->registrypriv; padapter 4926 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4935 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_deauth_ex(padapter, pnetwork->MacAddress, WLAN_REASON_DEAUTH_LEAVING, 5, 100); padapter 4940 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c flush_all_cam_entry(padapter); padapter 4945 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Set_MSR(padapter, _HW_STATE_STATION_); padapter 4947 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_DISCONNECT, NULL); padapter 4950 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_antenna_select_cmd(padapter, pparm->PhyInfo.Optimum_antenna, false); padapter 4952 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_joinbss_reset(padapter); padapter 5022 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BSSID, pmlmeinfo->network.MacAddress); padapter 5024 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_JOIN, (u8 *)(&join_type)); padapter 5029 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c start_clnt_join(padapter); padapter 5034 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 disconnect_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 5037 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5042 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (is_client_associated_to_ap(padapter)) padapter 5043 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_deauth_ex(padapter, pnetwork->MacAddress, WLAN_REASON_DEAUTH_LEAVING, param->deauth_timeout_ms/100, 100); padapter 5045 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_DISCONNECT, NULL); padapter 5046 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BSSID, null_addr); padapter 5049 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c update_tx_basic_rate(padapter, padapter->registrypriv.wireless_mode); padapter 5054 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BCN_FUNC, (u8 *)(&val8)); padapter 5058 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Set_MSR(padapter, _HW_STATE_STATION_); padapter 5066 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c set_channel_bwmode(padapter, pmlmeext->cur_channel, pmlmeext->cur_ch_offset, pmlmeext->cur_bwmode); padapter 5068 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c flush_all_cam_entry(padapter); padapter 5072 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_free_uc_swdec_pending_queue(padapter); padapter 5077 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c static int rtw_scan_ch_decision(struct adapter *padapter, padapter 5084 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5121 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 sitesurvey_cmd_hdl(struct adapter *padapter, u8 *pbuf) padapter 5123 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5132 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_CHECK_TXBUF, NULL); padapter 5147 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeext->sitesurvey_res.ch_num = rtw_scan_ch_decision(padapter padapter 5155 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (is_client_associated_to_ap(padapter)) { padapter 5158 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_nulldata(padapter, NULL, 1, 3, 500); padapter 5171 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Save_DM_Func_Flag(padapter); padapter 5172 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Switch_DM_Func(padapter, DYNAMIC_FUNC_DISABLE, false); padapter 5177 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_INITIAL_GAIN, (u8 *)(&initialgain)); padapter 5180 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c Set_MSR(padapter, _HW_STATE_NOLINK_); padapter 5183 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_SITESURVEY, (u8 *)(&val8)); padapter 5188 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c site_survey(padapter); padapter 5193 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 setauth_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 5196 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5204 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 setkey_hdl(struct adapter *padapter, u8 *pbuf) padapter 5208 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5221 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c write_cam(padapter, pparm->keyid, ctrl, null_sta, pparm->key); padapter 5226 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 set_stakey_hdl(struct adapter *padapter, u8 *pbuf) padapter 5230 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5253 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 5256 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c clear_cam_entry(padapter, pparm->id); padapter 5276 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c write_cam(padapter, cam_id, ctrl, pparm->addr, pparm->key); padapter 5288 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c clear_cam_entry(padapter, pparm->id); padapter 5292 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c write_cam(padapter, cam_id, ctrl, pparm->addr, pparm->key); padapter 5297 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 add_ba_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 5300 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5302 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, pparm->addr); padapter 5309 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c issue_action_BA(padapter, pparm->addr, RTW_WLAN_ACTION_ADDBA_REQ, (u16)pparm->tid); padapter 5318 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 set_tx_beacon_cmd(struct adapter *padapter) padapter 5322 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 5323 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5355 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 mlme_evt_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 5385 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c event_callback(padapter, (u8 *)peventbuf); padapter 5392 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 tx_beacon_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 5394 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (send_beacon(padapter) == _FAIL) { padapter 5403 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 5406 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c psta_bmc = rtw_get_bcmc_stainfo(padapter); padapter 5435 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (rtw_hal_xmit(padapter, pxmitframe)) padapter 5436 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_os_xmit_complete(padapter, pxmitframe); padapter 5446 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 set_ch_hdl(struct adapter *padapter, u8 *pbuf) padapter 5449 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5457 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c FUNC_NDEV_ARG(padapter->pnetdev), padapter 5464 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c set_channel_bwmode(padapter, set_ch_parm->ch, set_ch_parm->ch_offset, set_ch_parm->bw); padapter 5469 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 set_chplan_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 5472 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5479 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeext->max_chan_nums = init_channel_set(padapter, setChannelPlan_param->channel_plan, pmlmeext->channel_set); padapter 5480 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c init_channel_list(padapter, pmlmeext->channel_set, pmlmeext->max_chan_nums, &pmlmeext->channel_list); padapter 15 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c static int rtw_hw_suspend(struct adapter *padapter) padapter 17 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 18 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct net_device *pnetdev = padapter->pnetdev; padapter 20 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if ((!padapter->bup) || (padapter->bDriverStopped) || padapter 21 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c (padapter->bSurpriseRemoved)) { padapter 23 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c padapter->bup, padapter->bDriverStopped, padapter 24 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c padapter->bSurpriseRemoved); padapter 29 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c LeaveAllPowerSaveMode(padapter); padapter 41 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_disassoc_cmd(padapter, 500, false); padapter 45 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 50 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c led_control_8188eu(padapter, LED_CTL_NO_LINK); padapter 52 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_os_indicate_disconnect(padapter); padapter 55 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_DISCONNECT, 0); padapter 59 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_free_assoc_resources(padapter); padapter 62 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_free_network_queue(padapter, true); padapter 63 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_ips_dev_unload(padapter); padapter 76 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c static int rtw_hw_resume(struct adapter *padapter) padapter 78 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 79 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct net_device *pnetdev = padapter->pnetdev; padapter 85 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_reset_drv_sw(padapter); padapter 114 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c void ips_enter(struct adapter *padapter) padapter 116 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 117 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct xmit_priv *pxmit_priv = &padapter->xmitpriv; padapter 119 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if (padapter->registrypriv.mp_mode == 1) padapter 146 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_ips_pwr_down(padapter); padapter 154 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c int ips_leave(struct adapter *padapter) padapter 156 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 157 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct security_priv *psecuritypriv = &(padapter->securitypriv); padapter 158 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 170 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c result = rtw_ips_pwr_up(padapter); padapter 177 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c DBG_88E("==>%s, channel(%d), processing(%x)\n", __func__, padapter->mlmeextpriv.cur_channel, pwrpriv->bips_processing); padapter 178 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c set_channel_bwmode(padapter, padapter->mlmeextpriv.cur_channel, HAL_PRIME_CHNL_OFFSET_DONT_CARE, HT_CHANNEL_WIDTH_20); padapter 182 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c result = rtw_set_key(padapter, psecuritypriv, keyid, 1); padapter 184 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c result = rtw_set_key(padapter, psecuritypriv, keyid, 0); padapter 189 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c DBG_88E("==> %s.....LED(0x%08x)...\n", __func__, usb_read32(padapter, 0x4c)); padapter 221 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c void rtw_ps_processor(struct adapter *padapter) padapter 223 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 224 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 232 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if (padapter->pwrctrlpriv.bHWPwrPindetect) { padapter 233 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rfpwrstate = RfOnOffDetect(padapter); padapter 240 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_hw_suspend(padapter); padapter 243 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_hw_resume(padapter); padapter 253 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if (!rtw_pwr_unassociated_idle(padapter)) padapter 260 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c ips_enter(padapter); padapter 263 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_set_pwr_state_check_timer(&padapter->pwrctrlpriv); padapter 269 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct adapter *padapter = padapter 270 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c from_timer(padapter, t, padapter 273 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_ps_cmd(padapter); padapter 283 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c void rtw_set_rpwm(struct adapter *padapter, u8 pslv) padapter 286 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 301 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if ((padapter->bSurpriseRemoved) || padapter 302 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c (!padapter->hw_init_completed)) { padapter 305 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c __func__, padapter->bSurpriseRemoved, padapter->hw_init_completed)); padapter 312 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if (padapter->bDriverStopped) { padapter 329 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_hal_set_hwreg(padapter, HW_VAR_SET_RPWM, (u8 *)(&rpwm)); padapter 335 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c static u8 PS_RDY_CHECK(struct adapter *padapter) padapter 338 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 339 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 355 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X && padapter 356 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c !padapter->securitypriv.binstallGrpkey) { padapter 363 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_ant_mode) padapter 365 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 387 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if (PS_RDY_CHECK(padapter)) { padapter 393 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_PWRMODE, (u8 *)(&ps_mode)); padapter 394 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_set_rpwm(padapter, PS_STATE_S2); padapter 405 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c s32 LPS_RF_ON_check(struct adapter *padapter, u32 delay_ms) padapter 413 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_hal_get_hwreg(padapter, HW_VAR_FWLPS_RF_ON, &bAwake); padapter 417 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if (padapter->bSurpriseRemoved) { padapter 438 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c void LPS_Enter(struct adapter *padapter) padapter 440 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 442 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if (!PS_RDY_CHECK(padapter)) padapter 452 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_set_ps_mode(padapter, pwrpriv->power_mgnt, pwrpriv->smart_ps, 0); padapter 464 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c void LPS_Leave(struct adapter *padapter) padapter 466 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 470 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c rtw_set_ps_mode(padapter, PS_MODE_ACTIVE, 0, 0); padapter 473 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c LPS_RF_ON_check(padapter, LPS_LEAVE_TIMEOUT_MS); padapter 493 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c void rtw_init_pwrctrl_priv(struct adapter *padapter) padapter 495 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrctrlpriv = &padapter->pwrctrlpriv; padapter 503 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c pwrctrlpriv->ips_mode = padapter->registrypriv.ips_mode; padapter 504 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c pwrctrlpriv->ips_mode_req = padapter->registrypriv.ips_mode; padapter 513 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if (padapter->registrypriv.mp_mode == 1) padapter 516 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c pwrctrlpriv->power_mgnt = padapter->registrypriv.power_mgnt;/* PS_MODE_MIN; */ padapter 525 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c pwrctrlpriv->smart_ps = padapter->registrypriv.smart_ps; padapter 543 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c int _rtw_pwr_wakeup(struct adapter *padapter, u32 ips_deffer_ms, const char *caller) padapter 545 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 546 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 574 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if ((pwrpriv->bInternalAutoSuspend) && (padapter->net_closed)) { padapter 586 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if (ips_leave(padapter) == _FAIL) { padapter 594 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if (padapter->bDriverStopped || !padapter->bup || padapter 595 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c !padapter->hw_init_completed) { padapter 598 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c , padapter->bDriverStopped padapter 599 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c , padapter->bup padapter 600 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c , padapter->hw_init_completed); padapter 612 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c int rtw_pm_set_lps(struct adapter *padapter, u8 mode) padapter 615 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrctrlpriv = &padapter->pwrctrlpriv; padapter 620 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c LeaveAllPowerSaveMode(padapter); padapter 633 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c int rtw_pm_set_ips(struct adapter *padapter, u8 mode) padapter 635 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrctrlpriv = &padapter->pwrctrlpriv; padapter 644 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c if ((padapter->bSurpriseRemoved == 0) && (rtw_pwr_wakeup(padapter) == _FAIL)) padapter 45 drivers/staging/rtl8188eu/core/rtw_recv.c int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter) padapter 57 drivers/staging/rtl8188eu/core/rtw_recv.c precvpriv->adapter = padapter; padapter 74 drivers/staging/rtl8188eu/core/rtw_recv.c precvframe->adapter = padapter; padapter 77 drivers/staging/rtl8188eu/core/rtw_recv.c res = rtw_hal_init_recv_priv(padapter); padapter 91 drivers/staging/rtl8188eu/core/rtw_recv.c struct adapter *padapter = precvpriv->adapter; padapter 93 drivers/staging/rtl8188eu/core/rtw_recv.c rtw_free_uc_swdec_pending_queue(padapter); padapter 97 drivers/staging/rtl8188eu/core/rtw_recv.c rtw_hal_free_recv_priv(padapter); padapter 357 drivers/staging/rtl8188eu/core/rtw_recv.c static struct recv_frame *decryptor(struct adapter *padapter, padapter 361 drivers/staging/rtl8188eu/core/rtw_recv.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 395 drivers/staging/rtl8188eu/core/rtw_recv.c res = rtw_wep_decrypt(padapter, (u8 *)precv_frame); padapter 398 drivers/staging/rtl8188eu/core/rtw_recv.c res = rtw_tkip_decrypt(padapter, (u8 *)precv_frame); padapter 401 drivers/staging/rtl8188eu/core/rtw_recv.c res = rtw_aes_decrypt(padapter, (u8 *)precv_frame); padapter 411 drivers/staging/rtl8188eu/core/rtw_recv.c rtw_free_recvframe(return_packet, &padapter->recvpriv.free_recv_queue); padapter 521 drivers/staging/rtl8188eu/core/rtw_recv.c static void process_pwrbit_data(struct adapter *padapter, padapter 528 drivers/staging/rtl8188eu/core/rtw_recv.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 538 drivers/staging/rtl8188eu/core/rtw_recv.c stop_sta_xmit(padapter, psta); padapter 541 drivers/staging/rtl8188eu/core/rtw_recv.c wakeup_sta_to_xmit(padapter, psta); padapter 548 drivers/staging/rtl8188eu/core/rtw_recv.c static void process_wmmps_data(struct adapter *padapter, padapter 553 drivers/staging/rtl8188eu/core/rtw_recv.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 593 drivers/staging/rtl8188eu/core/rtw_recv.c xmit_delivery_enabled_frames(padapter, psta); padapter 596 drivers/staging/rtl8188eu/core/rtw_recv.c issue_qos_nulldata(padapter, psta->hwaddr, (u16)pattrib->priority, 0, 0); padapter 604 drivers/staging/rtl8188eu/core/rtw_recv.c static void count_rx_stats(struct adapter *padapter, padapter 612 drivers/staging/rtl8188eu/core/rtw_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 617 drivers/staging/rtl8188eu/core/rtw_recv.c padapter->mlmepriv.LinkDetectInfo.NumRxOkInPeriod++; padapter 620 drivers/staging/rtl8188eu/core/rtw_recv.c padapter->mlmepriv.LinkDetectInfo.NumRxUnicastOkInPeriod++; padapter 862 drivers/staging/rtl8188eu/core/rtw_recv.c static int validate_recv_ctrl_frame(struct adapter *padapter, padapter 867 drivers/staging/rtl8188eu/core/rtw_recv.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 874 drivers/staging/rtl8188eu/core/rtw_recv.c if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) padapter 947 drivers/staging/rtl8188eu/core/rtw_recv.c if (rtw_hal_xmit(padapter, pxmitframe)) padapter 948 drivers/staging/rtl8188eu/core/rtw_recv.c rtw_os_xmit_complete(padapter, pxmitframe); padapter 956 drivers/staging/rtl8188eu/core/rtw_recv.c update_beacon(padapter, _TIM_IE_, NULL, false); padapter 964 drivers/staging/rtl8188eu/core/rtw_recv.c issue_nulldata(padapter, psta->hwaddr, 0, 0, 0); padapter 974 drivers/staging/rtl8188eu/core/rtw_recv.c update_beacon(padapter, _TIM_IE_, NULL, false); padapter 987 drivers/staging/rtl8188eu/core/rtw_recv.c struct recv_frame *recvframe_chk_defrag(struct adapter *padapter, padapter 990 drivers/staging/rtl8188eu/core/rtw_recv.c static int validate_recv_mgnt_frame(struct adapter *padapter, padapter 997 drivers/staging/rtl8188eu/core/rtw_recv.c precv_frame = recvframe_chk_defrag(padapter, precv_frame); padapter 1005 drivers/staging/rtl8188eu/core/rtw_recv.c psta = rtw_get_stainfo(&padapter->stapriv, padapter 1014 drivers/staging/rtl8188eu/core/rtw_recv.c if (!memcmp(padapter->eeprompriv.mac_addr, padapter 1024 drivers/staging/rtl8188eu/core/rtw_recv.c mgt_dispatcher(padapter, precv_frame); padapter 1391 drivers/staging/rtl8188eu/core/rtw_recv.c struct recv_frame *recvframe_chk_defrag(struct adapter *padapter, padapter 1404 drivers/staging/rtl8188eu/core/rtw_recv.c pstapriv = &padapter->stapriv; padapter 1408 drivers/staging/rtl8188eu/core/rtw_recv.c pfree_recv_queue = &padapter->recvpriv.free_recv_queue; padapter 1420 drivers/staging/rtl8188eu/core/rtw_recv.c psta = rtw_get_bcmc_stainfo(padapter); padapter 1468 drivers/staging/rtl8188eu/core/rtw_recv.c precv_frame = recvframe_defrag(padapter, pdefrag_q); padapter 1480 drivers/staging/rtl8188eu/core/rtw_recv.c if (recvframe_chkmic(padapter, prtnframe) == _FAIL) { padapter 1490 drivers/staging/rtl8188eu/core/rtw_recv.c static int amsdu_to_msdu(struct adapter *padapter, struct recv_frame *prframe) padapter 1498 drivers/staging/rtl8188eu/core/rtw_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 1588 drivers/staging/rtl8188eu/core/rtw_recv.c sub_skb->protocol = eth_type_trans(sub_skb, padapter->pnetdev); padapter 1589 drivers/staging/rtl8188eu/core/rtw_recv.c sub_skb->dev = padapter->pnetdev; padapter 1662 drivers/staging/rtl8188eu/core/rtw_recv.c static int recv_indicatepkts_in_order(struct adapter *padapter, struct recv_reorder_ctrl *preorder_ctrl, int bforced) padapter 1669 drivers/staging/rtl8188eu/core/rtw_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 1706 drivers/staging/rtl8188eu/core/rtw_recv.c if ((!padapter->bDriverStopped) && padapter 1707 drivers/staging/rtl8188eu/core/rtw_recv.c (!padapter->bSurpriseRemoved)) padapter 1708 drivers/staging/rtl8188eu/core/rtw_recv.c rtw_recv_indicatepkt(padapter, prframe);/* indicate this recv_frame */ padapter 1710 drivers/staging/rtl8188eu/core/rtw_recv.c if (amsdu_to_msdu(padapter, prframe) != _SUCCESS) padapter 1726 drivers/staging/rtl8188eu/core/rtw_recv.c static int recv_indicatepkt_reorder(struct adapter *padapter, padapter 1740 drivers/staging/rtl8188eu/core/rtw_recv.c if ((!padapter->bDriverStopped) && padapter 1741 drivers/staging/rtl8188eu/core/rtw_recv.c (!padapter->bSurpriseRemoved)) { padapter 1744 drivers/staging/rtl8188eu/core/rtw_recv.c rtw_recv_indicatepkt(padapter, prframe); padapter 1754 drivers/staging/rtl8188eu/core/rtw_recv.c rtw_recv_indicatepkt(padapter, prframe); padapter 1763 drivers/staging/rtl8188eu/core/rtw_recv.c retval = amsdu_to_msdu(padapter, prframe); padapter 1779 drivers/staging/rtl8188eu/core/rtw_recv.c rtw_recv_indicatepkt(padapter, prframe); padapter 1801 drivers/staging/rtl8188eu/core/rtw_recv.c if (recv_indicatepkts_in_order(padapter, preorder_ctrl, false)) { padapter 1825 drivers/staging/rtl8188eu/core/rtw_recv.c struct adapter *padapter = preorder_ctrl->padapter; padapter 1828 drivers/staging/rtl8188eu/core/rtw_recv.c if (padapter->bDriverStopped || padapter->bSurpriseRemoved) padapter 1833 drivers/staging/rtl8188eu/core/rtw_recv.c if (recv_indicatepkts_in_order(padapter, preorder_ctrl, true)) padapter 1840 drivers/staging/rtl8188eu/core/rtw_recv.c static int process_recv_indicatepkts(struct adapter *padapter, padapter 1844 drivers/staging/rtl8188eu/core/rtw_recv.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1848 drivers/staging/rtl8188eu/core/rtw_recv.c if (recv_indicatepkt_reorder(padapter, prframe) != _SUCCESS) { padapter 1850 drivers/staging/rtl8188eu/core/rtw_recv.c if ((!padapter->bDriverStopped) && padapter 1851 drivers/staging/rtl8188eu/core/rtw_recv.c (!padapter->bSurpriseRemoved)) { padapter 1862 drivers/staging/rtl8188eu/core/rtw_recv.c if ((!padapter->bDriverStopped) && padapter 1863 drivers/staging/rtl8188eu/core/rtw_recv.c (!padapter->bSurpriseRemoved)) { padapter 1866 drivers/staging/rtl8188eu/core/rtw_recv.c rtw_recv_indicatepkt(padapter, prframe); padapter 1870 drivers/staging/rtl8188eu/core/rtw_recv.c RT_TRACE(_module_rtl871x_recv_c_, _drv_notice_, ("recv_func:bDriverStopped(%d) OR bSurpriseRemoved(%d)", padapter->bDriverStopped, padapter->bSurpriseRemoved)); padapter 1878 drivers/staging/rtl8188eu/core/rtw_recv.c static int recv_func_prehandle(struct adapter *padapter, padapter 1882 drivers/staging/rtl8188eu/core/rtw_recv.c struct __queue *pfree_recv_queue = &padapter->recvpriv.free_recv_queue; padapter 1885 drivers/staging/rtl8188eu/core/rtw_recv.c ret = validate_recv_frame(padapter, rframe); padapter 1896 drivers/staging/rtl8188eu/core/rtw_recv.c static int recv_func_posthandle(struct adapter *padapter, padapter 1901 drivers/staging/rtl8188eu/core/rtw_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 1902 drivers/staging/rtl8188eu/core/rtw_recv.c struct __queue *pfree_recv_queue = &padapter->recvpriv.free_recv_queue; padapter 1905 drivers/staging/rtl8188eu/core/rtw_recv.c led_control_8188eu(padapter, LED_CTL_RX); padapter 1907 drivers/staging/rtl8188eu/core/rtw_recv.c prframe = decryptor(padapter, prframe); padapter 1914 drivers/staging/rtl8188eu/core/rtw_recv.c prframe = recvframe_chk_defrag(padapter, prframe); padapter 1920 drivers/staging/rtl8188eu/core/rtw_recv.c prframe = portctrl(padapter, prframe); padapter 1927 drivers/staging/rtl8188eu/core/rtw_recv.c count_rx_stats(padapter, prframe, NULL); padapter 1929 drivers/staging/rtl8188eu/core/rtw_recv.c ret = process_recv_indicatepkts(padapter, prframe); padapter 1942 drivers/staging/rtl8188eu/core/rtw_recv.c static int recv_func(struct adapter *padapter, struct recv_frame *rframe) padapter 1946 drivers/staging/rtl8188eu/core/rtw_recv.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 1947 drivers/staging/rtl8188eu/core/rtw_recv.c struct mlme_priv *mlmepriv = &padapter->mlmepriv; padapter 1953 drivers/staging/rtl8188eu/core/rtw_recv.c while ((pending_frame = rtw_alloc_recvframe(&padapter->recvpriv.uc_swdec_pending_queue))) { padapter 1954 drivers/staging/rtl8188eu/core/rtw_recv.c if (recv_func_posthandle(padapter, pending_frame) == _SUCCESS) padapter 1959 drivers/staging/rtl8188eu/core/rtw_recv.c ret = recv_func_prehandle(padapter, rframe); padapter 1969 drivers/staging/rtl8188eu/core/rtw_recv.c rtw_enqueue_recvframe(rframe, &padapter->recvpriv.uc_swdec_pending_queue); padapter 1974 drivers/staging/rtl8188eu/core/rtw_recv.c ret = recv_func_posthandle(padapter, rframe); padapter 1983 drivers/staging/rtl8188eu/core/rtw_recv.c struct adapter *padapter; padapter 1987 drivers/staging/rtl8188eu/core/rtw_recv.c padapter = precvframe->adapter; padapter 1989 drivers/staging/rtl8188eu/core/rtw_recv.c precvpriv = &padapter->recvpriv; padapter 1991 drivers/staging/rtl8188eu/core/rtw_recv.c ret = recv_func(padapter, precvframe); padapter 132 drivers/staging/rtl8188eu/core/rtw_security.c void rtw_wep_encrypt(struct adapter *padapter, u8 *pxmitframe) padapter 138 drivers/staging/rtl8188eu/core/rtw_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 139 drivers/staging/rtl8188eu/core/rtw_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 201 drivers/staging/rtl8188eu/core/rtw_security.c int rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe) padapter 206 drivers/staging/rtl8188eu/core/rtw_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 575 drivers/staging/rtl8188eu/core/rtw_security.c u32 rtw_tkip_encrypt(struct adapter *padapter, u8 *pxmitframe) padapter 590 drivers/staging/rtl8188eu/core/rtw_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 591 drivers/staging/rtl8188eu/core/rtw_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 605 drivers/staging/rtl8188eu/core/rtw_security.c stainfo = rtw_get_stainfo(&padapter->stapriv, &pattrib->ra[0]); padapter 656 drivers/staging/rtl8188eu/core/rtw_security.c u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe) padapter 670 drivers/staging/rtl8188eu/core/rtw_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 678 drivers/staging/rtl8188eu/core/rtw_security.c stainfo = rtw_get_stainfo(&padapter->stapriv, &prxattrib->ta[0]); padapter 1216 drivers/staging/rtl8188eu/core/rtw_security.c u32 rtw_aes_encrypt(struct adapter *padapter, u8 *pxmitframe) padapter 1228 drivers/staging/rtl8188eu/core/rtw_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 1229 drivers/staging/rtl8188eu/core/rtw_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1247 drivers/staging/rtl8188eu/core/rtw_security.c stainfo = rtw_get_stainfo(&padapter->stapriv, &pattrib->ra[0]); padapter 1278 drivers/staging/rtl8188eu/core/rtw_security.c u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe) padapter 1285 drivers/staging/rtl8188eu/core/rtw_security.c struct sta_info *stainfo = rtw_get_stainfo(&padapter->stapriv, &prxattrib->ta[0]); padapter 1294 drivers/staging/rtl8188eu/core/rtw_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 11 drivers/staging/rtl8188eu/core/rtw_sreset.c void rtw_hal_sreset_init(struct adapter *padapter) padapter 13 drivers/staging/rtl8188eu/core/rtw_sreset.c struct sreset_priv *psrtpriv = &padapter->HalData->srestpriv; padapter 18 drivers/staging/rtl8188eu/core/rtw_sreset.c void sreset_set_wifi_error_status(struct adapter *padapter, u32 status) padapter 20 drivers/staging/rtl8188eu/core/rtw_sreset.c padapter->HalData->srestpriv.wifi_error_status = status; padapter 214 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c init_addba_retry_timer(pstapriv->padapter, psta); padapter 220 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c preorder_ctrl->padapter = pstapriv->padapter; padapter 246 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c u32 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta) padapter 252 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 253 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 304 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct __queue *pfree_recv_queue = &padapter->recvpriv.free_recv_queue; padapter 331 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, false); padapter 376 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c void rtw_free_all_stainfo(struct adapter *padapter) padapter 381 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 382 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct sta_info *pbcmc_stainfo = rtw_get_bcmc_stainfo(padapter); padapter 399 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c rtw_free_stainfo(padapter, psta); padapter 444 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c u32 rtw_init_bcmc_stainfo(struct adapter *padapter) padapter 449 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 466 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct sta_info *rtw_get_bcmc_stainfo(struct adapter *padapter) padapter 468 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 474 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c u8 rtw_access_ctrl(struct adapter *padapter, u8 *mac_addr) padapter 481 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 105 drivers/staging/rtl8188eu/core/rtw_wlan_util.c u8 judge_network_type(struct adapter *padapter, unsigned char *rate, int ratelen) padapter 108 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 156 drivers/staging/rtl8188eu/core/rtw_wlan_util.c static bool is_basicrate(struct adapter *padapter, unsigned char rate) padapter 160 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 173 drivers/staging/rtl8188eu/core/rtw_wlan_util.c static unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset) padapter 178 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 191 drivers/staging/rtl8188eu/core/rtw_wlan_util.c if (is_basicrate(padapter, rate)) padapter 202 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void get_rate_set(struct adapter *padapter, unsigned char *pbssrate, int *bssrate_len) padapter 207 drivers/staging/rtl8188eu/core/rtw_wlan_util.c *bssrate_len = ratetbl2rateset(padapter, supportedrates); padapter 251 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void Save_DM_Func_Flag(struct adapter *padapter) padapter 255 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_DM_FUNC_OP, (u8 *)(&saveflag)); padapter 258 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void Restore_DM_Func_Flag(struct adapter *padapter) padapter 262 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_DM_FUNC_OP, (u8 *)(&saveflag)); padapter 265 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void Switch_DM_Func(struct adapter *padapter, u32 mode, u8 enable) padapter 268 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_DM_FUNC_SET, (u8 *)(&mode)); padapter 270 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_DM_FUNC_CLR, (u8 *)(&mode)); padapter 273 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void Set_MSR(struct adapter *padapter, u8 type) padapter 275 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_MEDIA_STATUS, (u8 *)(&type)); padapter 298 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void SelectChannel(struct adapter *padapter, unsigned char channel) padapter 301 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_set_oper_ch(padapter, channel); padapter 302 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_chan(padapter, channel); padapter 305 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void SetBWMode(struct adapter *padapter, unsigned short bwmode, padapter 309 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_set_oper_bw(padapter, bwmode); padapter 310 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_set_oper_choffset(padapter, channel_offset); padapter 312 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_bwmode(padapter, (enum ht_channel_width)bwmode, channel_offset); padapter 315 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void set_channel_bwmode(struct adapter *padapter, unsigned char channel, unsigned char channel_offset, unsigned short bwmode) padapter 336 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_set_oper_ch(padapter, channel); padapter 337 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_set_oper_bw(padapter, bwmode); padapter 338 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_set_oper_choffset(padapter, channel_offset); padapter 340 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_chan(padapter, center_ch); /* set center channel */ padapter 341 drivers/staging/rtl8188eu/core/rtw_wlan_util.c SetBWMode(padapter, bwmode, channel_offset); padapter 353 drivers/staging/rtl8188eu/core/rtw_wlan_util.c int is_client_associated_to_ap(struct adapter *padapter) padapter 358 drivers/staging/rtl8188eu/core/rtw_wlan_util.c if (!padapter) padapter 361 drivers/staging/rtl8188eu/core/rtw_wlan_util.c pmlmeext = &padapter->mlmeextpriv; padapter 371 drivers/staging/rtl8188eu/core/rtw_wlan_util.c int is_client_associated_to_ibss(struct adapter *padapter) padapter 373 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 383 drivers/staging/rtl8188eu/core/rtw_wlan_util.c int is_IBSS_empty(struct adapter *padapter) padapter 386 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 406 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void invalidate_cam_all(struct adapter *padapter) padapter 408 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_CAM_INVALID_ALL, NULL); padapter 411 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void write_cam(struct adapter *padapter, u8 entry, u16 ctrl, u8 *mac, u8 *key) padapter 437 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_CAM_WRITE, (u8 *)cam_val); padapter 441 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void clear_cam_entry(struct adapter *padapter, u8 entry) padapter 446 drivers/staging/rtl8188eu/core/rtw_wlan_util.c write_cam(padapter, entry, 0, null_sta, null_key); padapter 449 drivers/staging/rtl8188eu/core/rtw_wlan_util.c int allocate_fw_sta_entry(struct adapter *padapter) padapter 452 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 466 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void flush_all_cam_entry(struct adapter *padapter) padapter 468 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 471 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_CAM_INVALID_ALL, NULL); padapter 476 drivers/staging/rtl8188eu/core/rtw_wlan_util.c int WMM_param_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE) padapter 478 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 479 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 492 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void WMMOnAssocRsp(struct adapter *padapter) padapter 499 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 501 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 502 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct registry_priv *pregpriv = &padapter->registrypriv; padapter 505 drivers/staging/rtl8188eu/core/rtw_wlan_util.c padapter->mlmepriv.acm_mask = 0; padapter 531 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_BE, (u8 *)(&acParm)); padapter 536 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_BK, (u8 *)(&acParm)); padapter 540 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_VI, (u8 *)(&acParm)); padapter 545 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_VO, (u8 *)(&acParm)); padapter 554 drivers/staging/rtl8188eu/core/rtw_wlan_util.c if (padapter->registrypriv.acm_method == 1) padapter 555 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_ACM_CTRL, (u8 *)(&acm_mask)); padapter 557 drivers/staging/rtl8188eu/core/rtw_wlan_util.c padapter->mlmepriv.acm_mask = acm_mask; padapter 591 drivers/staging/rtl8188eu/core/rtw_wlan_util.c static void bwmode_update_check(struct adapter *padapter, struct ndis_802_11_var_ie *pIE) padapter 596 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 597 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 599 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 640 drivers/staging/rtl8188eu/core/rtw_wlan_util.c HT_info_handler(padapter, pIE); padapter 648 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 667 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void HT_caps_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE) padapter 671 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 673 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 710 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void HT_info_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE) padapter 712 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 714 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 730 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void HTOnAssocRsp(struct adapter *padapter) padapter 734 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 755 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AMPDU_MIN_SPACE, (u8 *)(&min_MPDU_spacing)); padapter 757 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AMPDU_FACTOR, (u8 *)(&max_AMPDU_len)); padapter 760 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void ERP_IE_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE) padapter 762 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 772 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void VCS_update(struct adapter *padapter, struct sta_info *psta) padapter 774 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct registry_priv *pregpriv = &padapter->registrypriv; padapter 775 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 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) padapter 1026 drivers/staging/rtl8188eu/core/rtw_wlan_util.c bwmode_update_check(padapter, pIE); padapter 1029 drivers/staging/rtl8188eu/core/rtw_wlan_util.c ERP_IE_handler(padapter, pIE); padapter 1030 drivers/staging/rtl8188eu/core/rtw_wlan_util.c VCS_update(padapter, psta); padapter 1040 drivers/staging/rtl8188eu/core/rtw_wlan_util.c unsigned int is_ap_in_tkip(struct adapter *padapter) padapter 1044 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1138 drivers/staging/rtl8188eu/core/rtw_wlan_util.c int support_short_GI(struct adapter *padapter, struct ieee80211_ht_cap *pHT_caps) padapter 1141 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1172 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void Update_RA_Entry(struct adapter *padapter, u32 mac_id) padapter 1174 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_update_ra_mask(padapter, mac_id, 0); padapter 1177 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void set_sta_rate(struct adapter *padapter, struct sta_info *psta) padapter 1180 drivers/staging/rtl8188eu/core/rtw_wlan_util.c Update_RA_Entry(padapter, psta->mac_id); padapter 1184 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void update_tx_basic_rate(struct adapter *padapter, u8 wirelessmode) padapter 1198 drivers/staging/rtl8188eu/core/rtw_wlan_util.c update_mgnt_tx_rate(padapter, IEEE80211_CCK_RATE_1MB); padapter 1200 drivers/staging/rtl8188eu/core/rtw_wlan_util.c update_mgnt_tx_rate(padapter, IEEE80211_OFDM_RATE_6MB); padapter 1202 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_BASIC_RATE, supported_rates); padapter 1277 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void update_IOT_info(struct adapter *padapter) padapter 1279 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1291 drivers/staging/rtl8188eu/core/rtw_wlan_util.c Switch_DM_Func(padapter, (u32)(~DYNAMIC_BB_DYNAMIC_TXPWR), padapter 1296 drivers/staging/rtl8188eu/core/rtw_wlan_util.c Switch_DM_Func(padapter, (u32)(~DYNAMIC_BB_DYNAMIC_TXPWR), padapter 1352 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void update_wireless_mode(struct adapter *padapter) padapter 1356 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1376 drivers/staging/rtl8188eu/core/rtw_wlan_util.c pmlmeext->cur_wireless_mode = network_type & padapter->registrypriv.wireless_mode; padapter 1381 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_RESP_SIFS, (u8 *)&SIFS_Timer); padapter 1383 drivers/staging/rtl8188eu/core/rtw_wlan_util.c update_mgnt_tx_rate(padapter, padapter 1388 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void update_bmc_sta_support_rate(struct adapter *padapter, u32 mac_id) padapter 1390 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1401 drivers/staging/rtl8188eu/core/rtw_wlan_util.c int update_sta_support_rate(struct adapter *padapter, u8 *pvar_ie, uint var_ie_len, int cam_idx) padapter 1406 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1428 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void process_addba_req(struct adapter *padapter, u8 *paddba_req, u8 *addr) padapter 1434 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1436 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1465 drivers/staging/rtl8188eu/core/rtw_wlan_util.c void correct_TSF(struct adapter *padapter, struct mlme_ext_priv *pmlmeext) padapter 1467 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_CORRECT_TSF, NULL); padapter 38 drivers/staging/rtl8188eu/core/rtw_xmit.c s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter) padapter 55 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->adapter = padapter; padapter 86 drivers/staging/rtl8188eu/core/rtw_xmit.c pxframe->padapter = padapter; padapter 123 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitbuf->padapter = padapter; padapter 127 drivers/staging/rtl8188eu/core/rtw_xmit.c res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ)); padapter 130 drivers/staging/rtl8188eu/core/rtw_xmit.c res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ)); padapter 162 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitbuf->padapter = padapter; padapter 165 drivers/staging/rtl8188eu/core/rtw_xmit.c res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, max_xmit_extbuf_size + XMITBUF_ALIGN_SZ); padapter 177 drivers/staging/rtl8188eu/core/rtw_xmit.c res = rtw_alloc_hwxmits(padapter); padapter 197 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_hal_init_xmit_priv(padapter); padapter 206 drivers/staging/rtl8188eu/core/rtw_xmit.c struct adapter *padapter = pxmitpriv->adapter; padapter 215 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_os_xmit_complete(padapter, pxmitframe); padapter 237 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_free_hwxmits(padapter); padapter 242 drivers/staging/rtl8188eu/core/rtw_xmit.c static void update_attrib_vcs_info(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 247 drivers/staging/rtl8188eu/core/rtw_xmit.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 251 drivers/staging/rtl8188eu/core/rtw_xmit.c sz = padapter->xmitpriv.frag_len; padapter 261 drivers/staging/rtl8188eu/core/rtw_xmit.c if (pmlmeext->cur_wireless_mode < WIRELESS_11_24N || padapter->registrypriv.wifi_spec) { padapter 262 drivers/staging/rtl8188eu/core/rtw_xmit.c if (sz > padapter->registrypriv.rts_thresh) { padapter 276 drivers/staging/rtl8188eu/core/rtw_xmit.c (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { padapter 303 drivers/staging/rtl8188eu/core/rtw_xmit.c if (sz > padapter->registrypriv.rts_thresh) { padapter 393 drivers/staging/rtl8188eu/core/rtw_xmit.c static s32 update_attrib(struct adapter *padapter, struct sk_buff *pkt, struct pkt_attrib *pattrib) padapter 399 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 400 drivers/staging/rtl8188eu/core/rtw_xmit.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 401 drivers/staging/rtl8188eu/core/rtw_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 455 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_set_scan_deny(padapter, 3000); padapter 459 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_SPECIAL_PACKET, 1); padapter 465 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = rtw_get_bcmc_stainfo(padapter); padapter 550 drivers/staging/rtl8188eu/core/rtw_xmit.c if (padapter->securitypriv.busetkipkey == _FAIL) { padapter 553 drivers/staging/rtl8188eu/core/rtw_xmit.c padapter->securitypriv.busetkipkey)); padapter 588 drivers/staging/rtl8188eu/core/rtw_xmit.c static s32 xmitframe_addmic(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 595 drivers/staging/rtl8188eu/core/rtw_xmit.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 596 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 603 drivers/staging/rtl8188eu/core/rtw_xmit.c stainfo = rtw_get_stainfo(&padapter->stapriv, &pattrib->ra[0]); padapter 707 drivers/staging/rtl8188eu/core/rtw_xmit.c static s32 xmitframe_swencrypt(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 716 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_wep_encrypt(padapter, (u8 *)pxmitframe); padapter 719 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_tkip_encrypt(padapter, (u8 *)pxmitframe); padapter 722 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_aes_encrypt(padapter, (u8 *)pxmitframe); padapter 734 drivers/staging/rtl8188eu/core/rtw_xmit.c s32 rtw_make_wlanhdr(struct adapter *padapter, u8 *hdr, struct pkt_attrib *pattrib) padapter 739 drivers/staging/rtl8188eu/core/rtw_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 752 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = rtw_get_bcmc_stainfo(padapter); padapter 754 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); padapter 854 drivers/staging/rtl8188eu/core/rtw_xmit.c s32 rtw_txframes_pending(struct adapter *padapter) padapter 856 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 864 drivers/staging/rtl8188eu/core/rtw_xmit.c s32 rtw_txframes_sta_ac_pending(struct adapter *padapter, struct pkt_attrib *pattrib) padapter 907 drivers/staging/rtl8188eu/core/rtw_xmit.c s32 rtw_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, struct xmit_frame *pxmitframe) padapter 914 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 921 drivers/staging/rtl8188eu/core/rtw_xmit.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); padapter 937 drivers/staging/rtl8188eu/core/rtw_xmit.c if (rtw_make_wlanhdr(padapter, mem_start, pattrib) == _FAIL) { padapter 985 drivers/staging/rtl8188eu/core/rtw_xmit.c padapter->securitypriv.dot11PrivacyKeyIndex, padapter 1036 drivers/staging/rtl8188eu/core/rtw_xmit.c rtl88eu_mon_xmit_hook(padapter->pmondev, pxmitframe, frg_len); padapter 1038 drivers/staging/rtl8188eu/core/rtw_xmit.c if (xmitframe_addmic(padapter, pxmitframe) == _FAIL) { padapter 1045 drivers/staging/rtl8188eu/core/rtw_xmit.c xmitframe_swencrypt(padapter, pxmitframe); padapter 1048 drivers/staging/rtl8188eu/core/rtw_xmit.c update_attrib_vcs_info(padapter, pxmitframe); padapter 1087 drivers/staging/rtl8188eu/core/rtw_xmit.c void rtw_update_protection(struct adapter *padapter, u8 *ie, uint ie_len) padapter 1091 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1092 drivers/staging/rtl8188eu/core/rtw_xmit.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 1120 drivers/staging/rtl8188eu/core/rtw_xmit.c void rtw_count_tx_stats(struct adapter *padapter, struct xmit_frame *pxmitframe, int sz) padapter 1124 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1125 drivers/staging/rtl8188eu/core/rtw_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1296 drivers/staging/rtl8188eu/core/rtw_xmit.c struct adapter *padapter = pxmitpriv->adapter; padapter 1321 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_os_pkt_complete(padapter, pndis_pkt); padapter 1347 drivers/staging/rtl8188eu/core/rtw_xmit.c s32 rtw_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 1349 drivers/staging/rtl8188eu/core/rtw_xmit.c if (rtw_xmit_classifier(padapter, pxmitframe) == _FAIL) { padapter 1385 drivers/staging/rtl8188eu/core/rtw_xmit.c struct adapter *padapter = pxmitpriv->adapter; padapter 1386 drivers/staging/rtl8188eu/core/rtw_xmit.c struct registry_priv *pregpriv = &padapter->registrypriv; padapter 1430 drivers/staging/rtl8188eu/core/rtw_xmit.c struct tx_servq *rtw_get_sta_pending(struct adapter *padapter, padapter 1474 drivers/staging/rtl8188eu/core/rtw_xmit.c s32 rtw_xmit_classifier(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 1480 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1481 drivers/staging/rtl8188eu/core/rtw_xmit.c struct hw_xmit *phwxmits = padapter->xmitpriv.hwxmits; padapter 1496 drivers/staging/rtl8188eu/core/rtw_xmit.c ptxservq = rtw_get_sta_pending(padapter, psta, pattrib->priority, (u8 *)(&ac_index)); padapter 1508 drivers/staging/rtl8188eu/core/rtw_xmit.c s32 rtw_alloc_hwxmits(struct adapter *padapter) padapter 1511 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1529 drivers/staging/rtl8188eu/core/rtw_xmit.c void rtw_free_hwxmits(struct adapter *padapter) padapter 1532 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1591 drivers/staging/rtl8188eu/core/rtw_xmit.c s32 rtw_xmit(struct adapter *padapter, struct sk_buff **ppkt) padapter 1593 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1604 drivers/staging/rtl8188eu/core/rtw_xmit.c res = update_attrib(padapter, *ppkt, &pxmitframe->attrib); padapter 1613 drivers/staging/rtl8188eu/core/rtw_xmit.c led_control_8188eu(padapter, LED_CTL_TX); padapter 1619 drivers/staging/rtl8188eu/core/rtw_xmit.c if (xmitframe_enqueue_for_sleeping_sta(padapter, pxmitframe)) { padapter 1626 drivers/staging/rtl8188eu/core/rtw_xmit.c if (!rtw_hal_xmit(padapter, pxmitframe)) padapter 1634 drivers/staging/rtl8188eu/core/rtw_xmit.c int xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 1638 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1640 drivers/staging/rtl8188eu/core/rtw_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1673 drivers/staging/rtl8188eu/core/rtw_xmit.c update_beacon(padapter, _TIM_IE_, NULL, false);/* tx bc/mc packets after update bcn */ padapter 1724 drivers/staging/rtl8188eu/core/rtw_xmit.c update_beacon(padapter, _TIM_IE_, NULL, false); padapter 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) padapter 1743 drivers/staging/rtl8188eu/core/rtw_xmit.c struct hw_xmit *phwxmits = padapter->xmitpriv.hwxmits; padapter 1753 drivers/staging/rtl8188eu/core/rtw_xmit.c xmitframe_enqueue_for_sleeping_sta(padapter, pxmitframe); padapter 1757 drivers/staging/rtl8188eu/core/rtw_xmit.c ptxservq = rtw_get_sta_pending(padapter, psta, pattrib->priority, (u8 *)(&ac_index)); padapter 1764 drivers/staging/rtl8188eu/core/rtw_xmit.c void stop_sta_xmit(struct adapter *padapter, struct sta_info *psta) padapter 1768 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1769 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1774 drivers/staging/rtl8188eu/core/rtw_xmit.c psta_bmc = rtw_get_bcmc_stainfo(padapter); padapter 1782 drivers/staging/rtl8188eu/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, padapter 1786 drivers/staging/rtl8188eu/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, padapter 1790 drivers/staging/rtl8188eu/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, padapter 1794 drivers/staging/rtl8188eu/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, padapter 1800 drivers/staging/rtl8188eu/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta_bmc, padapter 1807 drivers/staging/rtl8188eu/core/rtw_xmit.c void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta) padapter 1813 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1867 drivers/staging/rtl8188eu/core/rtw_xmit.c if (rtw_hal_xmit(padapter, pxmitframe)) padapter 1868 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_os_xmit_complete(padapter, pxmitframe); padapter 1891 drivers/staging/rtl8188eu/core/rtw_xmit.c psta_bmc = rtw_get_bcmc_stainfo(padapter); padapter 1917 drivers/staging/rtl8188eu/core/rtw_xmit.c if (rtw_hal_xmit(padapter, pxmitframe)) padapter 1918 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_os_xmit_complete(padapter, pxmitframe); padapter 1933 drivers/staging/rtl8188eu/core/rtw_xmit.c update_beacon(padapter, _TIM_IE_, NULL, false); padapter 1936 drivers/staging/rtl8188eu/core/rtw_xmit.c void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta) padapter 1941 drivers/staging/rtl8188eu/core/rtw_xmit.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1991 drivers/staging/rtl8188eu/core/rtw_xmit.c if (rtw_hal_xmit(padapter, pxmitframe)) padapter 1992 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_os_xmit_complete(padapter, pxmitframe); padapter 1998 drivers/staging/rtl8188eu/core/rtw_xmit.c update_beacon(padapter, _TIM_IE_, NULL, false); padapter 14 drivers/staging/rtl8188eu/hal/pwrseqcmd.c u8 rtl88eu_pwrseqcmdparsing(struct adapter *padapter, u8 cut_vers, padapter 51 drivers/staging/rtl8188eu/hal/pwrseqcmd.c value = usb_read8(padapter, offset); padapter 58 drivers/staging/rtl8188eu/hal/pwrseqcmd.c usb_write8(padapter, offset, value); padapter 67 drivers/staging/rtl8188eu/hal/pwrseqcmd.c value = usb_read8(padapter, offset); padapter 18 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c void iol_mode_enable(struct adapter *padapter, u8 enable) padapter 24 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c reg_0xf0 = usb_read8(padapter, REG_SYS_CFG); padapter 25 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c usb_write8(padapter, REG_SYS_CFG, reg_0xf0|SW_OFFLOAD_EN); padapter 27 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c if (!padapter->bFWReady) { padapter 29 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c _8051Reset88E(padapter); padapter 34 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c reg_0xf0 = usb_read8(padapter, REG_SYS_CFG); padapter 35 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c usb_write8(padapter, REG_SYS_CFG, reg_0xf0 & ~SW_OFFLOAD_EN); padapter 39 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c s32 iol_execute(struct adapter *padapter, u8 control) padapter 46 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c reg_0x88 = usb_read8(padapter, REG_HMEBOX_E0); padapter 47 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c usb_write8(padapter, REG_HMEBOX_E0, reg_0x88|control); padapter 50 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c while ((reg_0x88 = usb_read8(padapter, REG_HMEBOX_E0)) & control && padapter 55 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c reg_0x88 = usb_read8(padapter, REG_HMEBOX_E0); padapter 62 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c static s32 iol_InitLLTTable(struct adapter *padapter, u8 txpktbuf_bndy) padapter 66 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c iol_mode_enable(padapter, 1); padapter 67 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c usb_write8(padapter, REG_TDECTRL+1, txpktbuf_bndy); padapter 68 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c rst = iol_execute(padapter, CMD_INIT_LLT); padapter 69 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c iol_mode_enable(padapter, 0); padapter 73 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c s32 rtl8188e_iol_efuse_patch(struct adapter *padapter) padapter 78 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c if (rtw_iol_applied(padapter)) { padapter 79 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c iol_mode_enable(padapter, 1); padapter 80 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c result = iol_execute(padapter, CMD_READ_EFUSE_MAP); padapter 82 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c result = iol_execute(padapter, CMD_EFUSE_PATCH); padapter 84 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c iol_mode_enable(padapter, 0); padapter 91 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c void _8051Reset88E(struct adapter *padapter) padapter 95 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c u1bTmp = usb_read8(padapter, REG_SYS_FUNC_EN+1); padapter 96 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c usb_write8(padapter, REG_SYS_FUNC_EN+1, u1bTmp&(~BIT(2))); padapter 97 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c usb_write8(padapter, REG_SYS_FUNC_EN+1, u1bTmp|(BIT(2))); padapter 101 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c void rtl8188e_InitializeFirmwareVars(struct adapter *padapter) padapter 104 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c padapter->pwrctrlpriv.bFwCurrentInPSMode = false; padapter 107 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c padapter->HalData->LastHMEBoxNum = 0; padapter 110 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c void rtw_hal_free_data(struct adapter *padapter) padapter 112 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c kfree(padapter->HalData); padapter 113 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c padapter->HalData = NULL; padapter 116 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c void rtw_hal_read_chip_version(struct adapter *padapter) padapter 120 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c struct hal_data_8188e *pHalData = padapter->HalData; padapter 122 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c value32 = usb_read32(padapter, REG_SYS_CFG); padapter 178 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c static s32 _LLTWrite(struct adapter *padapter, u32 address, u32 data) padapter 185 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c usb_write32(padapter, LLTReg, value); padapter 189 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c value = usb_read32(padapter, LLTReg); padapter 204 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c s32 InitLLTTable(struct adapter *padapter, u8 txpktbuf_bndy) padapter 210 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c if (rtw_iol_applied(padapter)) { padapter 211 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c status = iol_InitLLTTable(padapter, txpktbuf_bndy); padapter 214 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c status = _LLTWrite(padapter, i, i + 1); padapter 220 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c status = _LLTWrite(padapter, (txpktbuf_bndy - 1), 0xFF); padapter 228 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c status = _LLTWrite(padapter, i, (i + 1)); padapter 234 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c status = _LLTWrite(padapter, Last_Entry_Of_TxPktBuf, txpktbuf_bndy); padapter 242 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c void Hal_InitPGData88E(struct adapter *padapter) padapter 244 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter); padapter 247 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c if (!is_boot_from_eeprom(padapter)) { padapter 249 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c EFUSE_ShadowMapUpdate(padapter, EFUSE_WIFI); padapter 254 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c if (!is_boot_from_eeprom(padapter)) padapter 255 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c EFUSE_ShadowMapUpdate(padapter, EFUSE_WIFI); padapter 259 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c void Hal_EfuseParseIDCode88E(struct adapter *padapter, u8 *hwinfo) padapter 261 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter); padapter 391 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c void Hal_ReadPowerSavingMode88E(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail) padapter 394 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c padapter->pwrctrlpriv.bHWPowerdown = false; padapter 395 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c padapter->pwrctrlpriv.bSupportRemoteWakeup = false; padapter 399 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c if (padapter->registrypriv.hwpdn_mode == 2) padapter 400 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c padapter->pwrctrlpriv.bHWPowerdown = (hwinfo[EEPROM_RF_FEATURE_OPTION_88E] & BIT(4)); padapter 402 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c padapter->pwrctrlpriv.bHWPowerdown = padapter->registrypriv.hwpdn_mode; padapter 406 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c padapter->pwrctrlpriv.bSupportRemoteWakeup = (hwinfo[EEPROM_USB_OPTIONAL_FUNCTION0] & BIT(1)) ? true : false; padapter 409 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c padapter->pwrctrlpriv.bHWPwrPindetect, padapter->pwrctrlpriv.bHWPowerdown, padapter->pwrctrlpriv.bSupportRemoteWakeup); padapter 411 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c DBG_88E("### PS params => power_mgnt(%x), usbss_enable(%x) ###\n", padapter->registrypriv.power_mgnt, padapter->registrypriv.usbss_enable); padapter 415 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c void Hal_ReadTxPowerInfo88E(struct adapter *padapter, u8 *PROMContent, bool AutoLoadFail) padapter 417 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c struct hal_data_8188e *pHalData = padapter->HalData; padapter 488 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c void Hal_EfuseParseEEPROMVer88E(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail) padapter 490 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c struct hal_data_8188e *pHalData = padapter->HalData; padapter 504 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c void rtl8188e_EfuseParseChnlPlan(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail) padapter 506 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c padapter->mlmepriv.ChannelPlan = padapter 508 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c padapter->registrypriv.channel_plan, padapter 511 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c DBG_88E("mlmepriv.ChannelPlan = 0x%02x\n", padapter->mlmepriv.ChannelPlan); padapter 514 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c void Hal_EfuseParseCustomerID88E(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail) padapter 516 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c struct hal_data_8188e *pHalData = padapter->HalData; padapter 13 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c static void process_rssi(struct adapter *padapter, struct recv_frame *prframe) padapter 16 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c struct signal_stat *signal_stat = &padapter->recvpriv.signal_strength_data; padapter 29 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c static void process_link_qual(struct adapter *padapter, padapter 35 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c if (!prframe || !padapter) padapter 39 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c signal_stat = &padapter->recvpriv.signal_qual_data; padapter 52 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c void rtl8188e_process_phy_info(struct adapter *padapter, padapter 56 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c process_rssi(padapter, precvframe); padapter 58 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c process_link_qual(padapter, precvframe); padapter 132 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c struct adapter *padapter = precvframe->adapter; padapter 150 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c get_bssid(&padapter->mlmepriv), ETH_ALEN)); padapter 154 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c myid(&padapter->eeprompriv), ETH_ALEN)); padapter 160 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c if (check_fwstate(&padapter->mlmepriv, WIFI_STATION_STATE)) padapter 161 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c sa = padapter->mlmepriv.cur_network.network.MacAddress; padapter 167 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c pstapriv = &padapter->stapriv; padapter 174 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c ODM_PhyStatusQuery(&padapter->HalData->odmpriv, pPHYInfo, padapter 179 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE))) { padapter 182 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c rtl8188e_process_phy_info(padapter, precvframe); padapter 185 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c if (check_fwstate(&padapter->mlmepriv, WIFI_ADHOC_STATE|WIFI_ADHOC_MASTER_STATE)) { padapter 189 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c rtl8188e_process_phy_info(padapter, precvframe); padapter 27 drivers/staging/rtl8188eu/hal/rtl8188e_xmit.c void _dbg_dump_tx_info(struct adapter *padapter, int frame_tag, padapter 33 drivers/staging/rtl8188eu/hal/rtl8188e_xmit.c rtw_hal_get_def_var(padapter, HAL_DEF_DBG_DUMP_TXPKT, &(dmp_txpkt)); padapter 13 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c void sw_led_on(struct adapter *padapter, struct LED_871x *pLed) padapter 17 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c if (padapter->bSurpriseRemoved || padapter->bDriverStopped) padapter 19 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c led_cfg = usb_read8(padapter, REG_LEDCFG2); padapter 20 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c usb_write8(padapter, REG_LEDCFG2, (led_cfg & 0xf0) | BIT(5) | BIT(6)); padapter 24 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c void sw_led_off(struct adapter *padapter, struct LED_871x *pLed) padapter 28 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c if (padapter->bSurpriseRemoved || padapter->bDriverStopped) padapter 31 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c led_cfg = usb_read8(padapter, REG_LEDCFG2);/* 0x4E */ padapter 35 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c usb_write8(padapter, REG_LEDCFG2, (led_cfg | BIT(3))); padapter 36 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c led_cfg = usb_read8(padapter, REG_MAC_PINMUX_CFG); padapter 38 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c usb_write8(padapter, REG_MAC_PINMUX_CFG, led_cfg); padapter 43 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c void rtw_hal_sw_led_init(struct adapter *padapter) padapter 45 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c struct led_priv *pledpriv = &padapter->ledpriv; padapter 47 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c InitLed871x(padapter, &pledpriv->sw_led); padapter 50 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c void rtw_hal_sw_led_deinit(struct adapter *padapter) padapter 52 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c struct led_priv *ledpriv = &padapter->ledpriv; padapter 19 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c int rtw_hal_init_recv_priv(struct adapter *padapter) padapter 21 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 27 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c (unsigned long)padapter); padapter 43 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c res = rtw_os_recvbuf_resource_alloc(padapter, precvbuf); padapter 46 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c precvbuf->adapter = padapter; padapter 57 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c pskb = __netdev_alloc_skb(padapter->pnetdev, padapter 71 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c void rtw_hal_free_recv_priv(struct adapter *padapter) padapter 75 drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 166 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c struct adapter *adapt = pxmitframe->padapter; padapter 158 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_def_value_init(struct adapter *padapter); padapter 160 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_free_data(struct adapter *padapter); padapter 162 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_dm_init(struct adapter *padapter); padapter 163 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_sw_led_init(struct adapter *padapter); padapter 164 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_sw_led_deinit(struct adapter *padapter); padapter 166 drivers/staging/rtl8188eu/include/hal_intf.h u32 rtw_hal_power_on(struct adapter *padapter); padapter 167 drivers/staging/rtl8188eu/include/hal_intf.h uint rtw_hal_init(struct adapter *padapter); padapter 168 drivers/staging/rtl8188eu/include/hal_intf.h uint rtw_hal_deinit(struct adapter *padapter); padapter 169 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_stop(struct adapter *padapter); padapter 170 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_set_hwreg(struct adapter *padapter, u8 variable, u8 *val); padapter 171 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_get_hwreg(struct adapter *padapter, u8 variable, u8 *val); padapter 173 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_chip_configure(struct adapter *padapter); padapter 174 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_read_chip_info(struct adapter *padapter); padapter 175 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_read_chip_version(struct adapter *padapter); padapter 177 drivers/staging/rtl8188eu/include/hal_intf.h u8 rtw_hal_get_def_var(struct adapter *padapter, padapter 180 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_set_odm_var(struct adapter *padapter, padapter 184 drivers/staging/rtl8188eu/include/hal_intf.h u32 rtw_hal_inirp_init(struct adapter *padapter); padapter 185 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_inirp_deinit(struct adapter *padapter); padapter 186 drivers/staging/rtl8188eu/include/hal_intf.h void usb_intf_stop(struct adapter *padapter); padapter 188 drivers/staging/rtl8188eu/include/hal_intf.h bool rtw_hal_xmit(struct adapter *padapter, struct xmit_frame *pxmitframe); padapter 189 drivers/staging/rtl8188eu/include/hal_intf.h s32 rtw_hal_mgnt_xmit(struct adapter *padapter, padapter 192 drivers/staging/rtl8188eu/include/hal_intf.h s32 rtw_hal_init_xmit_priv(struct adapter *padapter); padapter 194 drivers/staging/rtl8188eu/include/hal_intf.h int rtw_hal_init_recv_priv(struct adapter *padapter); padapter 195 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_free_recv_priv(struct adapter *padapter); padapter 197 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_update_ra_mask(struct adapter *padapter, u32 mac_id, u8 level); padapter 202 drivers/staging/rtl8188eu/include/hal_intf.h void beacon_timing_control(struct adapter *padapter); padapter 204 drivers/staging/rtl8188eu/include/hal_intf.h u32 rtw_hal_read_rfreg(struct adapter *padapter, enum rf_radio_path eRFPath, padapter 207 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_set_bwmode(struct adapter *padapter, padapter 209 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_set_chan(struct adapter *padapter, u8 channel); padapter 210 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_dm_watchdog(struct adapter *padapter); padapter 212 drivers/staging/rtl8188eu/include/hal_intf.h u8 rtw_hal_antdiv_before_linked(struct adapter *padapter); padapter 213 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_antdiv_rssi_compared(struct adapter *padapter, padapter 217 drivers/staging/rtl8188eu/include/hal_intf.h void rtw_hal_sreset_init(struct adapter *padapter); padapter 221 drivers/staging/rtl8188eu/include/hal_intf.h void indicate_wx_scan_complete_event(struct adapter *padapter); padapter 222 drivers/staging/rtl8188eu/include/hal_intf.h u8 rtw_do_join(struct adapter *padapter); padapter 13 drivers/staging/rtl8188eu/include/mlme_osdep.h void rtw_init_mlme_timer(struct adapter *padapter); padapter 19 drivers/staging/rtl8188eu/include/mlme_osdep.h void indicate_wx_scan_complete_event(struct adapter *padapter); padapter 17 drivers/staging/rtl8188eu/include/osdep_intf.h u8 rtw_init_drv_sw(struct adapter *padapter); padapter 18 drivers/staging/rtl8188eu/include/osdep_intf.h u8 rtw_free_drv_sw(struct adapter *padapter); padapter 19 drivers/staging/rtl8188eu/include/osdep_intf.h u8 rtw_reset_drv_sw(struct adapter *padapter); padapter 21 drivers/staging/rtl8188eu/include/osdep_intf.h void rtw_stop_drv_threads(struct adapter *padapter); padapter 22 drivers/staging/rtl8188eu/include/osdep_intf.h void rtw_cancel_all_timer(struct adapter *padapter); padapter 27 drivers/staging/rtl8188eu/include/osdep_intf.h struct net_device *rtw_init_netdev(struct adapter *padapter); padapter 31 drivers/staging/rtl8188eu/include/osdep_intf.h int ips_netdrv_open(struct adapter *padapter); padapter 32 drivers/staging/rtl8188eu/include/osdep_intf.h void rtw_ips_dev_unload(struct adapter *padapter); padapter 33 drivers/staging/rtl8188eu/include/osdep_intf.h int rtw_ips_pwr_up(struct adapter *padapter); padapter 34 drivers/staging/rtl8188eu/include/osdep_intf.h void rtw_ips_pwr_down(struct adapter *padapter); padapter 50 drivers/staging/rtl8188eu/include/pwrseqcmd.h u8 rtl88eu_pwrseqcmdparsing(struct adapter *padapter, u8 cut_vers, padapter 14 drivers/staging/rtl8188eu/include/recv_osdep.h int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter); padapter 22 drivers/staging/rtl8188eu/include/recv_osdep.h void rtw_handle_tkip_mic_err(struct adapter *padapter, u8 bgroup); padapter 65 drivers/staging/rtl8188eu/include/rtl8188e_cmd.h void rtl8188e_set_FwPwrMode_cmd(struct adapter *padapter, u8 Mode); padapter 66 drivers/staging/rtl8188eu/include/rtl8188e_cmd.h void rtl8188e_set_FwJoinBssReport_cmd(struct adapter *padapter, u8 mstatus); padapter 335 drivers/staging/rtl8188eu/include/rtl8188e_hal.h void _8051Reset88E(struct adapter *padapter); padapter 336 drivers/staging/rtl8188eu/include/rtl8188e_hal.h void rtl8188e_InitializeFirmwareVars(struct adapter *padapter); padapter 339 drivers/staging/rtl8188eu/include/rtl8188e_hal.h s32 InitLLTTable(struct adapter *padapter, u8 txpktbuf_bndy); padapter 342 drivers/staging/rtl8188eu/include/rtl8188e_hal.h void Hal_InitPGData88E(struct adapter *padapter); padapter 343 drivers/staging/rtl8188eu/include/rtl8188e_hal.h void Hal_EfuseParseIDCode88E(struct adapter *padapter, u8 *hwinfo); padapter 344 drivers/staging/rtl8188eu/include/rtl8188e_hal.h void Hal_ReadTxPowerInfo88E(struct adapter *padapter, u8 *hwinfo, padapter 347 drivers/staging/rtl8188eu/include/rtl8188e_hal.h void Hal_EfuseParseEEPROMVer88E(struct adapter *padapter, u8 *hwinfo, padapter 349 drivers/staging/rtl8188eu/include/rtl8188e_hal.h void rtl8188e_EfuseParseChnlPlan(struct adapter *padapter, u8 *hwinfo, padapter 351 drivers/staging/rtl8188eu/include/rtl8188e_hal.h void Hal_EfuseParseCustomerID88E(struct adapter *padapter, u8 *hwinfo, padapter 366 drivers/staging/rtl8188eu/include/rtl8188e_hal.h void rtl8188e_start_thread(struct adapter *padapter); padapter 367 drivers/staging/rtl8188eu/include/rtl8188e_hal.h void rtl8188e_stop_thread(struct adapter *padapter); padapter 369 drivers/staging/rtl8188eu/include/rtl8188e_hal.h s32 iol_execute(struct adapter *padapter, u8 control); padapter 370 drivers/staging/rtl8188eu/include/rtl8188e_hal.h void iol_mode_enable(struct adapter *padapter, u8 enable); padapter 371 drivers/staging/rtl8188eu/include/rtl8188e_hal.h s32 rtl8188e_iol_efuse_patch(struct adapter *padapter); padapter 372 drivers/staging/rtl8188eu/include/rtl8188e_hal.h void rtw_cancel_all_timer(struct adapter *padapter); padapter 47 drivers/staging/rtl8188eu/include/rtl8188e_recv.h void rtl8188e_process_phy_info(struct adapter *padapter, padapter 146 drivers/staging/rtl8188eu/include/rtl8188e_xmit.h void rtl8188e_fill_fake_txdesc(struct adapter *padapter, u8 *pDesc, padapter 148 drivers/staging/rtl8188eu/include/rtl8188e_xmit.h s32 rtl8188eu_init_xmit_priv(struct adapter *padapter); padapter 149 drivers/staging/rtl8188eu/include/rtl8188e_xmit.h s32 rtl8188eu_xmit_buf_handler(struct adapter *padapter); padapter 152 drivers/staging/rtl8188eu/include/rtl8188e_xmit.h bool rtl8188eu_xmitframe_complete(struct adapter *padapter, padapter 157 drivers/staging/rtl8188eu/include/rtl8188e_xmit.h void _dbg_dump_tx_info(struct adapter *padapter, int frame_tag, padapter 16 drivers/staging/rtl8188eu/include/rtw_ap.h void rtw_indicate_sta_assoc_event(struct adapter *padapter, padapter 18 drivers/staging/rtl8188eu/include/rtw_ap.h void rtw_indicate_sta_disassoc_event(struct adapter *padapter, padapter 20 drivers/staging/rtl8188eu/include/rtw_ap.h void init_mlme_ap_info(struct adapter *padapter); padapter 21 drivers/staging/rtl8188eu/include/rtw_ap.h void free_mlme_ap_info(struct adapter *padapter); padapter 22 drivers/staging/rtl8188eu/include/rtw_ap.h void update_beacon(struct adapter *padapter, u8 ie_id, padapter 24 drivers/staging/rtl8188eu/include/rtw_ap.h void add_RATid(struct adapter *padapter, struct sta_info *psta, padapter 26 drivers/staging/rtl8188eu/include/rtw_ap.h void expire_timeout_chk(struct adapter *padapter); padapter 27 drivers/staging/rtl8188eu/include/rtw_ap.h void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta); padapter 28 drivers/staging/rtl8188eu/include/rtw_ap.h int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len); padapter 29 drivers/staging/rtl8188eu/include/rtw_ap.h void rtw_set_macaddr_acl(struct adapter *padapter, int mode); padapter 30 drivers/staging/rtl8188eu/include/rtw_ap.h int rtw_acl_add_sta(struct adapter *padapter, u8 *addr); padapter 31 drivers/staging/rtl8188eu/include/rtw_ap.h int rtw_acl_remove_sta(struct adapter *padapter, u8 *addr); padapter 33 drivers/staging/rtl8188eu/include/rtw_ap.h void associated_clients_update(struct adapter *padapter, u8 updated); padapter 34 drivers/staging/rtl8188eu/include/rtw_ap.h void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta); padapter 35 drivers/staging/rtl8188eu/include/rtw_ap.h u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta); padapter 36 drivers/staging/rtl8188eu/include/rtw_ap.h void sta_info_update(struct adapter *padapter, struct sta_info *psta); padapter 37 drivers/staging/rtl8188eu/include/rtw_ap.h void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta); padapter 38 drivers/staging/rtl8188eu/include/rtw_ap.h u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta, padapter 40 drivers/staging/rtl8188eu/include/rtw_ap.h int rtw_sta_flush(struct adapter *padapter); padapter 41 drivers/staging/rtl8188eu/include/rtw_ap.h void start_ap_mode(struct adapter *padapter); padapter 42 drivers/staging/rtl8188eu/include/rtw_ap.h void stop_ap_mode(struct adapter *padapter); padapter 23 drivers/staging/rtl8188eu/include/rtw_cmd.h struct adapter *padapter; padapter 38 drivers/staging/rtl8188eu/include/rtw_cmd.h struct adapter *padapter; padapter 300 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_sitesurvey_cmd(struct adapter *padapter, struct ndis_802_11_ssid *ssid, padapter 303 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_createbss_cmd(struct adapter *padapter); padapter 304 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_setstakey_cmd(struct adapter *padapter, u8 *psta, u8 unicast_key); padapter 305 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_clearstakey_cmd(struct adapter *padapter, u8 *psta, u8 entry, padapter 307 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network *pnetwork); padapter 308 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_disassoc_cmd(struct adapter *padapter, u32 deauth_timeout_ms, padapter 310 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_setopmode_cmd(struct adapter *padapter, padapter 312 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_addbareq_cmd(struct adapter *padapter, u8 tid, u8 *addr); padapter 316 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_lps_ctrl_wk_cmd(struct adapter *padapter, u8 lps_ctrl_type, u8 enqueue); padapter 317 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_rpt_timer_cfg_cmd(struct adapter *padapter, u16 minRptTime); padapter 319 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_antenna_select_cmd(struct adapter *padapter, u8 antenna, u8 enqueue); padapter 320 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_ps_cmd(struct adapter *padapter); padapter 323 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_chk_hi_queue_cmd(struct adapter *padapter); padapter 326 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_set_chplan_cmd(struct adapter *padapter, u8 chplan, u8 enqueue); padapter 327 drivers/staging/rtl8188eu/include/rtw_cmd.h u8 rtw_drvextra_cmd_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 329 drivers/staging/rtl8188eu/include/rtw_cmd.h void rtw_survey_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); padapter 330 drivers/staging/rtl8188eu/include/rtw_cmd.h void rtw_disassoc_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); padapter 331 drivers/staging/rtl8188eu/include/rtw_cmd.h void rtw_joinbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); padapter 341 drivers/staging/rtl8188eu/include/rtw_cmd.h void (*callback)(struct adapter *padapter, struct cmd_obj *cmd); padapter 48 drivers/staging/rtl8188eu/include/rtw_led.h struct adapter *padapter; padapter 79 drivers/staging/rtl8188eu/include/rtw_led.h void led_control_8188eu(struct adapter *padapter, enum LED_CTL_MODE LedAction); padapter 89 drivers/staging/rtl8188eu/include/rtw_led.h void InitLed871x(struct adapter *padapter, struct LED_871x *pLed); padapter 95 drivers/staging/rtl8188eu/include/rtw_led.h void sw_led_on(struct adapter *padapter, struct LED_871x *pLed); padapter 96 drivers/staging/rtl8188eu/include/rtw_led.h void sw_led_off(struct adapter *padapter, struct LED_871x *pLed); padapter 207 drivers/staging/rtl8188eu/include/rtw_mlme.h struct adapter *padapter; padapter 210 drivers/staging/rtl8188eu/include/rtw_mlme.h int hostapd_mode_init(struct adapter *padapter); padapter 211 drivers/staging/rtl8188eu/include/rtw_mlme.h void hostapd_mode_unload(struct adapter *padapter); padapter 227 drivers/staging/rtl8188eu/include/rtw_mlme.h void indicate_wx_scan_complete_event(struct adapter *padapter); padapter 228 drivers/staging/rtl8188eu/include/rtw_mlme.h void rtw_indicate_wx_assoc_event(struct adapter *padapter); padapter 229 drivers/staging/rtl8188eu/include/rtw_mlme.h void rtw_indicate_wx_disassoc_event(struct adapter *padapter); padapter 313 drivers/staging/rtl8188eu/include/rtw_mlme.h void rtw_indicate_scan_done(struct adapter *padapter, bool aborted); padapter 338 drivers/staging/rtl8188eu/include/rtw_mlme.h int rtw_if_up(struct adapter *padapter); padapter 343 drivers/staging/rtl8188eu/include/rtw_mlme.h void rtw_joinbss_reset(struct adapter *padapter); padapter 345 drivers/staging/rtl8188eu/include/rtw_mlme.h unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, padapter 347 drivers/staging/rtl8188eu/include/rtw_mlme.h void rtw_update_ht_cap(struct adapter *padapter, u8 *pie, uint ie_len); padapter 348 drivers/staging/rtl8188eu/include/rtw_mlme.h void rtw_issue_addbareq_cmd(struct adapter *padapter, padapter 354 drivers/staging/rtl8188eu/include/rtw_mlme.h void rtw_roaming(struct adapter *padapter, struct wlan_network *tgt_network); padapter 355 drivers/staging/rtl8188eu/include/rtw_mlme.h void _rtw_roaming(struct adapter *padapter, struct wlan_network *tgt_network); padapter 396 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h struct adapter *padapter; padapter 446 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h int init_hw_mlme_ext(struct adapter *padapter); padapter 448 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void init_mlme_ext_timer(struct adapter *padapter); padapter 453 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 judge_network_type(struct adapter *padapter, unsigned char *rate, int len); padapter 454 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void get_rate_set(struct adapter *padapter, unsigned char *pbssrate, int *len); padapter 455 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void UpdateBrateTbl(struct adapter *padapter, u8 *mBratesOS); padapter 458 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void Save_DM_Func_Flag(struct adapter *padapter); padapter 459 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void Restore_DM_Func_Flag(struct adapter *padapter); padapter 460 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void Switch_DM_Func(struct adapter *padapter, u32 mode, u8 enable); padapter 462 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void Set_MSR(struct adapter *padapter, u8 type); padapter 469 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void set_channel_bwmode(struct adapter *padapter, unsigned char channel, padapter 471 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void SelectChannel(struct adapter *padapter, unsigned char channel); padapter 472 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void SetBWMode(struct adapter *padapter, unsigned short bwmode, padapter 477 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void write_cam(struct adapter *padapter, u8 entry, u16 ctrl, u8 *mac, u8 *key); padapter 478 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void clear_cam_entry(struct adapter *padapter, u8 entry); padapter 480 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void invalidate_cam_all(struct adapter *padapter); padapter 482 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h int allocate_fw_sta_entry(struct adapter *padapter); padapter 483 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void flush_all_cam_entry(struct adapter *padapter); padapter 490 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h int is_client_associated_to_ap(struct adapter *padapter); padapter 491 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h int is_client_associated_to_ibss(struct adapter *padapter); padapter 492 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h int is_IBSS_empty(struct adapter *padapter); padapter 496 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h int WMM_param_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE); padapter 497 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void WMMOnAssocRsp(struct adapter *padapter); padapter 499 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void HT_caps_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE); padapter 500 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void HT_info_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE); padapter 501 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void HTOnAssocRsp(struct adapter *padapter); padapter 503 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void ERP_IE_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE); padapter 504 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void VCS_update(struct adapter *padapter, struct sta_info *psta); padapter 506 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void update_beacon_info(struct adapter *padapter, u8 *pframe, uint len, padapter 509 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void update_IOT_info(struct adapter *padapter); padapter 511 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void update_wireless_mode(struct adapter *padapter); padapter 512 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void update_tx_basic_rate(struct adapter *padapter, u8 modulation); padapter 513 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void update_bmc_sta_support_rate(struct adapter *padapter, u32 mac_id); padapter 514 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h int update_sta_support_rate(struct adapter *padapter, u8 *pvar_ie, padapter 518 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void update_sta_info(struct adapter *padapter, struct sta_info *psta); padapter 522 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void Update_RA_Entry(struct adapter *padapter, u32 mac_id); padapter 523 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void set_sta_rate(struct adapter *padapter, struct sta_info *psta); padapter 526 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h int support_short_GI(struct adapter *padapter, struct ieee80211_ht_cap *caps); padapter 527 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h unsigned int is_ap_in_tkip(struct adapter *padapter); padapter 529 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void report_join_res(struct adapter *padapter, int res); padapter 530 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void report_survey_event(struct adapter *padapter, padapter 532 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void report_surveydone_event(struct adapter *padapter); padapter 533 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void report_del_sta_event(struct adapter *padapter, padapter 535 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void report_add_sta_event(struct adapter *padapter, unsigned char *addr, padapter 538 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 set_tx_beacon_cmd(struct adapter *padapter); padapter 539 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h unsigned int setup_beacon_frame(struct adapter *padapter, padapter 541 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void update_mgnt_tx_rate(struct adapter *padapter, u8 rate); padapter 542 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void update_mgntframe_attrib(struct adapter *padapter, padapter 545 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h int issue_nulldata(struct adapter *padapter, unsigned char *da, padapter 547 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h int issue_qos_nulldata(struct adapter *padapter, unsigned char *da, padapter 549 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h int issue_deauth(struct adapter *padapter, unsigned char *da, padapter 551 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h unsigned int send_delba(struct adapter *padapter, u8 initiator, u8 *addr); padapter 552 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h unsigned int send_beacon(struct adapter *padapter); padapter 554 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void mlmeext_joinbss_event_callback(struct adapter *padapter, int join_res); padapter 555 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void mlmeext_sta_del_event_callback(struct adapter *padapter); padapter 556 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void mlmeext_sta_add_event_callback(struct adapter *padapter, padapter 559 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void linked_status_chk(struct adapter *padapter); padapter 576 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void process_addba_req(struct adapter *padapter, u8 *paddba_req, u8 *addr); padapter 579 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void correct_TSF(struct adapter *padapter, struct mlme_ext_priv *pmlmeext); padapter 583 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 (*h2cfuns)(struct adapter *padapter, u8 *pbuf); padapter 586 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 read_macreg_hdl(struct adapter *padapter, u8 *pbuf); padapter 587 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 write_macreg_hdl(struct adapter *padapter, u8 *pbuf); padapter 588 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 read_bbreg_hdl(struct adapter *padapter, u8 *pbuf); padapter 589 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 write_bbreg_hdl(struct adapter *padapter, u8 *pbuf); padapter 590 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 read_rfreg_hdl(struct adapter *padapter, u8 *pbuf); padapter 591 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 write_rfreg_hdl(struct adapter *padapter, u8 *pbuf); padapter 592 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 join_cmd_hdl(struct adapter *padapter, u8 *pbuf); padapter 593 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 disconnect_hdl(struct adapter *padapter, u8 *pbuf); padapter 594 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 createbss_hdl(struct adapter *padapter, u8 *pbuf); padapter 595 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 setopmode_hdl(struct adapter *padapter, u8 *pbuf); padapter 596 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 sitesurvey_cmd_hdl(struct adapter *padapter, u8 *pbuf); padapter 597 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 setauth_hdl(struct adapter *padapter, u8 *pbuf); padapter 598 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 setkey_hdl(struct adapter *padapter, u8 *pbuf); padapter 599 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 set_stakey_hdl(struct adapter *padapter, u8 *pbuf); padapter 600 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 set_assocsta_hdl(struct adapter *padapter, u8 *pbuf); padapter 601 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 del_assocsta_hdl(struct adapter *padapter, u8 *pbuf); padapter 602 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 add_ba_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 604 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 mlme_evt_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 605 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 h2c_msg_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 606 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 tx_beacon_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 607 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 set_ch_hdl(struct adapter *padapter, u8 *pbuf); padapter 608 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 set_chplan_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 609 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 led_blink_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 611 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 set_csa_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 612 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u8 tdls_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 225 drivers/staging/rtl8188eu/include/rtw_pwrctrl.h void ips_enter(struct adapter *padapter); padapter 226 drivers/staging/rtl8188eu/include/rtw_pwrctrl.h int ips_leave(struct adapter *padapter); padapter 228 drivers/staging/rtl8188eu/include/rtw_pwrctrl.h void rtw_ps_processor(struct adapter *padapter); padapter 29 drivers/staging/rtl8188eu/include/rtw_recv.h struct adapter *padapter; padapter 262 drivers/staging/rtl8188eu/include/rtw_recv.h void mgt_dispatcher(struct adapter *padapter, struct recv_frame *precv_frame); padapter 298 drivers/staging/rtl8188eu/include/rtw_security.h u32 rtw_aes_encrypt(struct adapter *padapter, u8 *pxmitframe); padapter 299 drivers/staging/rtl8188eu/include/rtw_security.h u32 rtw_tkip_encrypt(struct adapter *padapter, u8 *pxmitframe); padapter 300 drivers/staging/rtl8188eu/include/rtw_security.h void rtw_wep_encrypt(struct adapter *padapter, u8 *pxmitframe); padapter 301 drivers/staging/rtl8188eu/include/rtw_security.h u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe); padapter 302 drivers/staging/rtl8188eu/include/rtw_security.h u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe); padapter 303 drivers/staging/rtl8188eu/include/rtw_security.h int rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe); padapter 28 drivers/staging/rtl8188eu/include/rtw_sreset.h void sreset_set_wifi_error_status(struct adapter *padapter, u32 status); padapter 191 drivers/staging/rtl8188eu/include/rtw_xmit.h struct adapter *padapter; padapter 212 drivers/staging/rtl8188eu/include/rtw_xmit.h struct adapter *padapter; padapter 308 drivers/staging/rtl8188eu/include/rtw_xmit.h void rtw_count_tx_stats(struct adapter *padapter, padapter 310 drivers/staging/rtl8188eu/include/rtw_xmit.h void rtw_update_protection(struct adapter *padapter, u8 *ie, uint ie_len); padapter 311 drivers/staging/rtl8188eu/include/rtw_xmit.h s32 rtw_make_wlanhdr(struct adapter *padapter, u8 *hdr, padapter 320 drivers/staging/rtl8188eu/include/rtw_xmit.h struct tx_servq *rtw_get_sta_pending(struct adapter *padapter, padapter 322 drivers/staging/rtl8188eu/include/rtw_xmit.h s32 rtw_xmitframe_enqueue(struct adapter *padapter, padapter 327 drivers/staging/rtl8188eu/include/rtw_xmit.h s32 rtw_xmit_classifier(struct adapter *padapter, padapter 329 drivers/staging/rtl8188eu/include/rtw_xmit.h s32 rtw_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, padapter 333 drivers/staging/rtl8188eu/include/rtw_xmit.h s32 rtw_txframes_pending(struct adapter *padapter); padapter 334 drivers/staging/rtl8188eu/include/rtw_xmit.h s32 rtw_txframes_sta_ac_pending(struct adapter *padapter, padapter 337 drivers/staging/rtl8188eu/include/rtw_xmit.h s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter); padapter 339 drivers/staging/rtl8188eu/include/rtw_xmit.h s32 rtw_alloc_hwxmits(struct adapter *padapter); padapter 340 drivers/staging/rtl8188eu/include/rtw_xmit.h void rtw_free_hwxmits(struct adapter *padapter); padapter 341 drivers/staging/rtl8188eu/include/rtw_xmit.h s32 rtw_xmit(struct adapter *padapter, struct sk_buff **pkt); padapter 344 drivers/staging/rtl8188eu/include/rtw_xmit.h int xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_frame *pxmitframe); padapter 345 drivers/staging/rtl8188eu/include/rtw_xmit.h void stop_sta_xmit(struct adapter *padapter, struct sta_info *psta); padapter 346 drivers/staging/rtl8188eu/include/rtw_xmit.h void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta); padapter 347 drivers/staging/rtl8188eu/include/rtw_xmit.h void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta); padapter 293 drivers/staging/rtl8188eu/include/sta_info.h struct adapter *padapter; padapter 356 drivers/staging/rtl8188eu/include/sta_info.h struct sta_info *rtw_get_bcmc_stainfo(struct adapter *padapter); padapter 357 drivers/staging/rtl8188eu/include/sta_info.h u8 rtw_access_ctrl(struct adapter *padapter, u8 *mac_addr); padapter 23 drivers/staging/rtl8188eu/include/xmit_osdep.h void rtw_os_xmit_schedule(struct adapter *padapter); padapter 25 drivers/staging/rtl8188eu/include/xmit_osdep.h int rtw_os_xmit_resource_alloc(struct adapter *padapter, padapter 29 drivers/staging/rtl8188eu/include/xmit_osdep.h void rtw_os_pkt_complete(struct adapter *padapter, struct sk_buff *pkt); padapter 30 drivers/staging/rtl8188eu/include/xmit_osdep.h void rtw_os_xmit_complete(struct adapter *padapter, padapter 55 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c void indicate_wx_scan_complete_event(struct adapter *padapter) padapter 60 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wireless_send_event(padapter->pnetdev, SIOCGIWSCAN, &wrqu, NULL); padapter 63 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c void rtw_indicate_wx_assoc_event(struct adapter *padapter) padapter 66 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 75 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); padapter 78 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c void rtw_indicate_wx_disassoc_event(struct adapter *padapter) padapter 88 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); padapter 91 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static char *translate_scan(struct adapter *padapter, padapter 96 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 304 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ss = padapter->recvpriv.signal_strength; padapter 305 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c sq = padapter->recvpriv.signal_qual; padapter 320 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 325 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 326 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeAutoSwitch; padapter 327 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Auto; padapter 330 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 332 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeShared; padapter 333 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Shared; padapter 336 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (padapter->securitypriv.ndisauthtype < Ndis802_11AuthModeWPAPSK) { padapter 337 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; padapter 338 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; padapter 354 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 355 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 356 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 380 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 381 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP40_; padapter 382 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _WEP40_; padapter 407 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP104_; padapter 408 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _WEP104_; padapter 419 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) padapter 429 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_set_key(padapter, psecuritypriv, wep_key_idx, 0); padapter 434 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { /* 802_1x */ padapter 436 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 446 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if ((padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption2Enabled) || padapter 447 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c (padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption3Enabled)) padapter 448 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; padapter 456 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.busetkipkey = false; padapter 461 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_setstakey_cmd(padapter, (unsigned char *)psta, true); padapter 463 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16 )); padapter 464 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8); padapter 465 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8); padapter 466 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.binstallGrpkey = true; padapter 469 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpKeyid = param->u.crypt.idx; padapter 471 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_set_key(padapter, &padapter->securitypriv, param->u.crypt.idx, 1); padapter 474 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c pbcmc_sta = rtw_get_bcmc_stainfo(padapter); padapter 482 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if ((padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption2Enabled) || padapter 483 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c (padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption3Enabled)) padapter 484 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c pbcmc_sta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; padapter 495 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_set_wpa_ie(struct adapter *padapter, char *pie, unsigned short ielen) padapter 502 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c _clr_fwstate_(&padapter->mlmepriv, WIFI_UNDER_WPS); padapter 532 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_8021X; padapter 533 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeWPAPSK; padapter 534 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.supplicant_ie, &buf[0], ielen); padapter 538 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_8021X; padapter 539 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeWPA2PSK; padapter 540 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.supplicant_ie, &buf[0], ielen); padapter 545 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _NO_PRIVACY_; padapter 546 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11EncryptionDisabled; padapter 549 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _WEP40_; padapter 550 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 553 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _TKIP_; padapter 554 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption2Enabled; padapter 557 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _AES_; padapter 558 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption3Enabled; padapter 561 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _WEP104_; padapter 562 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 568 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _NO_PRIVACY_; padapter 569 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11EncryptionDisabled; padapter 572 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP40_; padapter 573 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 576 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _TKIP_; padapter 577 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption2Enabled; padapter 580 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _AES_; padapter 581 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption3Enabled; padapter 584 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP104_; padapter 585 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 589 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c _clr_fwstate_(&padapter->mlmepriv, WIFI_UNDER_WPS); padapter 599 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.wps_ie_len = min(buf[cnt + 1] + 2, MAX_WPA_IE_LEN << 2); padapter 601 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.wps_ie, &buf[cnt], padapter->securitypriv.wps_ie_len); padapter 603 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c set_fwstate(&padapter->mlmepriv, WIFI_UNDER_WPS); padapter 615 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c pairwise_cipher, padapter->securitypriv.ndisencryptstatus, padapter->securitypriv.ndisauthtype)); padapter 627 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 631 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 686 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 687 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 696 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->freq.m = rtw_ch2freq(padapter->mlmeextpriv.cur_channel) * 100000; padapter 698 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->freq.i = padapter->mlmeextpriv.cur_channel; padapter 707 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 711 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (_FAIL == rtw_pwr_wakeup(padapter)) { padapter 716 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!padapter->hw_init_completed) { padapter 743 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!rtw_set_802_11_infrastructure_mode(padapter, networkType)) { padapter 747 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_setopmode_cmd(padapter, networkType); padapter 755 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 756 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 777 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 780 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 855 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 856 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 955 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 957 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 964 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (_FAIL == rtw_pwr_wakeup(padapter)) { padapter 969 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!padapter->bup) { padapter 979 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c authmode = padapter->securitypriv.ndisauthtype; padapter 994 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!rtw_set_802_11_infrastructure_mode(padapter, pnetwork->network.InfrastructureMode)) { padapter 1005 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_set_802_11_authentication_mode(padapter, authmode); padapter 1006 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!rtw_set_802_11_bssid(padapter, temp->sa_data)) { padapter 1020 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1021 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1045 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1059 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!rtw_set_802_11_disassociate(padapter)) padapter 1063 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!rtw_set_802_11_disassociate(padapter)) padapter 1077 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1078 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1083 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (_FAIL == rtw_pwr_wakeup(padapter)) { padapter 1088 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (padapter->bDriverStopped) { padapter 1089 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("bDriverStopped =%d\n", padapter->bDriverStopped); padapter 1094 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!padapter->bup) { padapter 1099 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!padapter->hw_init_completed) { padapter 1108 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c indicate_wx_scan_complete_event(padapter); padapter 1113 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c indicate_wx_scan_complete_event(padapter); padapter 1137 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c _status = rtw_sitesurvey_cmd(padapter, ssid, 1, NULL, 0); padapter 1188 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c _status = rtw_set_802_11_bssid_list_scan(padapter, ssid, RTW_SSID_SCAN_AMOUNT); padapter 1190 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c _status = rtw_set_802_11_bssid_list_scan(padapter, NULL, 0); padapter 1206 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1207 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1220 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (padapter->pwrctrlpriv.brfoffbyhw && padapter->bDriverStopped) { padapter 1250 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (rtw_ch_set_search_ch(padapter->mlmeextpriv.channel_set, pnetwork->network.Configuration.DSConfig) >= 0) padapter 1251 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ev = translate_scan(padapter, a, pnetwork, ev, stop); padapter 1274 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1275 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1287 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (_FAIL == rtw_pwr_wakeup(padapter)) { padapter 1292 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!padapter->bup) { padapter 1307 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c authmode = padapter->securitypriv.ndisauthtype; padapter 1346 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!rtw_set_802_11_infrastructure_mode(padapter, pnetwork->network.InfrastructureMode)) { padapter 1358 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_set_802_11_authentication_mode(padapter, authmode); padapter 1359 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!rtw_set_802_11_ssid(padapter, &ndis_ssid)) { padapter 1376 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1377 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1496 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1499 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->registrypriv.rts_thresh = 2347; padapter 1505 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->registrypriv.rts_thresh = wrqu->rts.value; padapter 1508 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("%s, rts_thresh =%d\n", __func__, padapter->registrypriv.rts_thresh); padapter 1517 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1519 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("%s, rts_thresh =%d\n", __func__, padapter->registrypriv.rts_thresh); padapter 1521 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->rts.value = padapter->registrypriv.rts_thresh; padapter 1532 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1535 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->xmitpriv.frag_len = MAX_FRAG_THRESHOLD; padapter 1541 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->xmitpriv.frag_len = wrqu->frag.value & ~0x1; padapter 1544 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("%s, frag_len =%d\n", __func__, padapter->xmitpriv.frag_len); padapter 1553 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1555 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("%s, frag_len =%d\n", __func__, padapter->xmitpriv.frag_len); padapter 1557 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->frag.value = padapter->xmitpriv.frag_len; padapter 1584 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1585 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 1595 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11EncryptionDisabled; padapter 1596 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _NO_PRIVACY_; padapter 1597 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _NO_PRIVACY_; padapter 1598 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; padapter 1600 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = authmode; padapter 1612 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c key = padapter->securitypriv.dot11PrivacyKeyIndex; padapter 1619 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled;/* Ndis802_11EncryptionDisabled; */ padapter 1620 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; padapter 1621 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _NO_PRIVACY_; padapter 1622 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _NO_PRIVACY_; padapter 1624 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = authmode; padapter 1627 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 1628 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Shared; padapter 1629 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP40_; padapter 1630 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _WEP40_; padapter 1632 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = authmode; padapter 1636 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled;/* Ndis802_11EncryptionDisabled; */ padapter 1637 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; padapter 1638 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _NO_PRIVACY_; padapter 1639 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _NO_PRIVACY_; padapter 1641 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = authmode; padapter 1654 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyKeyIndex = key; padapter 1656 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("(keyindex_provided == 1), keyid =%d, key_len =%d\n", key, padapter->securitypriv.dot11DefKeylen[key]); padapter 1658 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c switch (padapter->securitypriv.dot11DefKeylen[key]) { padapter 1660 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP40_; padapter 1663 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP104_; padapter 1666 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _NO_PRIVACY_; padapter 1678 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!rtw_set_802_11_add_wep(padapter, &wep)) { padapter 1693 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1695 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1712 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c key = padapter->securitypriv.dot11PrivacyKeyIndex; padapter 1717 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c switch (padapter->securitypriv.ndisencryptstatus) { padapter 1724 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c erq->length = padapter->securitypriv.dot11DefKeylen[key]; padapter 1726 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(keybuf, padapter->securitypriv.dot11DefKey[key].skey, padapter->securitypriv.dot11DefKeylen[key]); padapter 1730 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (padapter->securitypriv.ndisauthtype == Ndis802_11AuthModeOpen) padapter 1732 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c else if (padapter->securitypriv.ndisauthtype == Ndis802_11AuthModeShared) padapter 1768 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1770 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c return rtw_set_wpa_ie(padapter, extra, wrqu->data.length); padapter 1777 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1798 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.btkip_countermeasure = true; padapter 1801 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.btkip_countermeasure = false; padapter 1817 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption1Enabled) padapter 1822 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11EncryptionDisabled; padapter 1823 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _NO_PRIVACY_; padapter 1824 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _NO_PRIVACY_; padapter 1825 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; padapter 1826 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; padapter 1834 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (check_fwstate(&padapter->mlmepriv, _FW_LINKED)) { padapter 1835 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c LeaveAllPowerSaveMode(padapter); padapter 1836 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_disassoc_cmd(padapter, 500, false); padapter 1838 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_indicate_disconnect(padapter); padapter 1839 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_free_assoc_resources(padapter); padapter 1949 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1953 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_8021X; /* 802.1x */ padapter 1956 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeWPAPSK; /* WPA_PSK */ padapter 1957 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption2Enabled; padapter 1960 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeWPA2PSK; /* WPA2_PSK */ padapter 1961 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption3Enabled; padapter 1965 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ("wpa_set_param:padapter->securitypriv.ndisauthtype =%d\n", padapter->securitypriv.ndisauthtype)); padapter 2004 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2008 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!rtw_set_802_11_disassociate(padapter)) padapter 2012 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!rtw_set_802_11_disassociate(padapter)) padapter 2080 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static u8 set_pairwise_key(struct adapter *padapter, struct sta_info *psta) padapter 2084 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 2115 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int set_group_key(struct adapter *padapter, u8 *key, u8 alg, int keyid) padapter 2120 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); padapter 2174 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int set_wep_key(struct adapter *padapter, u8 *key, u8 keylen, int keyid) padapter 2189 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c return set_group_key(padapter, key, alg, keyid); padapter 2198 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2199 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2200 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct security_priv *psecuritypriv = &(padapter->securitypriv); padapter 2201 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2276 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c set_wep_key(padapter, pwep->KeyMaterial, pwep->KeyLength, wep_key_idx); padapter 2287 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c set_wep_key(padapter, pwep->KeyMaterial, pwep->KeyLength, wep_key_idx); padapter 2326 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx); padapter 2327 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c pbcmc_sta = rtw_get_bcmc_stainfo(padapter); padapter 2367 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c set_pairwise_key(padapter, psta); padapter 2403 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx); padapter 2405 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c pbcmc_sta = rtw_get_bcmc_stainfo(padapter); padapter 2424 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2425 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2426 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2439 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (rtw_check_beacon_data(padapter, pbuf, (len-12-2)) == _SUCCESS)/* 12 = param header, 2:no packed */ padapter 2449 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2453 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c flush_all_cam_entry(padapter); /* clear CAM */ padapter 2455 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c return rtw_sta_flush(padapter); padapter 2462 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2463 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2464 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2504 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c update_sta_info_apmode(padapter, psta); padapter 2515 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2516 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2517 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2534 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c updated = ap_free_sta(padapter, psta, true, WLAN_REASON_DEAUTH_LEAVING); padapter 2537 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c associated_clients_update(padapter, updated); padapter 2550 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2551 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2552 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2606 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2607 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2608 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2642 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2643 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2644 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 2667 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c update_beacon(padapter, _VENDOR_SPECIFIC_IE_, wps_oui, true); padapter 2677 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2678 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2706 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2707 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2736 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2737 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2738 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 2760 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2761 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2769 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c return rtw_acl_remove_sta(padapter, param->sta_addr); padapter 2774 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2775 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2783 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c return rtw_acl_add_sta(padapter, param->sta_addr); padapter 2788 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2789 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2794 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c rtw_set_macaddr_acl(padapter, param->u.mlme.command); padapter 2803 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2810 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!padapter->hw_init_completed) { padapter 2898 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2917 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 3016 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 3017 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct iw_statistics *piwstats = &padapter->iwstats; padapter 3022 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!check_fwstate(&padapter->mlmepriv, _FW_LINKED)) { padapter 3027 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c tmp_level = padapter->recvpriv.signal_strength; padapter 3028 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c tmp_qual = padapter->recvpriv.signal_qual; padapter 3029 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c tmp_noise = padapter->recvpriv.noise; padapter 3036 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c return &padapter->iwstats; padapter 14 drivers/staging/rtl8188eu/os_dep/mlme_linux.c void rtw_init_mlme_timer(struct adapter *padapter) padapter 16 drivers/staging/rtl8188eu/os_dep/mlme_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 114 drivers/staging/rtl8188eu/os_dep/mlme_linux.c void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta) padapter 119 drivers/staging/rtl8188eu/os_dep/mlme_linux.c void init_mlme_ext_timer(struct adapter *padapter) padapter 121 drivers/staging/rtl8188eu/os_dep/mlme_linux.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 129 drivers/staging/rtl8188eu/os_dep/mlme_linux.c void rtw_indicate_sta_assoc_event(struct adapter *padapter, struct sta_info *psta) padapter 132 drivers/staging/rtl8188eu/os_dep/mlme_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 149 drivers/staging/rtl8188eu/os_dep/mlme_linux.c wireless_send_event(padapter->pnetdev, IWEVREGISTERED, &wrqu, NULL); padapter 152 drivers/staging/rtl8188eu/os_dep/mlme_linux.c void rtw_indicate_sta_disassoc_event(struct adapter *padapter, struct sta_info *psta) padapter 155 drivers/staging/rtl8188eu/os_dep/mlme_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 172 drivers/staging/rtl8188eu/os_dep/mlme_linux.c wireless_send_event(padapter->pnetdev, IWEVEXPIRED, &wrqu, NULL); padapter 139 drivers/staging/rtl8188eu/os_dep/os_intfs.c static void loadparam(struct adapter *padapter, struct net_device *pnetdev) padapter 141 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct registry_priv *registry_par = &padapter->registrypriv; padapter 190 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); padapter 193 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (!padapter->bup) padapter 194 drivers/staging/rtl8188eu/os_dep/os_intfs.c memcpy(padapter->eeprompriv.mac_addr, addr->sa_data, ETH_ALEN); padapter 201 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); padapter 202 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 203 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 205 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->stats.tx_packets = pxmitpriv->tx_pkts; padapter 206 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->stats.rx_packets = precvpriv->rx_pkts; padapter 207 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->stats.tx_dropped = pxmitpriv->tx_drop; padapter 208 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->stats.rx_dropped = precvpriv->rx_drop; padapter 209 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->stats.tx_bytes = pxmitpriv->tx_bytes; padapter 210 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->stats.rx_bytes = precvpriv->rx_bytes; padapter 211 drivers/staging/rtl8188eu/os_dep/os_intfs.c return &padapter->stats; padapter 251 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct adapter *padapter = rtw_netdev_priv(dev); padapter 252 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 310 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct adapter *padapter; padapter 322 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter = rtw_netdev_priv(pnetdev); padapter 323 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->pnetdev = pnetdev; padapter 329 drivers/staging/rtl8188eu/os_dep/os_intfs.c loadparam(padapter, pnetdev); padapter 334 drivers/staging/rtl8188eu/os_dep/os_intfs.c static int rtw_start_drv_threads(struct adapter *padapter) padapter 340 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->cmdThread = kthread_run(rtw_cmd_thread, padapter, padapter 342 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (IS_ERR(padapter->cmdThread)) padapter 343 drivers/staging/rtl8188eu/os_dep/os_intfs.c err = PTR_ERR(padapter->cmdThread); padapter 346 drivers/staging/rtl8188eu/os_dep/os_intfs.c wait_for_completion_interruptible(&padapter->cmdpriv.terminate_cmdthread_comp); padapter 351 drivers/staging/rtl8188eu/os_dep/os_intfs.c void rtw_stop_drv_threads(struct adapter *padapter) padapter 356 drivers/staging/rtl8188eu/os_dep/os_intfs.c complete(&padapter->cmdpriv.cmd_queue_comp); padapter 357 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (padapter->cmdThread) padapter 358 drivers/staging/rtl8188eu/os_dep/os_intfs.c wait_for_completion_interruptible(&padapter->cmdpriv.terminate_cmdthread_comp); padapter 361 drivers/staging/rtl8188eu/os_dep/os_intfs.c static u8 rtw_init_default_value(struct adapter *padapter) padapter 363 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 364 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 365 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 366 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 392 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_init_registrypriv_dev_network(padapter); padapter 393 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_update_registrypriv_dev_network(padapter); padapter 396 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_hal_def_value_init(padapter); padapter 399 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->bReadPortCancel = false; padapter 400 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->bWritePortCancel = false; padapter 404 drivers/staging/rtl8188eu/os_dep/os_intfs.c u8 rtw_reset_drv_sw(struct adapter *padapter) padapter 406 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 407 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct pwrctrl_priv *pwrctrlpriv = &padapter->pwrctrlpriv; padapter 410 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_hal_def_value_init(padapter); padapter 411 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->bReadPortCancel = false; padapter 412 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->bWritePortCancel = false; padapter 415 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->xmitpriv.tx_pkts = 0; padapter 416 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->recvpriv.rx_pkts = 0; padapter 421 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_hal_sreset_init(padapter); padapter 425 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->mlmeextpriv.sitesurvey_res.state = SCAN_DISABLE; padapter 427 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_set_signal_stat_timer(&padapter->recvpriv); padapter 432 drivers/staging/rtl8188eu/os_dep/os_intfs.c u8 rtw_init_drv_sw(struct adapter *padapter) padapter 438 drivers/staging/rtl8188eu/os_dep/os_intfs.c if ((rtw_init_cmd_priv(&padapter->cmdpriv)) == _FAIL) { padapter 444 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->cmdpriv.padapter = padapter; padapter 446 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (rtw_init_mlme_priv(padapter) == _FAIL) { padapter 452 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (init_mlme_ext_priv(padapter) == _FAIL) { padapter 458 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (_rtw_init_xmit_priv(&padapter->xmitpriv, padapter) == _FAIL) { padapter 464 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (_rtw_init_recv_priv(&padapter->recvpriv, padapter) == _FAIL) { padapter 470 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (_rtw_init_sta_priv(&padapter->stapriv) == _FAIL) { padapter 476 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->stapriv.padapter = padapter; padapter 478 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_init_bcmc_stainfo(padapter); padapter 480 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_init_pwrctrl_priv(padapter); padapter 482 drivers/staging/rtl8188eu/os_dep/os_intfs.c ret8 = rtw_init_default_value(padapter); padapter 484 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_hal_dm_init(padapter); padapter 485 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_hal_sw_led_init(padapter); padapter 487 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_hal_sreset_init(padapter); padapter 495 drivers/staging/rtl8188eu/os_dep/os_intfs.c void rtw_cancel_all_timer(struct adapter *padapter) padapter 499 drivers/staging/rtl8188eu/os_dep/os_intfs.c del_timer_sync(&padapter->mlmepriv.assoc_timer); padapter 502 drivers/staging/rtl8188eu/os_dep/os_intfs.c del_timer_sync(&padapter->mlmepriv.scan_to_timer); padapter 505 drivers/staging/rtl8188eu/os_dep/os_intfs.c del_timer_sync(&padapter->mlmepriv.dynamic_chk_timer); padapter 509 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_hal_sw_led_deinit(padapter); padapter 512 drivers/staging/rtl8188eu/os_dep/os_intfs.c del_timer_sync(&padapter->pwrctrlpriv.pwr_state_check_timer); padapter 514 drivers/staging/rtl8188eu/os_dep/os_intfs.c del_timer_sync(&padapter->recvpriv.signal_stat_timer); padapter 517 drivers/staging/rtl8188eu/os_dep/os_intfs.c u8 rtw_free_drv_sw(struct adapter *padapter) padapter 521 drivers/staging/rtl8188eu/os_dep/os_intfs.c free_mlme_ext_priv(&padapter->mlmeextpriv); padapter 523 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_free_mlme_priv(&padapter->mlmepriv); padapter 524 drivers/staging/rtl8188eu/os_dep/os_intfs.c _rtw_free_xmit_priv(&padapter->xmitpriv); padapter 527 drivers/staging/rtl8188eu/os_dep/os_intfs.c _rtw_free_sta_priv(&padapter->stapriv); padapter 529 drivers/staging/rtl8188eu/os_dep/os_intfs.c _rtw_free_recv_priv(&padapter->recvpriv); padapter 531 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_hal_free_data(padapter); padapter 535 drivers/staging/rtl8188eu/os_dep/os_intfs.c mutex_destroy(&padapter->hw_init_mutex); padapter 546 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); padapter 547 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct pwrctrl_priv *pwrctrlpriv = &padapter->pwrctrlpriv; padapter 550 drivers/staging/rtl8188eu/os_dep/os_intfs.c DBG_88E("+88eu_drv - drv_open, bup =%d\n", padapter->bup); padapter 553 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->net_closed = false; padapter 557 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (!padapter->bup) { padapter 558 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->bDriverStopped = false; padapter 559 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->bSurpriseRemoved = false; padapter 561 drivers/staging/rtl8188eu/os_dep/os_intfs.c status = rtw_hal_init(padapter); padapter 569 drivers/staging/rtl8188eu/os_dep/os_intfs.c err = rtw_start_drv_threads(padapter); padapter 575 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (init_hw_mlme_ext(padapter) == _FAIL) { padapter 579 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_hal_inirp_init(padapter); padapter 581 drivers/staging/rtl8188eu/os_dep/os_intfs.c led_control_8188eu(padapter, LED_CTL_NO_LINK); padapter 583 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->bup = true; padapter 585 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->net_closed = false; padapter 587 drivers/staging/rtl8188eu/os_dep/os_intfs.c mod_timer(&padapter->mlmepriv.dynamic_chk_timer, padapter 590 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->pwrctrlpriv.bips_processing = false; padapter 591 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_set_pwr_state_check_timer(&padapter->pwrctrlpriv); padapter 600 drivers/staging/rtl8188eu/os_dep/os_intfs.c DBG_88E("-88eu_drv - drv_open, bup =%d\n", padapter->bup); padapter 604 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->bup = false; padapter 608 drivers/staging/rtl8188eu/os_dep/os_intfs.c DBG_88E("-88eu_drv - drv_open fail, bup =%d\n", padapter->bup); padapter 615 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); padapter 617 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (mutex_lock_interruptible(&padapter->hw_init_mutex)) padapter 620 drivers/staging/rtl8188eu/os_dep/os_intfs.c mutex_unlock(&padapter->hw_init_mutex); padapter 624 drivers/staging/rtl8188eu/os_dep/os_intfs.c int ips_netdrv_open(struct adapter *padapter) padapter 628 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->net_closed = false; padapter 631 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->bDriverStopped = false; padapter 632 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->bSurpriseRemoved = false; padapter 634 drivers/staging/rtl8188eu/os_dep/os_intfs.c status = rtw_hal_init(padapter); padapter 640 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_hal_inirp_init(padapter); padapter 642 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_set_pwr_state_check_timer(&padapter->pwrctrlpriv); padapter 643 drivers/staging/rtl8188eu/os_dep/os_intfs.c mod_timer(&padapter->mlmepriv.dynamic_chk_timer, padapter 649 drivers/staging/rtl8188eu/os_dep/os_intfs.c DBG_88E("-ips_netdrv_open - drv_open failure, bup =%d\n", padapter->bup); padapter 654 drivers/staging/rtl8188eu/os_dep/os_intfs.c int rtw_ips_pwr_up(struct adapter *padapter) padapter 660 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_reset_drv_sw(padapter); padapter 662 drivers/staging/rtl8188eu/os_dep/os_intfs.c result = ips_netdrv_open(padapter); padapter 664 drivers/staging/rtl8188eu/os_dep/os_intfs.c led_control_8188eu(padapter, LED_CTL_NO_LINK); padapter 671 drivers/staging/rtl8188eu/os_dep/os_intfs.c void rtw_ips_pwr_down(struct adapter *padapter) padapter 677 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->net_closed = true; padapter 679 drivers/staging/rtl8188eu/os_dep/os_intfs.c led_control_8188eu(padapter, LED_CTL_POWER_OFF); padapter 681 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_ips_dev_unload(padapter); padapter 686 drivers/staging/rtl8188eu/os_dep/os_intfs.c void rtw_ips_dev_unload(struct adapter *padapter) padapter 690 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_hal_set_hwreg(padapter, HW_VAR_FIFO_CLEARN_UP, NULL); padapter 692 drivers/staging/rtl8188eu/os_dep/os_intfs.c usb_intf_stop(padapter); padapter 695 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (!padapter->bSurpriseRemoved) padapter 696 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_hal_deinit(padapter); padapter 701 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); padapter 705 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (padapter->pwrctrlpriv.bInternalAutoSuspend) { padapter 706 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (padapter->pwrctrlpriv.rf_pwrstate == rf_off) padapter 707 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->pwrctrlpriv.ps_flag = true; padapter 709 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->net_closed = true; padapter 711 drivers/staging/rtl8188eu/os_dep/os_intfs.c if (padapter->pwrctrlpriv.rf_pwrstate == rf_on) { padapter 713 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->bup, padapter->hw_init_completed); padapter 722 drivers/staging/rtl8188eu/os_dep/os_intfs.c LeaveAllPowerSaveMode(padapter); padapter 723 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_disassoc_cmd(padapter, 500, false); padapter 725 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_indicate_disconnect(padapter); padapter 727 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_free_assoc_resources(padapter); padapter 729 drivers/staging/rtl8188eu/os_dep/os_intfs.c rtw_free_network_queue(padapter, true); padapter 731 drivers/staging/rtl8188eu/os_dep/os_intfs.c led_control_8188eu(padapter, LED_CTL_POWER_OFF); padapter 735 drivers/staging/rtl8188eu/os_dep/os_intfs.c DBG_88E("-88eu_drv - drv_close, bup =%d\n", padapter->bup); padapter 17 drivers/staging/rtl8188eu/os_dep/recv_linux.c int rtw_os_recvbuf_resource_alloc(struct adapter *padapter, padapter 28 drivers/staging/rtl8188eu/os_dep/recv_linux.c void rtw_handle_tkip_mic_err(struct adapter *padapter, u8 bgroup) padapter 32 drivers/staging/rtl8188eu/os_dep/recv_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 33 drivers/staging/rtl8188eu/os_dep/recv_linux.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 60 drivers/staging/rtl8188eu/os_dep/recv_linux.c wireless_send_event(padapter->pnetdev, IWEVMICHAELMICFAILURE, padapter 64 drivers/staging/rtl8188eu/os_dep/recv_linux.c int rtw_recv_indicatepkt(struct adapter *padapter, padapter 70 drivers/staging/rtl8188eu/os_dep/recv_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 72 drivers/staging/rtl8188eu/os_dep/recv_linux.c precvpriv = &padapter->recvpriv; padapter 85 drivers/staging/rtl8188eu/os_dep/recv_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 89 drivers/staging/rtl8188eu/os_dep/recv_linux.c if (memcmp(pattrib->dst, myid(&padapter->eeprompriv), padapter 92 drivers/staging/rtl8188eu/os_dep/recv_linux.c psta = rtw_get_bcmc_stainfo(padapter); padapter 101 drivers/staging/rtl8188eu/os_dep/recv_linux.c pnetdev = (struct net_device *)padapter->pnetdev; padapter 116 drivers/staging/rtl8188eu/os_dep/recv_linux.c skb->dev = padapter->pnetdev; padapter 117 drivers/staging/rtl8188eu/os_dep/recv_linux.c skb->protocol = eth_type_trans(skb, padapter->pnetdev); padapter 79 drivers/staging/rtl8188eu/os_dep/rtw_android.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(net); padapter 80 drivers/staging/rtl8188eu/os_dep/rtw_android.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 88 drivers/staging/rtl8188eu/os_dep/rtw_android.c padapter->recvpriv.rssi); padapter 96 drivers/staging/rtl8188eu/os_dep/rtw_android.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(net); padapter 99 drivers/staging/rtl8188eu/os_dep/rtw_android.c link_speed = rtw_get_cur_max_rate(padapter) / 10; padapter 142 drivers/staging/rtl8188eu/os_dep/usb_intf.c void usb_intf_stop(struct adapter *padapter) padapter 147 drivers/staging/rtl8188eu/os_dep/usb_intf.c if (!padapter->bSurpriseRemoved) { padapter 155 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_hal_inirp_deinit(padapter); padapter 158 drivers/staging/rtl8188eu/os_dep/usb_intf.c usb_write_port_cancel(padapter); padapter 165 drivers/staging/rtl8188eu/os_dep/usb_intf.c static void rtw_dev_unload(struct adapter *padapter) padapter 169 drivers/staging/rtl8188eu/os_dep/usb_intf.c if (padapter->bup) { padapter 171 drivers/staging/rtl8188eu/os_dep/usb_intf.c padapter->bDriverStopped = true; padapter 172 drivers/staging/rtl8188eu/os_dep/usb_intf.c if (padapter->xmitpriv.ack_tx) padapter 173 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_ack_tx_done(&padapter->xmitpriv, RTW_SCTX_DONE_DRV_STOP); padapter 175 drivers/staging/rtl8188eu/os_dep/usb_intf.c usb_intf_stop(padapter); padapter 177 drivers/staging/rtl8188eu/os_dep/usb_intf.c if (!padapter->pwrctrlpriv.bInternalAutoSuspend) padapter 178 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_stop_drv_threads(padapter); padapter 181 drivers/staging/rtl8188eu/os_dep/usb_intf.c if (!padapter->bSurpriseRemoved) { padapter 182 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_hal_deinit(padapter); padapter 183 drivers/staging/rtl8188eu/os_dep/usb_intf.c padapter->bSurpriseRemoved = true; padapter 186 drivers/staging/rtl8188eu/os_dep/usb_intf.c padapter->bup = false; padapter 200 drivers/staging/rtl8188eu/os_dep/usb_intf.c struct adapter *padapter = dvobj->if1; padapter 201 drivers/staging/rtl8188eu/os_dep/usb_intf.c struct net_device *pnetdev = padapter->pnetdev; padapter 202 drivers/staging/rtl8188eu/os_dep/usb_intf.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 203 drivers/staging/rtl8188eu/os_dep/usb_intf.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 208 drivers/staging/rtl8188eu/os_dep/usb_intf.c if ((!padapter->bup) || (padapter->bDriverStopped) || padapter 209 drivers/staging/rtl8188eu/os_dep/usb_intf.c (padapter->bSurpriseRemoved)) { padapter 211 drivers/staging/rtl8188eu/os_dep/usb_intf.c padapter->bup, padapter->bDriverStopped, padapter 212 drivers/staging/rtl8188eu/os_dep/usb_intf.c padapter->bSurpriseRemoved); padapter 217 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_cancel_all_timer(padapter); padapter 218 drivers/staging/rtl8188eu/os_dep/usb_intf.c LeaveAllPowerSaveMode(padapter); padapter 228 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_disassoc_cmd(padapter, 0, false); padapter 242 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_indicate_disconnect(padapter); padapter 244 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_free_assoc_resources(padapter); padapter 246 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_free_network_queue(padapter, true); padapter 248 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_dev_unload(padapter); padapter 252 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_indicate_scan_done(padapter, 1); padapter 255 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_indicate_disconnect(padapter); padapter 264 drivers/staging/rtl8188eu/os_dep/usb_intf.c static int rtw_resume_process(struct adapter *padapter) padapter 273 drivers/staging/rtl8188eu/os_dep/usb_intf.c if (padapter) { padapter 274 drivers/staging/rtl8188eu/os_dep/usb_intf.c pnetdev = padapter->pnetdev; padapter 275 drivers/staging/rtl8188eu/os_dep/usb_intf.c pwrpriv = &padapter->pwrctrlpriv; padapter 281 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_reset_drv_sw(padapter); padapter 295 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_roaming(padapter, NULL); padapter 310 drivers/staging/rtl8188eu/os_dep/usb_intf.c struct adapter *padapter = dvobj->if1; padapter 312 drivers/staging/rtl8188eu/os_dep/usb_intf.c return rtw_resume_process(padapter); padapter 326 drivers/staging/rtl8188eu/os_dep/usb_intf.c struct adapter *padapter = NULL; padapter 331 drivers/staging/rtl8188eu/os_dep/usb_intf.c padapter = vzalloc(sizeof(*padapter)); padapter 332 drivers/staging/rtl8188eu/os_dep/usb_intf.c if (!padapter) padapter 334 drivers/staging/rtl8188eu/os_dep/usb_intf.c padapter->dvobj = dvobj; padapter 335 drivers/staging/rtl8188eu/os_dep/usb_intf.c dvobj->if1 = padapter; padapter 337 drivers/staging/rtl8188eu/os_dep/usb_intf.c padapter->bDriverStopped = true; padapter 338 drivers/staging/rtl8188eu/os_dep/usb_intf.c mutex_init(&padapter->hw_init_mutex); padapter 340 drivers/staging/rtl8188eu/os_dep/usb_intf.c pnetdev = rtw_init_netdev(padapter); padapter 344 drivers/staging/rtl8188eu/os_dep/usb_intf.c padapter = rtw_netdev_priv(pnetdev); padapter 346 drivers/staging/rtl8188eu/os_dep/usb_intf.c if (padapter->registrypriv.monitor_enable) { padapter 350 drivers/staging/rtl8188eu/os_dep/usb_intf.c padapter->pmondev = pmondev; padapter 353 drivers/staging/rtl8188eu/os_dep/usb_intf.c padapter->HalData = kzalloc(sizeof(struct hal_data_8188e), GFP_KERNEL); padapter 354 drivers/staging/rtl8188eu/os_dep/usb_intf.c if (!padapter->HalData) { padapter 360 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_hal_read_chip_version(padapter); padapter 363 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_hal_chip_configure(padapter); padapter 366 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_hal_read_chip_info(padapter); padapter 369 drivers/staging/rtl8188eu/os_dep/usb_intf.c if (rtw_init_drv_sw(padapter) == _FAIL) { padapter 376 drivers/staging/rtl8188eu/os_dep/usb_intf.c if (padapter->pwrctrlpriv.bSupportRemoteWakeup) { padapter 392 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_init_netdev_name(pnetdev, padapter->registrypriv.ifname); padapter 393 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_macaddr_cfg(padapter->eeprompriv.mac_addr); padapter 394 drivers/staging/rtl8188eu/os_dep/usb_intf.c memcpy(pnetdev->dev_addr, padapter->eeprompriv.mac_addr, ETH_ALEN); padapter 405 drivers/staging/rtl8188eu/os_dep/usb_intf.c , padapter->bDriverStopped padapter 406 drivers/staging/rtl8188eu/os_dep/usb_intf.c , padapter->bSurpriseRemoved padapter 407 drivers/staging/rtl8188eu/os_dep/usb_intf.c , padapter->bup padapter 408 drivers/staging/rtl8188eu/os_dep/usb_intf.c , padapter->hw_init_completed padapter 415 drivers/staging/rtl8188eu/os_dep/usb_intf.c kfree(padapter->HalData); padapter 421 drivers/staging/rtl8188eu/os_dep/usb_intf.c vfree(padapter); padapter 422 drivers/staging/rtl8188eu/os_dep/usb_intf.c padapter = NULL; padapter 425 drivers/staging/rtl8188eu/os_dep/usb_intf.c return padapter; padapter 487 drivers/staging/rtl8188eu/os_dep/usb_intf.c struct adapter *padapter = dvobj->if1; padapter 493 drivers/staging/rtl8188eu/os_dep/usb_intf.c padapter->bSurpriseRemoved = true; padapter 495 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_pm_set_ips(padapter, IPS_NONE); padapter 496 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_pm_set_lps(padapter, PS_MODE_ACTIVE); padapter 498 drivers/staging/rtl8188eu/os_dep/usb_intf.c LeaveAllPowerSaveMode(padapter); padapter 500 drivers/staging/rtl8188eu/os_dep/usb_intf.c rtw_usb_if1_deinit(padapter); padapter 490 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c void rtw_hal_inirp_deinit(struct adapter *padapter) padapter 495 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c precvbuf = padapter->recvpriv.precv_buf; padapter 499 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c padapter->bReadPortCancel = true; padapter 574 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c struct adapter *padapter = pxmitbuf->padapter; padapter 575 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 592 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c rtw_chk_hi_queue_cmd(padapter); padapter 599 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c if (padapter->bSurpriseRemoved || padapter->bDriverStopped || padapter 600 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c padapter->bWritePortCancel) { padapter 603 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c __func__, padapter->bDriverStopped, padapter 604 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c padapter->bSurpriseRemoved)); padapter 606 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c __func__, padapter->bDriverStopped, padapter 607 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c padapter->bSurpriseRemoved, padapter->bReadPortCancel, padapter 619 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c sreset_set_wifi_error_status(padapter, USB_WRITE_PORT_FAIL); padapter 633 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c padapter->bDriverStopped = true; padapter 638 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c padapter->bSurpriseRemoved = true; padapter 656 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c u32 usb_write_port(struct adapter *padapter, u32 addr, u32 cnt, struct xmit_buf *xmitbuf) padapter 663 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c struct dvobj_priv *pdvobj = adapter_to_dvobj(padapter); padapter 664 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 670 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c if ((padapter->bDriverStopped) || (padapter->bSurpriseRemoved) || padapter 671 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c (padapter->pwrctrlpriv.pnp_bstop_trx)) { padapter 729 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c padapter->bDriverStopped = true; padapter 749 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c void usb_write_port_cancel(struct adapter *padapter) padapter 752 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c struct xmit_buf *pxmitbuf = (struct xmit_buf *)padapter->xmitpriv.pxmitbuf; padapter 756 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c padapter->bWritePortCancel = true; padapter 766 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pxmitbuf = (struct xmit_buf *)padapter->xmitpriv.pxmit_extbuf; padapter 17 drivers/staging/rtl8188eu/os_dep/xmit_linux.c int rtw_os_xmit_resource_alloc(struct adapter *padapter, padapter 51 drivers/staging/rtl8188eu/os_dep/xmit_linux.c void rtw_os_pkt_complete(struct adapter *padapter, struct sk_buff *pkt) padapter 54 drivers/staging/rtl8188eu/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 57 drivers/staging/rtl8188eu/os_dep/xmit_linux.c if (padapter->registrypriv.wifi_spec) { padapter 58 drivers/staging/rtl8188eu/os_dep/xmit_linux.c if (__netif_subqueue_stopped(padapter->pnetdev, queue) && padapter 60 drivers/staging/rtl8188eu/os_dep/xmit_linux.c netif_wake_subqueue(padapter->pnetdev, queue); padapter 62 drivers/staging/rtl8188eu/os_dep/xmit_linux.c if (__netif_subqueue_stopped(padapter->pnetdev, queue)) padapter 63 drivers/staging/rtl8188eu/os_dep/xmit_linux.c netif_wake_subqueue(padapter->pnetdev, queue); padapter 69 drivers/staging/rtl8188eu/os_dep/xmit_linux.c void rtw_os_xmit_complete(struct adapter *padapter, struct xmit_frame *pxframe) padapter 72 drivers/staging/rtl8188eu/os_dep/xmit_linux.c rtw_os_pkt_complete(padapter, pxframe->pkt); padapter 76 drivers/staging/rtl8188eu/os_dep/xmit_linux.c void rtw_os_xmit_schedule(struct adapter *padapter) padapter 80 drivers/staging/rtl8188eu/os_dep/xmit_linux.c if (!padapter) padapter 83 drivers/staging/rtl8188eu/os_dep/xmit_linux.c pxmitpriv = &padapter->xmitpriv; padapter 87 drivers/staging/rtl8188eu/os_dep/xmit_linux.c if (rtw_txframes_pending(padapter)) padapter 93 drivers/staging/rtl8188eu/os_dep/xmit_linux.c static void rtw_check_xmit_resource(struct adapter *padapter, padapter 96 drivers/staging/rtl8188eu/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 100 drivers/staging/rtl8188eu/os_dep/xmit_linux.c if (padapter->registrypriv.wifi_spec) { padapter 103 drivers/staging/rtl8188eu/os_dep/xmit_linux.c netif_stop_subqueue(padapter->pnetdev, queue); padapter 106 drivers/staging/rtl8188eu/os_dep/xmit_linux.c if (!netif_tx_queue_stopped(netdev_get_tx_queue(padapter->pnetdev, queue))) padapter 107 drivers/staging/rtl8188eu/os_dep/xmit_linux.c netif_stop_subqueue(padapter->pnetdev, queue); padapter 112 drivers/staging/rtl8188eu/os_dep/xmit_linux.c static int rtw_mlcst2unicst(struct adapter *padapter, struct sk_buff *skb) padapter 114 drivers/staging/rtl8188eu/os_dep/xmit_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 115 drivers/staging/rtl8188eu/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 139 drivers/staging/rtl8188eu/os_dep/xmit_linux.c res = rtw_xmit(padapter, &newskb); padapter 169 drivers/staging/rtl8188eu/os_dep/xmit_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); padapter 170 drivers/staging/rtl8188eu/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 171 drivers/staging/rtl8188eu/os_dep/xmit_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 176 drivers/staging/rtl8188eu/os_dep/xmit_linux.c if (!rtw_if_up(padapter)) { padapter 182 drivers/staging/rtl8188eu/os_dep/xmit_linux.c rtw_check_xmit_resource(padapter, pkt); padapter 186 drivers/staging/rtl8188eu/os_dep/xmit_linux.c (padapter->registrypriv.wifi_spec == 0)) { padapter 188 drivers/staging/rtl8188eu/os_dep/xmit_linux.c res = rtw_mlcst2unicst(padapter, pkt); padapter 194 drivers/staging/rtl8188eu/os_dep/xmit_linux.c res = rtw_xmit(padapter, &pkt); padapter 118 drivers/staging/rtl8712/drv_types.h struct _adapter *padapter; padapter 53 drivers/staging/rtl8712/hal_init.c int rtl871x_load_fw(struct _adapter *padapter) padapter 55 drivers/staging/rtl8712/hal_init.c struct device *dev = &padapter->dvobjpriv.pusbdev->dev; padapter 58 drivers/staging/rtl8712/hal_init.c init_completion(&padapter->rtl8712_fw_ready); padapter 61 drivers/staging/rtl8712/hal_init.c GFP_KERNEL, padapter, rtl871x_load_fw_cb); padapter 313 drivers/staging/rtl8712/hal_init.c uint rtl8712_hal_init(struct _adapter *padapter) padapter 319 drivers/staging/rtl8712/hal_init.c if (rtl8712_dl_fw(padapter) != _SUCCESS) padapter 322 drivers/staging/rtl8712/hal_init.c netdev_info(padapter->pnetdev, "1 RCR=0x%x\n", padapter 323 drivers/staging/rtl8712/hal_init.c r8712_read32(padapter, RCR)); padapter 324 drivers/staging/rtl8712/hal_init.c val32 = r8712_read32(padapter, RCR); padapter 325 drivers/staging/rtl8712/hal_init.c r8712_write32(padapter, RCR, (val32 | BIT(26))); /* Enable RX TCP padapter 328 drivers/staging/rtl8712/hal_init.c netdev_info(padapter->pnetdev, "2 RCR=0x%x\n", padapter 329 drivers/staging/rtl8712/hal_init.c r8712_read32(padapter, RCR)); padapter 330 drivers/staging/rtl8712/hal_init.c val32 = r8712_read32(padapter, RCR); padapter 331 drivers/staging/rtl8712/hal_init.c r8712_write32(padapter, RCR, (val32 | BIT(25))); /* Append PHY status */ padapter 332 drivers/staging/rtl8712/hal_init.c val32 = r8712_read32(padapter, 0x10250040); padapter 333 drivers/staging/rtl8712/hal_init.c r8712_write32(padapter, 0x10250040, (val32 & 0x00FFFFFF)); padapter 335 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, 0x102500B5, r8712_read8(padapter, 0x102500B5) | padapter 337 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, 0x102500BD, r8712_read8(padapter, 0x102500BD) | padapter 339 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, 0x102500D9, 1); /* TH=1 => means that invalidate padapter 342 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, 0x1025FE5B, 0x04); /* 1.7ms/4 */ padapter 344 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, 0x1025fe5C, r8712_read8(padapter, 0x1025fe5C) padapter 347 drivers/staging/rtl8712/hal_init.c padapter->eeprompriv.mac_addr[i] = r8712_read8(padapter, padapter 352 drivers/staging/rtl8712/hal_init.c uint rtl8712_hal_deinit(struct _adapter *padapter) padapter 354 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, RF_CTRL, 0x00); padapter 358 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, SYS_CLKR + 1, 0x38); /* Switch Control Path */ padapter 359 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, SYS_FUNC_EN + 1, 0x70); padapter 360 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, PMC_FSM, 0x06); /* Enable Loader Data Keep */ padapter 361 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, SYS_ISO_CTRL, 0xF9); /* Isolation signals from padapter 364 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, SYS_ISO_CTRL + 1, 0xe8); /* Enable EFUSE 1.2V */ padapter 365 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, AFE_PLL_CTRL, 0x00); /* Disable AFE PLL. */ padapter 366 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, LDOA15_CTRL, 0x54); /* Disable A15V */ padapter 367 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, SYS_FUNC_EN + 1, 0x50); /* Disable E-Fuse 1.2V */ padapter 368 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, LDOV12D_CTRL, 0x24); /* Disable LDO12(for CE) */ padapter 369 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, AFE_MISC, 0x30); /* Disable AFE BG&MB */ padapter 371 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, SPS0_CTRL, 0x56); /* Disable 1.6V LDO */ padapter 372 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, SPS0_CTRL + 1, 0x43); /* Set SW PFM */ padapter 376 drivers/staging/rtl8712/hal_init.c uint rtl871x_hal_init(struct _adapter *padapter) padapter 378 drivers/staging/rtl8712/hal_init.c padapter->hw_init_completed = false; padapter 379 drivers/staging/rtl8712/hal_init.c if (!padapter->halpriv.hal_bus_init) padapter 381 drivers/staging/rtl8712/hal_init.c if (padapter->halpriv.hal_bus_init(padapter) != _SUCCESS) padapter 383 drivers/staging/rtl8712/hal_init.c if (rtl8712_hal_init(padapter) == _SUCCESS) { padapter 384 drivers/staging/rtl8712/hal_init.c padapter->hw_init_completed = true; padapter 386 drivers/staging/rtl8712/hal_init.c padapter->hw_init_completed = false; padapter 20 drivers/staging/rtl8712/mlme_osdep.h void r8712_init_mlme_timer(struct _adapter *padapter); padapter 27 drivers/staging/rtl8712/mlme_osdep.h void r8712_indicate_wx_assoc_event(struct _adapter *padapter); padapter 28 drivers/staging/rtl8712/mlme_osdep.h void r8712_indicate_wx_disassoc_event(struct _adapter *padapter); padapter 116 drivers/staging/rtl8712/os_intfs.c static void loadparam(struct _adapter *padapter, struct net_device *pnetdev) padapter 118 drivers/staging/rtl8712/os_intfs.c struct registry_priv *registry_par = &padapter->registrypriv; padapter 165 drivers/staging/rtl8712/os_intfs.c struct _adapter *padapter = netdev_priv(pnetdev); padapter 168 drivers/staging/rtl8712/os_intfs.c if (!padapter->bup) padapter 175 drivers/staging/rtl8712/os_intfs.c struct _adapter *padapter = netdev_priv(pnetdev); padapter 176 drivers/staging/rtl8712/os_intfs.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 177 drivers/staging/rtl8712/os_intfs.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 179 drivers/staging/rtl8712/os_intfs.c padapter->stats.tx_packets = pxmitpriv->tx_pkts; padapter 180 drivers/staging/rtl8712/os_intfs.c padapter->stats.rx_packets = precvpriv->rx_pkts; padapter 181 drivers/staging/rtl8712/os_intfs.c padapter->stats.tx_dropped = pxmitpriv->tx_drop; padapter 182 drivers/staging/rtl8712/os_intfs.c padapter->stats.rx_dropped = precvpriv->rx_drop; padapter 183 drivers/staging/rtl8712/os_intfs.c padapter->stats.tx_bytes = pxmitpriv->tx_bytes; padapter 184 drivers/staging/rtl8712/os_intfs.c padapter->stats.rx_bytes = precvpriv->rx_bytes; padapter 185 drivers/staging/rtl8712/os_intfs.c return &padapter->stats; padapter 199 drivers/staging/rtl8712/os_intfs.c struct _adapter *padapter; padapter 209 drivers/staging/rtl8712/os_intfs.c padapter = netdev_priv(pnetdev); padapter 210 drivers/staging/rtl8712/os_intfs.c padapter->pnetdev = pnetdev; padapter 216 drivers/staging/rtl8712/os_intfs.c loadparam(padapter, pnetdev); padapter 218 drivers/staging/rtl8712/os_intfs.c padapter->pid = 0; /* Initial the PID value used for HW PBC.*/ padapter 222 drivers/staging/rtl8712/os_intfs.c static u32 start_drv_threads(struct _adapter *padapter) padapter 224 drivers/staging/rtl8712/os_intfs.c padapter->cmd_thread = kthread_run(r8712_cmd_thread, padapter, "%s", padapter 225 drivers/staging/rtl8712/os_intfs.c padapter->pnetdev->name); padapter 226 drivers/staging/rtl8712/os_intfs.c if (IS_ERR(padapter->cmd_thread)) padapter 231 drivers/staging/rtl8712/os_intfs.c void r8712_stop_drv_threads(struct _adapter *padapter) padapter 234 drivers/staging/rtl8712/os_intfs.c &padapter->cmdpriv.terminate_cmdthread_comp; padapter 237 drivers/staging/rtl8712/os_intfs.c complete(&padapter->cmdpriv.cmd_queue_comp); padapter 238 drivers/staging/rtl8712/os_intfs.c if (padapter->cmd_thread) padapter 240 drivers/staging/rtl8712/os_intfs.c padapter->cmdpriv.cmd_seq = 1; padapter 243 drivers/staging/rtl8712/os_intfs.c static void start_drv_timers(struct _adapter *padapter) padapter 245 drivers/staging/rtl8712/os_intfs.c mod_timer(&padapter->mlmepriv.sitesurveyctrl.sitesurvey_ctrl_timer, padapter 247 drivers/staging/rtl8712/os_intfs.c mod_timer(&padapter->mlmepriv.wdg_timer, padapter 251 drivers/staging/rtl8712/os_intfs.c void r8712_stop_drv_timers(struct _adapter *padapter) padapter 253 drivers/staging/rtl8712/os_intfs.c del_timer_sync(&padapter->mlmepriv.assoc_timer); padapter 254 drivers/staging/rtl8712/os_intfs.c del_timer_sync(&padapter->securitypriv.tkip_timer); padapter 255 drivers/staging/rtl8712/os_intfs.c del_timer_sync(&padapter->mlmepriv.scan_to_timer); padapter 256 drivers/staging/rtl8712/os_intfs.c del_timer_sync(&padapter->mlmepriv.dhcp_timer); padapter 257 drivers/staging/rtl8712/os_intfs.c del_timer_sync(&padapter->mlmepriv.wdg_timer); padapter 258 drivers/staging/rtl8712/os_intfs.c del_timer_sync(&padapter->mlmepriv.sitesurveyctrl.sitesurvey_ctrl_timer); padapter 261 drivers/staging/rtl8712/os_intfs.c static void init_default_value(struct _adapter *padapter) padapter 263 drivers/staging/rtl8712/os_intfs.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 264 drivers/staging/rtl8712/os_intfs.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 265 drivers/staging/rtl8712/os_intfs.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 266 drivers/staging/rtl8712/os_intfs.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 292 drivers/staging/rtl8712/os_intfs.c r8712_init_registrypriv_dev_network(padapter); padapter 293 drivers/staging/rtl8712/os_intfs.c r8712_update_registrypriv_dev_network(padapter); padapter 297 drivers/staging/rtl8712/os_intfs.c int r8712_init_drv_sw(struct _adapter *padapter) padapter 301 drivers/staging/rtl8712/os_intfs.c ret = r8712_init_cmd_priv(&padapter->cmdpriv); padapter 304 drivers/staging/rtl8712/os_intfs.c padapter->cmdpriv.padapter = padapter; padapter 305 drivers/staging/rtl8712/os_intfs.c ret = r8712_init_evt_priv(&padapter->evtpriv); padapter 308 drivers/staging/rtl8712/os_intfs.c ret = r8712_init_mlme_priv(padapter); padapter 311 drivers/staging/rtl8712/os_intfs.c _r8712_init_xmit_priv(&padapter->xmitpriv, padapter); padapter 312 drivers/staging/rtl8712/os_intfs.c _r8712_init_recv_priv(&padapter->recvpriv, padapter); padapter 313 drivers/staging/rtl8712/os_intfs.c memset((unsigned char *)&padapter->securitypriv, 0, padapter 315 drivers/staging/rtl8712/os_intfs.c timer_setup(&padapter->securitypriv.tkip_timer, padapter 317 drivers/staging/rtl8712/os_intfs.c ret = _r8712_init_sta_priv(&padapter->stapriv); padapter 320 drivers/staging/rtl8712/os_intfs.c padapter->stapriv.padapter = padapter; padapter 321 drivers/staging/rtl8712/os_intfs.c r8712_init_bcmc_stainfo(padapter); padapter 322 drivers/staging/rtl8712/os_intfs.c r8712_init_pwrctrl_priv(padapter); padapter 323 drivers/staging/rtl8712/os_intfs.c mp871xinit(padapter); padapter 324 drivers/staging/rtl8712/os_intfs.c init_default_value(padapter); padapter 325 drivers/staging/rtl8712/os_intfs.c r8712_InitSwLeds(padapter); padapter 329 drivers/staging/rtl8712/os_intfs.c void r8712_free_drv_sw(struct _adapter *padapter) padapter 331 drivers/staging/rtl8712/os_intfs.c struct net_device *pnetdev = padapter->pnetdev; padapter 333 drivers/staging/rtl8712/os_intfs.c r8712_free_cmd_priv(&padapter->cmdpriv); padapter 334 drivers/staging/rtl8712/os_intfs.c r8712_free_evt_priv(&padapter->evtpriv); padapter 335 drivers/staging/rtl8712/os_intfs.c r8712_DeInitSwLeds(padapter); padapter 336 drivers/staging/rtl8712/os_intfs.c r8712_free_mlme_priv(&padapter->mlmepriv); padapter 337 drivers/staging/rtl8712/os_intfs.c r8712_free_io_queue(padapter); padapter 338 drivers/staging/rtl8712/os_intfs.c _free_xmit_priv(&padapter->xmitpriv); padapter 339 drivers/staging/rtl8712/os_intfs.c _r8712_free_sta_priv(&padapter->stapriv); padapter 340 drivers/staging/rtl8712/os_intfs.c _r8712_free_recv_priv(&padapter->recvpriv); padapter 341 drivers/staging/rtl8712/os_intfs.c mp871xdeinit(padapter); padapter 346 drivers/staging/rtl8712/os_intfs.c static void enable_video_mode(struct _adapter *padapter, int cbw40_value) padapter 366 drivers/staging/rtl8712/os_intfs.c r8712_fw_cmd(padapter, intcmd); padapter 377 drivers/staging/rtl8712/os_intfs.c struct _adapter *padapter = netdev_priv(pnetdev); padapter 379 drivers/staging/rtl8712/os_intfs.c mutex_lock(&padapter->mutex_start); padapter 380 drivers/staging/rtl8712/os_intfs.c if (!padapter->bup) { padapter 381 drivers/staging/rtl8712/os_intfs.c padapter->driver_stopped = false; padapter 382 drivers/staging/rtl8712/os_intfs.c padapter->surprise_removed = false; padapter 383 drivers/staging/rtl8712/os_intfs.c padapter->bup = true; padapter 384 drivers/staging/rtl8712/os_intfs.c if (rtl871x_hal_init(padapter) != _SUCCESS) padapter 389 drivers/staging/rtl8712/os_intfs.c padapter->eeprompriv.mac_addr, ETH_ALEN); padapter 395 drivers/staging/rtl8712/os_intfs.c r8712_setMacAddr_cmd(padapter, (u8 *)pnetdev->dev_addr); padapter 405 drivers/staging/rtl8712/os_intfs.c memcpy(padapter->eeprompriv.mac_addr, padapter 408 drivers/staging/rtl8712/os_intfs.c if (start_drv_threads(padapter) != _SUCCESS) padapter 410 drivers/staging/rtl8712/os_intfs.c if (!padapter->dvobjpriv.inirp_init) padapter 413 drivers/staging/rtl8712/os_intfs.c padapter->dvobjpriv.inirp_init(padapter); padapter 414 drivers/staging/rtl8712/os_intfs.c r8712_set_ps_mode(padapter, padapter->registrypriv.power_mgnt, padapter 415 drivers/staging/rtl8712/os_intfs.c padapter->registrypriv.smart_ps); padapter 423 drivers/staging/rtl8712/os_intfs.c enable_video_mode(padapter, cbw40_enable); padapter 425 drivers/staging/rtl8712/os_intfs.c start_drv_timers(padapter); padapter 426 drivers/staging/rtl8712/os_intfs.c padapter->ledpriv.LedControlHandler(padapter, LED_CTL_NO_LINK); padapter 427 drivers/staging/rtl8712/os_intfs.c mutex_unlock(&padapter->mutex_start); padapter 430 drivers/staging/rtl8712/os_intfs.c padapter->bup = false; padapter 433 drivers/staging/rtl8712/os_intfs.c mutex_unlock(&padapter->mutex_start); padapter 445 drivers/staging/rtl8712/os_intfs.c struct _adapter *padapter = netdev_priv(pnetdev); padapter 448 drivers/staging/rtl8712/os_intfs.c padapter->ledpriv.LedControlHandler(padapter, LED_CTL_POWER_OFF); padapter 458 drivers/staging/rtl8712/os_intfs.c r8712_disassoc_cmd(padapter); padapter 460 drivers/staging/rtl8712/os_intfs.c r8712_ind_disconnect(padapter); padapter 462 drivers/staging/rtl8712/os_intfs.c r8712_free_assoc_resources(padapter); padapter 464 drivers/staging/rtl8712/os_intfs.c r8712_free_network_queue(padapter); padapter 32 drivers/staging/rtl8712/recv_linux.c void r8712_os_recv_resource_alloc(struct _adapter *padapter, padapter 40 drivers/staging/rtl8712/recv_linux.c int r8712_os_recvbuf_resource_alloc(struct _adapter *padapter, padapter 62 drivers/staging/rtl8712/recv_linux.c void r8712_os_recvbuf_resource_free(struct _adapter *padapter, padapter 22 drivers/staging/rtl8712/recv_osdep.h struct _adapter *padapter); padapter 27 drivers/staging/rtl8712/recv_osdep.h void r8712_handle_tkip_mic_err(struct _adapter *padapter, u8 bgroup); padapter 29 drivers/staging/rtl8712/recv_osdep.h struct _adapter *padapter); padapter 31 drivers/staging/rtl8712/recv_osdep.h void r8712_os_recv_resource_alloc(struct _adapter *padapter, padapter 33 drivers/staging/rtl8712/recv_osdep.h int r8712_os_recvbuf_resource_alloc(struct _adapter *padapter, padapter 35 drivers/staging/rtl8712/recv_osdep.h void r8712_os_recvbuf_resource_free(struct _adapter *padapter, padapter 43 drivers/staging/rtl8712/rtl8712_cmd.c static void check_hw_pbc(struct _adapter *padapter) padapter 47 drivers/staging/rtl8712/rtl8712_cmd.c r8712_write8(padapter, MAC_PINMUX_CTRL, (GPIOMUX_EN | GPIOSEL_GPIO)); padapter 48 drivers/staging/rtl8712/rtl8712_cmd.c tmp1byte = r8712_read8(padapter, GPIO_IO_SEL); padapter 50 drivers/staging/rtl8712/rtl8712_cmd.c r8712_write8(padapter, GPIO_IO_SEL, tmp1byte); padapter 51 drivers/staging/rtl8712/rtl8712_cmd.c tmp1byte = r8712_read8(padapter, GPIO_CTRL); padapter 62 drivers/staging/rtl8712/rtl8712_cmd.c if (padapter->pid == 0) padapter 64 drivers/staging/rtl8712/rtl8712_cmd.c kill_pid(find_vpid(padapter->pid), SIGUSR1, 1); padapter 72 drivers/staging/rtl8712/rtl8712_cmd.c static void query_fw_rx_phy_status(struct _adapter *padapter) padapter 77 drivers/staging/rtl8712/rtl8712_cmd.c if (check_fwstate(&padapter->mlmepriv, _FW_LINKED)) { padapter 78 drivers/staging/rtl8712/rtl8712_cmd.c r8712_write32(padapter, IOCMD_CTRL_REG, 0xf4000001); padapter 81 drivers/staging/rtl8712/rtl8712_cmd.c while ((r8712_read32(padapter, IOCMD_CTRL_REG)) && padapter 87 drivers/staging/rtl8712/rtl8712_cmd.c val32 = r8712_read32(padapter, IOCMD_DATA_REG); padapter 91 drivers/staging/rtl8712/rtl8712_cmd.c padapter->recvpriv.fw_rssi = padapter 97 drivers/staging/rtl8712/rtl8712_cmd.c static void StatusWatchdogCallback(struct _adapter *padapter) padapter 99 drivers/staging/rtl8712/rtl8712_cmd.c check_hw_pbc(padapter); padapter 100 drivers/staging/rtl8712/rtl8712_cmd.c query_fw_rx_phy_status(padapter); padapter 103 drivers/staging/rtl8712/rtl8712_cmd.c static void r871x_internal_cmd_hdl(struct _adapter *padapter, u8 *pbuf) padapter 112 drivers/staging/rtl8712/rtl8712_cmd.c StatusWatchdogCallback(padapter); padapter 120 drivers/staging/rtl8712/rtl8712_cmd.c static u8 read_macreg_hdl(struct _adapter *padapter, u8 *pbuf) padapter 130 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback(padapter, pcmd); padapter 134 drivers/staging/rtl8712/rtl8712_cmd.c static u8 write_macreg_hdl(struct _adapter *padapter, u8 *pbuf) padapter 144 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback(padapter, pcmd); padapter 148 drivers/staging/rtl8712/rtl8712_cmd.c static u8 read_bbreg_hdl(struct _adapter *padapter, u8 *pbuf) padapter 156 drivers/staging/rtl8712/rtl8712_cmd.c static u8 write_bbreg_hdl(struct _adapter *padapter, u8 *pbuf) padapter 165 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback(padapter, pcmd); padapter 169 drivers/staging/rtl8712/rtl8712_cmd.c static u8 read_rfreg_hdl(struct _adapter *padapter, u8 *pbuf) padapter 181 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback(padapter, pcmd); padapter 185 drivers/staging/rtl8712/rtl8712_cmd.c static u8 write_rfreg_hdl(struct _adapter *padapter, u8 *pbuf) padapter 194 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback(padapter, pcmd); padapter 198 drivers/staging/rtl8712/rtl8712_cmd.c static u8 sys_suspend_hdl(struct _adapter *padapter, u8 *pbuf) padapter 206 drivers/staging/rtl8712/rtl8712_cmd.c static struct cmd_obj *cmd_hdl_filter(struct _adapter *padapter, padapter 217 drivers/staging/rtl8712/rtl8712_cmd.c read_macreg_hdl(padapter, (u8 *)pcmd); padapter 221 drivers/staging/rtl8712/rtl8712_cmd.c write_macreg_hdl(padapter, (u8 *)pcmd); padapter 225 drivers/staging/rtl8712/rtl8712_cmd.c read_bbreg_hdl(padapter, (u8 *)pcmd); padapter 228 drivers/staging/rtl8712/rtl8712_cmd.c write_bbreg_hdl(padapter, (u8 *)pcmd); padapter 231 drivers/staging/rtl8712/rtl8712_cmd.c read_rfreg_hdl(padapter, (u8 *)pcmd); padapter 234 drivers/staging/rtl8712/rtl8712_cmd.c write_rfreg_hdl(padapter, (u8 *)pcmd); padapter 237 drivers/staging/rtl8712/rtl8712_cmd.c sys_suspend_hdl(padapter, (u8 *)pcmd); padapter 240 drivers/staging/rtl8712/rtl8712_cmd.c r8712_joinbss_reset(padapter); padapter 246 drivers/staging/rtl8712/rtl8712_cmd.c if (padapter->pwrctrlpriv.pwr_mode > PS_MODE_ACTIVE) { padapter 247 drivers/staging/rtl8712/rtl8712_cmd.c padapter->pwrctrlpriv.pwr_mode = PS_MODE_ACTIVE; padapter 248 drivers/staging/rtl8712/rtl8712_cmd.c mutex_lock(&padapter->pwrctrlpriv.mutex_lock); padapter 249 drivers/staging/rtl8712/rtl8712_cmd.c r8712_set_rpwm(padapter, PS_STATE_S4); padapter 250 drivers/staging/rtl8712/rtl8712_cmd.c mutex_unlock(&padapter->pwrctrlpriv.mutex_lock); padapter 255 drivers/staging/rtl8712/rtl8712_cmd.c r871x_internal_cmd_hdl(padapter, pcmd->parmbuf); padapter 297 drivers/staging/rtl8712/rtl8712_cmd.c struct _adapter *padapter = context; padapter 298 drivers/staging/rtl8712/rtl8712_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 301 drivers/staging/rtl8712/rtl8712_cmd.c struct mutex *pwctrl_lock = &padapter->pwrctrlpriv.mutex_lock; padapter 307 drivers/staging/rtl8712/rtl8712_cmd.c if (padapter->driver_stopped || padapter->surprise_removed) padapter 309 drivers/staging/rtl8712/rtl8712_cmd.c if (r8712_register_cmd_alive(padapter)) padapter 314 drivers/staging/rtl8712/rtl8712_cmd.c r8712_unregister_cmd_alive(padapter); padapter 320 drivers/staging/rtl8712/rtl8712_cmd.c pcmd = cmd_hdl_filter(padapter, pcmd); padapter 322 drivers/staging/rtl8712/rtl8712_cmd.c struct dvobj_priv *pdvobj = &padapter->dvobjpriv; padapter 359 drivers/staging/rtl8712/rtl8712_cmd.c r8712_write_mem(padapter, RTL8712_DMA_H2CCMD, wr_sz, padapter 366 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback(padapter, pcmd); padapter 370 drivers/staging/rtl8712/rtl8712_cmd.c if (padapter->pwrctrlpriv.bSleep) { padapter 372 drivers/staging/rtl8712/rtl8712_cmd.c r8712_set_rpwm(padapter, PS_STATE_S2); padapter 378 drivers/staging/rtl8712/rtl8712_cmd.c r8712_unregister_cmd_alive(padapter); padapter 399 drivers/staging/rtl8712/rtl8712_cmd.c void r8712_event_handle(struct _adapter *padapter, __le32 *peventbuf) padapter 404 drivers/staging/rtl8712/rtl8712_cmd.c struct evt_priv *pevt_priv = &padapter->evtpriv; padapter 441 drivers/staging/rtl8712/rtl8712_cmd.c event_callback(padapter, (u8 *)peventbuf); padapter 27 drivers/staging/rtl8712/rtl8712_efuse.h u8 r8712_efuse_reg_init(struct _adapter *padapter); padapter 28 drivers/staging/rtl8712/rtl8712_efuse.h void r8712_efuse_reg_uninit(struct _adapter *padapter); padapter 29 drivers/staging/rtl8712/rtl8712_efuse.h u16 r8712_efuse_get_current_size(struct _adapter *padapter); padapter 30 drivers/staging/rtl8712/rtl8712_efuse.h int r8712_efuse_get_max_size(struct _adapter *padapter); padapter 31 drivers/staging/rtl8712/rtl8712_efuse.h void r8712_efuse_change_max_size(struct _adapter *padapter); padapter 32 drivers/staging/rtl8712/rtl8712_efuse.h u8 r8712_efuse_pg_packet_read(struct _adapter *padapter, padapter 34 drivers/staging/rtl8712/rtl8712_efuse.h u8 r8712_efuse_pg_packet_write(struct _adapter *padapter, padapter 37 drivers/staging/rtl8712/rtl8712_efuse.h u8 r8712_efuse_access(struct _adapter *padapter, u8 bRead, padapter 39 drivers/staging/rtl8712/rtl8712_efuse.h u8 r8712_efuse_map_read(struct _adapter *padapter, u16 addr, padapter 41 drivers/staging/rtl8712/rtl8712_efuse.h u8 r8712_efuse_map_write(struct _adapter *padapter, u16 addr, padapter 17 drivers/staging/rtl8712/rtl8712_event.h void r8712_event_handle(struct _adapter *padapter, __le32 *peventbuf); padapter 139 drivers/staging/rtl8712/rtl8712_hal.h uint rtl8712_hal_init(struct _adapter *padapter); padapter 140 drivers/staging/rtl8712/rtl8712_hal.h int rtl871x_load_fw(struct _adapter *padapter); padapter 77 drivers/staging/rtl8712/rtl8712_led.c static void InitLed871x(struct _adapter *padapter, struct LED_871x *pLed, padapter 80 drivers/staging/rtl8712/rtl8712_led.c pLed->padapter = padapter; padapter 108 drivers/staging/rtl8712/rtl8712_led.c static void SwLedOn(struct _adapter *padapter, struct LED_871x *pLed) padapter 112 drivers/staging/rtl8712/rtl8712_led.c if (padapter->surprise_removed || padapter->driver_stopped) padapter 114 drivers/staging/rtl8712/rtl8712_led.c LedCfg = r8712_read8(padapter, LEDCFG); padapter 120 drivers/staging/rtl8712/rtl8712_led.c r8712_write8(padapter, LEDCFG, LedCfg & 0xf0); padapter 124 drivers/staging/rtl8712/rtl8712_led.c r8712_write8(padapter, LEDCFG, LedCfg & 0x0f); padapter 136 drivers/staging/rtl8712/rtl8712_led.c static void SwLedOff(struct _adapter *padapter, struct LED_871x *pLed) padapter 140 drivers/staging/rtl8712/rtl8712_led.c if (padapter->surprise_removed || padapter->driver_stopped) padapter 142 drivers/staging/rtl8712/rtl8712_led.c LedCfg = r8712_read8(padapter, LEDCFG); padapter 148 drivers/staging/rtl8712/rtl8712_led.c r8712_write8(padapter, LEDCFG, (LedCfg | BIT(3))); padapter 152 drivers/staging/rtl8712/rtl8712_led.c r8712_write8(padapter, LEDCFG, (LedCfg | BIT(7))); padapter 167 drivers/staging/rtl8712/rtl8712_led.c void r8712_InitSwLeds(struct _adapter *padapter) padapter 169 drivers/staging/rtl8712/rtl8712_led.c struct led_priv *pledpriv = &padapter->ledpriv; padapter 172 drivers/staging/rtl8712/rtl8712_led.c InitLed871x(padapter, &pledpriv->SwLed0, LED_PIN_LED0); padapter 173 drivers/staging/rtl8712/rtl8712_led.c InitLed871x(padapter, &pledpriv->SwLed1, LED_PIN_LED1); padapter 179 drivers/staging/rtl8712/rtl8712_led.c void r8712_DeInitSwLeds(struct _adapter *padapter) padapter 181 drivers/staging/rtl8712/rtl8712_led.c struct led_priv *ledpriv = &padapter->ledpriv; padapter 193 drivers/staging/rtl8712/rtl8712_led.c struct _adapter *padapter = pLed->padapter; padapter 194 drivers/staging/rtl8712/rtl8712_led.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 199 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed); padapter 201 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 231 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed); padapter 233 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 268 drivers/staging/rtl8712/rtl8712_led.c struct _adapter *padapter = pLed->padapter; padapter 269 drivers/staging/rtl8712/rtl8712_led.c struct led_priv *ledpriv = &padapter->ledpriv; padapter 270 drivers/staging/rtl8712/rtl8712_led.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 271 drivers/staging/rtl8712/rtl8712_led.c struct eeprom_priv *peeprompriv = &padapter->eeprompriv; padapter 279 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed); padapter 281 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 285 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed1); padapter 288 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed1); padapter 292 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed1); padapter 295 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed1); padapter 421 drivers/staging/rtl8712/rtl8712_led.c struct _adapter *padapter = pLed->padapter; padapter 422 drivers/staging/rtl8712/rtl8712_led.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 427 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed); padapter 429 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 439 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed); padapter 443 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 463 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed); padapter 467 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 486 drivers/staging/rtl8712/rtl8712_led.c struct _adapter *padapter = pLed->padapter; padapter 487 drivers/staging/rtl8712/rtl8712_led.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 492 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed); padapter 495 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 506 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed); padapter 511 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 532 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed); padapter 537 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 569 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed); padapter 580 drivers/staging/rtl8712/rtl8712_led.c struct _adapter *padapter = pLed->padapter; padapter 581 drivers/staging/rtl8712/rtl8712_led.c struct led_priv *ledpriv = &padapter->ledpriv; padapter 587 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed); padapter 589 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 594 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed1); padapter 710 drivers/staging/rtl8712/rtl8712_led.c struct _adapter *padapter = pLed->padapter; padapter 715 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed); padapter 717 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 766 drivers/staging/rtl8712/rtl8712_led.c struct _adapter *padapter = pLed->padapter; padapter 771 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed); padapter 773 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 783 drivers/staging/rtl8712/rtl8712_led.c SwLedOn(padapter, pLed); padapter 819 drivers/staging/rtl8712/rtl8712_led.c if (pLed->padapter->surprise_removed || pLed->padapter->driver_stopped) padapter 832 drivers/staging/rtl8712/rtl8712_led.c struct led_priv *ledpriv = &pLed->padapter->ledpriv; padapter 871 drivers/staging/rtl8712/rtl8712_led.c static void SwLedControlMode1(struct _adapter *padapter, padapter 874 drivers/staging/rtl8712/rtl8712_led.c struct led_priv *ledpriv = &padapter->ledpriv; padapter 876 drivers/staging/rtl8712/rtl8712_led.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 879 drivers/staging/rtl8712/rtl8712_led.c if (padapter->eeprompriv.CustomerID == RT_CID_819x_CAMEO) padapter 1091 drivers/staging/rtl8712/rtl8712_led.c static void SwLedControlMode2(struct _adapter *padapter, padapter 1094 drivers/staging/rtl8712/rtl8712_led.c struct led_priv *ledpriv = &padapter->ledpriv; padapter 1095 drivers/staging/rtl8712/rtl8712_led.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1224 drivers/staging/rtl8712/rtl8712_led.c static void SwLedControlMode3(struct _adapter *padapter, padapter 1227 drivers/staging/rtl8712/rtl8712_led.c struct led_priv *ledpriv = &padapter->ledpriv; padapter 1228 drivers/staging/rtl8712/rtl8712_led.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1368 drivers/staging/rtl8712/rtl8712_led.c static void SwLedControlMode4(struct _adapter *padapter, padapter 1371 drivers/staging/rtl8712/rtl8712_led.c struct led_priv *ledpriv = &padapter->ledpriv; padapter 1372 drivers/staging/rtl8712/rtl8712_led.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1627 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 1628 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed1); padapter 1635 drivers/staging/rtl8712/rtl8712_led.c static void SwLedControlMode5(struct _adapter *padapter, padapter 1638 drivers/staging/rtl8712/rtl8712_led.c struct led_priv *ledpriv = &padapter->ledpriv; padapter 1639 drivers/staging/rtl8712/rtl8712_led.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1642 drivers/staging/rtl8712/rtl8712_led.c if (padapter->eeprompriv.CustomerID == RT_CID_819x_CAMEO) padapter 1700 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 1707 drivers/staging/rtl8712/rtl8712_led.c static void SwLedControlMode6(struct _adapter *padapter, padapter 1710 drivers/staging/rtl8712/rtl8712_led.c struct led_priv *ledpriv = &padapter->ledpriv; padapter 1711 drivers/staging/rtl8712/rtl8712_led.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1782 drivers/staging/rtl8712/rtl8712_led.c SwLedOff(padapter, pLed); padapter 1792 drivers/staging/rtl8712/rtl8712_led.c void LedControl871x(struct _adapter *padapter, enum LED_CTL_MODE LedAction) padapter 1794 drivers/staging/rtl8712/rtl8712_led.c struct led_priv *ledpriv = &padapter->ledpriv; padapter 1802 drivers/staging/rtl8712/rtl8712_led.c SwLedControlMode1(padapter, LedAction); padapter 1805 drivers/staging/rtl8712/rtl8712_led.c SwLedControlMode2(padapter, LedAction); padapter 1808 drivers/staging/rtl8712/rtl8712_led.c SwLedControlMode3(padapter, LedAction); padapter 1811 drivers/staging/rtl8712/rtl8712_led.c SwLedControlMode4(padapter, LedAction); padapter 1814 drivers/staging/rtl8712/rtl8712_led.c SwLedControlMode5(padapter, LedAction); padapter 1817 drivers/staging/rtl8712/rtl8712_led.c SwLedControlMode6(padapter, LedAction); padapter 39 drivers/staging/rtl8712/rtl8712_recv.c struct _adapter *padapter) padapter 59 drivers/staging/rtl8712/rtl8712_recv.c if (r8712_os_recvbuf_resource_alloc(padapter, precvbuf)) padapter 62 drivers/staging/rtl8712/rtl8712_recv.c precvbuf->adapter = padapter; padapter 70 drivers/staging/rtl8712/rtl8712_recv.c (unsigned long)padapter); padapter 75 drivers/staging/rtl8712/rtl8712_recv.c pskb = netdev_alloc_skb(padapter->pnetdev, MAX_RECVBUF_SZ + padapter 91 drivers/staging/rtl8712/rtl8712_recv.c struct _adapter *padapter = precvpriv->adapter; padapter 95 drivers/staging/rtl8712/rtl8712_recv.c r8712_os_recvbuf_resource_free(padapter, precvbuf); padapter 101 drivers/staging/rtl8712/rtl8712_recv.c netdev_warn(padapter->pnetdev, "r8712u: rx_skb_queue not empty\n"); padapter 104 drivers/staging/rtl8712/rtl8712_recv.c netdev_warn(padapter->pnetdev, "r8712u: free_recv_skb_queue not empty %d\n", padapter 108 drivers/staging/rtl8712/rtl8712_recv.c void r8712_init_recvbuf(struct _adapter *padapter, struct recv_buf *precvbuf) padapter 125 drivers/staging/rtl8712/rtl8712_recv.c struct _adapter *padapter = precvframe->u.hdr.adapter; padapter 126 drivers/staging/rtl8712/rtl8712_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 135 drivers/staging/rtl8712/rtl8712_recv.c if (padapter) { padapter 240 drivers/staging/rtl8712/rtl8712_recv.c union recv_frame *r8712_recvframe_chk_defrag(struct _adapter *padapter, padapter 253 drivers/staging/rtl8712/rtl8712_recv.c pstapriv = &padapter->stapriv; padapter 255 drivers/staging/rtl8712/rtl8712_recv.c pfree_recv_queue = &padapter->recvpriv.free_recv_queue; padapter 302 drivers/staging/rtl8712/rtl8712_recv.c precv_frame = recvframe_defrag(padapter, pdefrag_q); padapter 314 drivers/staging/rtl8712/rtl8712_recv.c if (r8712_recvframe_chkmic(padapter, prtnframe) == _FAIL) { padapter 322 drivers/staging/rtl8712/rtl8712_recv.c static void amsdu_to_msdu(struct _adapter *padapter, union recv_frame *prframe) padapter 330 drivers/staging/rtl8712/rtl8712_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 347 drivers/staging/rtl8712/rtl8712_recv.c netdev_warn(padapter->pnetdev, "r8712u: nRemain_Length is %d and nSubframe_Length is: %d\n", padapter 362 drivers/staging/rtl8712/rtl8712_recv.c netdev_warn(padapter->pnetdev, "r8712u: ParseSubframe(): Too many Subframes! Packets dropped!\n"); padapter 406 drivers/staging/rtl8712/rtl8712_recv.c eth_type_trans(sub_skb, padapter->pnetdev); padapter 407 drivers/staging/rtl8712/rtl8712_recv.c sub_skb->dev = padapter->pnetdev; padapter 422 drivers/staging/rtl8712/rtl8712_recv.c void r8712_rxcmd_event_hdl(struct _adapter *padapter, void *prxcmdbuf) padapter 438 drivers/staging/rtl8712/rtl8712_recv.c r8712_event_handle(padapter, (__le32 *)poffset); padapter 501 drivers/staging/rtl8712/rtl8712_recv.c int r8712_recv_indicatepkts_in_order(struct _adapter *padapter, padapter 538 drivers/staging/rtl8712/rtl8712_recv.c if (!padapter->driver_stopped && padapter 539 drivers/staging/rtl8712/rtl8712_recv.c !padapter->surprise_removed) { padapter 541 drivers/staging/rtl8712/rtl8712_recv.c r8712_recv_indicatepkt(padapter, padapter 545 drivers/staging/rtl8712/rtl8712_recv.c amsdu_to_msdu(padapter, prframe); padapter 557 drivers/staging/rtl8712/rtl8712_recv.c static int recv_indicatepkt_reorder(struct _adapter *padapter, padapter 570 drivers/staging/rtl8712/rtl8712_recv.c if (!padapter->driver_stopped && padapter 571 drivers/staging/rtl8712/rtl8712_recv.c !padapter->surprise_removed) { padapter 572 drivers/staging/rtl8712/rtl8712_recv.c r8712_recv_indicatepkt(padapter, prframe); padapter 597 drivers/staging/rtl8712/rtl8712_recv.c if (r8712_recv_indicatepkts_in_order(padapter, preorder_ctrl, false)) { padapter 615 drivers/staging/rtl8712/rtl8712_recv.c struct _adapter *padapter = preorder_ctrl->padapter; padapter 619 drivers/staging/rtl8712/rtl8712_recv.c if (padapter->driver_stopped || padapter->surprise_removed) padapter 622 drivers/staging/rtl8712/rtl8712_recv.c r8712_recv_indicatepkts_in_order(padapter, preorder_ctrl, true); padapter 626 drivers/staging/rtl8712/rtl8712_recv.c static int r8712_process_recv_indicatepkts(struct _adapter *padapter, padapter 630 drivers/staging/rtl8712/rtl8712_recv.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 634 drivers/staging/rtl8712/rtl8712_recv.c if (recv_indicatepkt_reorder(padapter, prframe)) { padapter 636 drivers/staging/rtl8712/rtl8712_recv.c if (!padapter->driver_stopped && padapter 637 drivers/staging/rtl8712/rtl8712_recv.c !padapter->surprise_removed) padapter 644 drivers/staging/rtl8712/rtl8712_recv.c if (!padapter->driver_stopped && !padapter->surprise_removed) { padapter 646 drivers/staging/rtl8712/rtl8712_recv.c r8712_recv_indicatepkt(padapter, prframe); padapter 706 drivers/staging/rtl8712/rtl8712_recv.c static s32 translate2dbm(struct _adapter *padapter, u8 signal_strength_idx) padapter 715 drivers/staging/rtl8712/rtl8712_recv.c static void query_rx_phy_status(struct _adapter *padapter, padapter 823 drivers/staging/rtl8712/rtl8712_recv.c for (i = 0; i < ((padapter->registrypriv.rf_config) & padapter 875 drivers/staging/rtl8712/rtl8712_recv.c static void process_link_qual(struct _adapter *padapter, padapter 880 drivers/staging/rtl8712/rtl8712_recv.c struct smooth_rssi_data *sqd = &padapter->recvpriv.signal_qual_data; padapter 882 drivers/staging/rtl8712/rtl8712_recv.c if (!prframe || !padapter) padapter 901 drivers/staging/rtl8712/rtl8712_recv.c padapter->recvpriv.signal = (u8)tmpVal; padapter 905 drivers/staging/rtl8712/rtl8712_recv.c static void process_rssi(struct _adapter *padapter, union recv_frame *prframe) padapter 909 drivers/staging/rtl8712/rtl8712_recv.c struct smooth_rssi_data *ssd = &padapter->recvpriv.signal_strength_data; padapter 921 drivers/staging/rtl8712/rtl8712_recv.c padapter->recvpriv.rssi = (s8)translate2dbm(padapter, (u8)tmp_val); padapter 924 drivers/staging/rtl8712/rtl8712_recv.c static void process_phy_info(struct _adapter *padapter, padapter 927 drivers/staging/rtl8712/rtl8712_recv.c query_rx_phy_status(padapter, prframe); padapter 928 drivers/staging/rtl8712/rtl8712_recv.c process_rssi(padapter, prframe); padapter 929 drivers/staging/rtl8712/rtl8712_recv.c process_link_qual(padapter, prframe); padapter 932 drivers/staging/rtl8712/rtl8712_recv.c int recv_func(struct _adapter *padapter, void *pcontext) padapter 937 drivers/staging/rtl8712/rtl8712_recv.c struct __queue *pfree_recv_queue = &padapter->recvpriv.free_recv_queue; padapter 938 drivers/staging/rtl8712/rtl8712_recv.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 945 drivers/staging/rtl8712/rtl8712_recv.c padapter->mppriv.rx_crcerrpktcount++; padapter 947 drivers/staging/rtl8712/rtl8712_recv.c padapter->mppriv.rx_pktcount++; padapter 955 drivers/staging/rtl8712/rtl8712_recv.c retval = r8712_validate_recv_frame(padapter, prframe); padapter 961 drivers/staging/rtl8712/rtl8712_recv.c process_phy_info(padapter, prframe); padapter 962 drivers/staging/rtl8712/rtl8712_recv.c prframe = r8712_decryptor(padapter, prframe); padapter 967 drivers/staging/rtl8712/rtl8712_recv.c prframe = r8712_recvframe_chk_defrag(padapter, prframe); padapter 970 drivers/staging/rtl8712/rtl8712_recv.c prframe = r8712_portctrl(padapter, prframe); padapter 975 drivers/staging/rtl8712/rtl8712_recv.c retval = r8712_process_recv_indicatepkts(padapter, prframe); padapter 984 drivers/staging/rtl8712/rtl8712_recv.c static void recvbuf2recvframe(struct _adapter *padapter, struct sk_buff *pskb) padapter 995 drivers/staging/rtl8712/rtl8712_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 1048 drivers/staging/rtl8712/rtl8712_recv.c pkt_copy = netdev_alloc_skb(padapter->pnetdev, alloc_sz); padapter 1086 drivers/staging/rtl8712/rtl8712_recv.c struct _adapter *padapter = priv; padapter 1087 drivers/staging/rtl8712/rtl8712_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 1090 drivers/staging/rtl8712/rtl8712_recv.c recvbuf2recvframe(padapter, pskb); padapter 139 drivers/staging/rtl8712/rtl8712_recv.h void r8712_init_recvbuf(struct _adapter *padapter, struct recv_buf *precvbuf); padapter 140 drivers/staging/rtl8712/rtl8712_recv.h void r8712_rxcmd_event_hdl(struct _adapter *padapter, void *prxcmdbuf); padapter 25 drivers/staging/rtl8712/rtl8712_xmit.c static void dump_xframe(struct _adapter *padapter, padapter 52 drivers/staging/rtl8712/rtl8712_xmit.c int r8712_txframes_sta_ac_pending(struct _adapter *padapter, padapter 86 drivers/staging/rtl8712/rtl8712_xmit.c struct _adapter *padapter = pxmitframe->padapter; padapter 87 drivers/staging/rtl8712/rtl8712_xmit.c struct dvobj_priv *pdvobj = &padapter->dvobjpriv; padapter 224 drivers/staging/rtl8712/rtl8712_xmit.c void r8712_do_queue_select(struct _adapter *padapter, padapter 228 drivers/staging/rtl8712/rtl8712_xmit.c struct dvobj_priv *pdvobj = &padapter->dvobjpriv; padapter 269 drivers/staging/rtl8712/rtl8712_xmit.c struct _adapter *padapter = pxmitframe->padapter; padapter 270 drivers/staging/rtl8712/rtl8712_xmit.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 284 drivers/staging/rtl8712/rtl8712_xmit.c struct _adapter *padapter = pxmitframe->padapter; padapter 290 drivers/staging/rtl8712/rtl8712_xmit.c r8712_xmitframe_coalesce(padapter, pxmitframe->pkt, pxmitframe); padapter 292 drivers/staging/rtl8712/rtl8712_xmit.c r8712_xmit_complete(padapter, pxmitframe); padapter 296 drivers/staging/rtl8712/rtl8712_xmit.c r8712_issue_addbareq_cmd(padapter, padapter 347 drivers/staging/rtl8712/rtl8712_xmit.c r8712_free_xmitframe_ex(&pxmitframe->padapter->xmitpriv, padapter 358 drivers/staging/rtl8712/rtl8712_xmit.c struct _adapter *padapter = pxmitframe->padapter; padapter 359 drivers/staging/rtl8712/rtl8712_xmit.c struct dvobj_priv *pdvobj = &padapter->dvobjpriv; padapter 391 drivers/staging/rtl8712/rtl8712_xmit.c r8712_write_port(pxmitframe->padapter, RTL8712_DMA_H2CCMD, padapter 400 drivers/staging/rtl8712/rtl8712_xmit.c struct _adapter *padapter = pxmitframe->padapter; padapter 401 drivers/staging/rtl8712/rtl8712_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 403 drivers/staging/rtl8712/rtl8712_xmit.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 406 drivers/staging/rtl8712/rtl8712_xmit.c struct dvobj_priv *pdvobj = &padapter->dvobjpriv; padapter 408 drivers/staging/rtl8712/rtl8712_xmit.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 595 drivers/staging/rtl8712/rtl8712_xmit.c int r8712_xmitframe_complete(struct _adapter *padapter, padapter 666 drivers/staging/rtl8712/rtl8712_xmit.c res = r8712_xmitframe_coalesce(padapter, padapter 671 drivers/staging/rtl8712/rtl8712_xmit.c r8712_xmit_complete(padapter, pxmitframe); padapter 674 drivers/staging/rtl8712/rtl8712_xmit.c dump_xframe(padapter, pxmitframe); padapter 687 drivers/staging/rtl8712/rtl8712_xmit.c static void dump_xframe(struct _adapter *padapter, padapter 694 drivers/staging/rtl8712/rtl8712_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 695 drivers/staging/rtl8712/rtl8712_xmit.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 699 drivers/staging/rtl8712/rtl8712_xmit.c r8712_issue_addbareq_cmd(padapter, pattrib->priority); padapter 718 drivers/staging/rtl8712/rtl8712_xmit.c r8712_write_port(padapter, RTL8712_DMA_H2CCMD, w_sz, padapter 721 drivers/staging/rtl8712/rtl8712_xmit.c r8712_write_port(padapter, ff_hwaddr, w_sz, padapter 729 drivers/staging/rtl8712/rtl8712_xmit.c void r8712_xmit_direct(struct _adapter *padapter, struct xmit_frame *pxmitframe) padapter 733 drivers/staging/rtl8712/rtl8712_xmit.c res = r8712_xmitframe_coalesce(padapter, pxmitframe->pkt, pxmitframe); padapter 736 drivers/staging/rtl8712/rtl8712_xmit.c dump_xframe(padapter, pxmitframe); padapter 739 drivers/staging/rtl8712/rtl8712_xmit.c int r8712_xmit_enqueue(struct _adapter *padapter, struct xmit_frame *pxmitframe) padapter 741 drivers/staging/rtl8712/rtl8712_xmit.c if (r8712_xmit_classifier(padapter, pxmitframe)) { padapter 98 drivers/staging/rtl8712/rtl8712_xmit.h int r8712_xmitframe_complete(struct _adapter *padapter, padapter 101 drivers/staging/rtl8712/rtl8712_xmit.h void r8712_do_queue_select(struct _adapter *padapter, padapter 118 drivers/staging/rtl8712/rtl871x_cmd.c if (pcmdpriv->padapter->eeprompriv.bautoload_fail_flag) padapter 150 drivers/staging/rtl8712/rtl871x_cmd.c if (pcmdpriv->padapter->eeprompriv.bautoload_fail_flag) padapter 177 drivers/staging/rtl8712/rtl871x_cmd.c u8 r8712_sitesurvey_cmd(struct _adapter *padapter, padapter 182 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 183 drivers/staging/rtl8712/rtl871x_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 207 drivers/staging/rtl8712/rtl871x_cmd.c padapter->ledpriv.LedControlHandler(padapter, LED_CTL_SITE_SURVEY); padapter 208 drivers/staging/rtl8712/rtl871x_cmd.c padapter->blnEnableRxFF0Filter = 0; padapter 212 drivers/staging/rtl8712/rtl871x_cmd.c int r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset) padapter 216 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 234 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_set_chplan_cmd(struct _adapter *padapter, int chplan) padapter 238 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 254 drivers/staging/rtl8712/rtl871x_cmd.c int r8712_setrfreg_cmd(struct _adapter *padapter, u8 offset, u32 val) padapter 258 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 275 drivers/staging/rtl8712/rtl871x_cmd.c int r8712_getrfreg_cmd(struct _adapter *padapter, u8 offset, u8 *pval) padapter 279 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 300 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_getbbrfreg_cmdrsp_callback(struct _adapter *padapter, padapter 305 drivers/staging/rtl8712/rtl871x_cmd.c padapter->mppriv.workparam.bcompleted = true; padapter 308 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_readtssi_cmdrsp_callback(struct _adapter *padapter, padapter 314 drivers/staging/rtl8712/rtl871x_cmd.c padapter->mppriv.workparam.bcompleted = true; padapter 317 drivers/staging/rtl8712/rtl871x_cmd.c int r8712_createbss_cmd(struct _adapter *padapter) padapter 320 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 322 drivers/staging/rtl8712/rtl871x_cmd.c &padapter->registrypriv.dev_network; padapter 324 drivers/staging/rtl8712/rtl871x_cmd.c padapter->ledpriv.LedControlHandler(padapter, LED_CTL_START_TO_LINK); padapter 342 drivers/staging/rtl8712/rtl871x_cmd.c int r8712_joinbss_cmd(struct _adapter *padapter, struct wlan_network *pnetwork) padapter 346 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 347 drivers/staging/rtl8712/rtl871x_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 349 drivers/staging/rtl8712/rtl871x_cmd.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 350 drivers/staging/rtl8712/rtl871x_cmd.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 354 drivers/staging/rtl8712/rtl871x_cmd.c padapter->ledpriv.LedControlHandler(padapter, LED_CTL_START_TO_LINK); padapter 394 drivers/staging/rtl8712/rtl871x_cmd.c psecnetwork->IELength = r8712_restruct_sec_ie(padapter, padapter 402 drivers/staging/rtl8712/rtl871x_cmd.c tmp_len = r8712_restruct_wmm_ie(padapter, padapter 420 drivers/staging/rtl8712/rtl871x_cmd.c if ((padapter->securitypriv.PrivacyAlgrthm != _WEP40_) && padapter 421 drivers/staging/rtl8712/rtl871x_cmd.c (padapter->securitypriv.PrivacyAlgrthm != _WEP104_)) { padapter 423 drivers/staging/rtl8712/rtl871x_cmd.c r8712_restructure_ht_ie(padapter, padapter 477 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_disassoc_cmd(struct _adapter *padapter) /* for sta_mode */ padapter 481 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 496 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_setopmode_cmd(struct _adapter *padapter, padapter 502 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 517 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_setstakey_cmd(struct _adapter *padapter, u8 *psta, u8 unicast_key) padapter 521 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 523 drivers/staging/rtl8712/rtl871x_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 524 drivers/staging/rtl8712/rtl871x_cmd.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 560 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_setMacAddr_cmd(struct _adapter *padapter, u8 *mac_addr) padapter 562 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 580 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_addbareq_cmd(struct _adapter *padapter, u8 tid) padapter 582 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 600 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_wdg_wk_cmd(struct _adapter *padapter) padapter 604 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 621 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_survey_cmd_callback(struct _adapter *padapter, struct cmd_obj *pcmd) padapter 623 drivers/staging/rtl8712/rtl871x_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 630 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_disassoc_cmd_callback(struct _adapter *padapter, padapter 634 drivers/staging/rtl8712/rtl871x_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 645 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_joinbss_cmd_callback(struct _adapter *padapter, struct cmd_obj *pcmd) padapter 647 drivers/staging/rtl8712/rtl871x_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 655 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_createbss_cmd_callback(struct _adapter *padapter, padapter 661 drivers/staging/rtl8712/rtl871x_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 696 drivers/staging/rtl8712/rtl871x_cmd.c psta = r8712_get_stainfo(&padapter->stapriv, padapter 699 drivers/staging/rtl8712/rtl871x_cmd.c psta = r8712_alloc_stainfo(&padapter->stapriv, padapter 704 drivers/staging/rtl8712/rtl871x_cmd.c r8712_indicate_connect(padapter); padapter 734 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_setstaKey_cmdrsp_callback(struct _adapter *padapter, padapter 737 drivers/staging/rtl8712/rtl871x_cmd.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 750 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_setassocsta_cmdrsp_callback(struct _adapter *padapter, padapter 754 drivers/staging/rtl8712/rtl871x_cmd.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 755 drivers/staging/rtl8712/rtl871x_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 52 drivers/staging/rtl8712/rtl871x_cmd.h struct _adapter *padapter; padapter 711 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_setMacAddr_cmd(struct _adapter *padapter, u8 *mac_addr); padapter 712 drivers/staging/rtl8712/rtl871x_cmd.h u8 r8712_sitesurvey_cmd(struct _adapter *padapter, padapter 714 drivers/staging/rtl8712/rtl871x_cmd.h int r8712_createbss_cmd(struct _adapter *padapter); padapter 715 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_setstakey_cmd(struct _adapter *padapter, u8 *psta, u8 unicast_key); padapter 716 drivers/staging/rtl8712/rtl871x_cmd.h int r8712_joinbss_cmd(struct _adapter *padapter, padapter 718 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_disassoc_cmd(struct _adapter *padapter); padapter 719 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_setopmode_cmd(struct _adapter *padapter, padapter 721 drivers/staging/rtl8712/rtl871x_cmd.h int r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset); padapter 722 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_set_chplan_cmd(struct _adapter *padapter, int chplan); padapter 723 drivers/staging/rtl8712/rtl871x_cmd.h int r8712_getrfreg_cmd(struct _adapter *padapter, u8 offset, u8 *pval); padapter 724 drivers/staging/rtl8712/rtl871x_cmd.h int r8712_setrfreg_cmd(struct _adapter *padapter, u8 offset, u32 val); padapter 725 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_addbareq_cmd(struct _adapter *padapter, u8 tid); padapter 726 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_wdg_wk_cmd(struct _adapter *padapter); padapter 727 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_survey_cmd_callback(struct _adapter *padapter, padapter 729 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_disassoc_cmd_callback(struct _adapter *padapter, padapter 731 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_joinbss_cmd_callback(struct _adapter *padapter, padapter 733 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_createbss_cmd_callback(struct _adapter *padapter, padapter 735 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_getbbrfreg_cmdrsp_callback(struct _adapter *padapter, padapter 737 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_readtssi_cmdrsp_callback(struct _adapter *padapter, padapter 739 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_setstaKey_cmdrsp_callback(struct _adapter *padapter, padapter 741 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_setassocsta_cmdrsp_callback(struct _adapter *padapter, padapter 748 drivers/staging/rtl8712/rtl871x_cmd.h void (*callback)(struct _adapter *padapter, struct cmd_obj *cmd); padapter 22 drivers/staging/rtl8712/rtl871x_eeprom.c static void up_clk(struct _adapter *padapter, u16 *x) padapter 25 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, (u8)*x); padapter 29 drivers/staging/rtl8712/rtl871x_eeprom.c static void down_clk(struct _adapter *padapter, u16 *x) padapter 32 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, (u8)*x); padapter 36 drivers/staging/rtl8712/rtl871x_eeprom.c static void shift_out_bits(struct _adapter *padapter, u16 data, u16 count) padapter 40 drivers/staging/rtl8712/rtl871x_eeprom.c if (padapter->surprise_removed) padapter 43 drivers/staging/rtl8712/rtl871x_eeprom.c x = r8712_read8(padapter, EE_9346CR); padapter 49 drivers/staging/rtl8712/rtl871x_eeprom.c if (padapter->surprise_removed) padapter 51 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, (u8)x); padapter 53 drivers/staging/rtl8712/rtl871x_eeprom.c up_clk(padapter, &x); padapter 54 drivers/staging/rtl8712/rtl871x_eeprom.c down_clk(padapter, &x); padapter 57 drivers/staging/rtl8712/rtl871x_eeprom.c if (padapter->surprise_removed) padapter 60 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, (u8)x); padapter 64 drivers/staging/rtl8712/rtl871x_eeprom.c static u16 shift_in_bits(struct _adapter *padapter) padapter 68 drivers/staging/rtl8712/rtl871x_eeprom.c if (padapter->surprise_removed) padapter 70 drivers/staging/rtl8712/rtl871x_eeprom.c x = r8712_read8(padapter, EE_9346CR); padapter 75 drivers/staging/rtl8712/rtl871x_eeprom.c up_clk(padapter, &x); padapter 76 drivers/staging/rtl8712/rtl871x_eeprom.c if (padapter->surprise_removed) padapter 78 drivers/staging/rtl8712/rtl871x_eeprom.c x = r8712_read8(padapter, EE_9346CR); padapter 82 drivers/staging/rtl8712/rtl871x_eeprom.c down_clk(padapter, &x); padapter 88 drivers/staging/rtl8712/rtl871x_eeprom.c static void standby(struct _adapter *padapter) padapter 92 drivers/staging/rtl8712/rtl871x_eeprom.c x = r8712_read8(padapter, EE_9346CR); padapter 94 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, x); padapter 97 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, x); padapter 101 drivers/staging/rtl8712/rtl871x_eeprom.c static u16 wait_eeprom_cmd_done(struct _adapter *padapter) padapter 106 drivers/staging/rtl8712/rtl871x_eeprom.c standby(padapter); padapter 108 drivers/staging/rtl8712/rtl871x_eeprom.c x = r8712_read8(padapter, EE_9346CR); padapter 116 drivers/staging/rtl8712/rtl871x_eeprom.c static void eeprom_clean(struct _adapter *padapter) padapter 120 drivers/staging/rtl8712/rtl871x_eeprom.c if (padapter->surprise_removed) padapter 122 drivers/staging/rtl8712/rtl871x_eeprom.c x = r8712_read8(padapter, EE_9346CR); padapter 123 drivers/staging/rtl8712/rtl871x_eeprom.c if (padapter->surprise_removed) padapter 126 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, (u8)x); padapter 127 drivers/staging/rtl8712/rtl871x_eeprom.c if (padapter->surprise_removed) padapter 129 drivers/staging/rtl8712/rtl871x_eeprom.c up_clk(padapter, &x); padapter 130 drivers/staging/rtl8712/rtl871x_eeprom.c if (padapter->surprise_removed) padapter 132 drivers/staging/rtl8712/rtl871x_eeprom.c down_clk(padapter, &x); padapter 135 drivers/staging/rtl8712/rtl871x_eeprom.c void r8712_eeprom_write16(struct _adapter *padapter, u16 reg, u16 data) padapter 140 drivers/staging/rtl8712/rtl871x_eeprom.c tmp8_ori = r8712_read8(padapter, 0x102502f1); padapter 143 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x102502f1, tmp8_new); padapter 144 drivers/staging/rtl8712/rtl871x_eeprom.c tmp8_clk_ori = r8712_read8(padapter, 0x10250003); padapter 147 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x10250003, tmp8_clk_new); padapter 148 drivers/staging/rtl8712/rtl871x_eeprom.c x = r8712_read8(padapter, EE_9346CR); padapter 151 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, x); padapter 152 drivers/staging/rtl8712/rtl871x_eeprom.c shift_out_bits(padapter, EEPROM_EWEN_OPCODE, 5); padapter 153 drivers/staging/rtl8712/rtl871x_eeprom.c if (padapter->eeprom_address_size == 8) /*CF+ and SDIO*/ padapter 154 drivers/staging/rtl8712/rtl871x_eeprom.c shift_out_bits(padapter, 0, 6); padapter 156 drivers/staging/rtl8712/rtl871x_eeprom.c shift_out_bits(padapter, 0, 4); padapter 157 drivers/staging/rtl8712/rtl871x_eeprom.c standby(padapter); padapter 162 drivers/staging/rtl8712/rtl871x_eeprom.c standby(padapter); padapter 166 drivers/staging/rtl8712/rtl871x_eeprom.c shift_out_bits(padapter, EEPROM_WRITE_OPCODE, 3); padapter 168 drivers/staging/rtl8712/rtl871x_eeprom.c shift_out_bits(padapter, reg, padapter->eeprom_address_size); padapter 170 drivers/staging/rtl8712/rtl871x_eeprom.c shift_out_bits(padapter, data, 16); padapter 171 drivers/staging/rtl8712/rtl871x_eeprom.c if (wait_eeprom_cmd_done(padapter)) { padapter 172 drivers/staging/rtl8712/rtl871x_eeprom.c standby(padapter); padapter 173 drivers/staging/rtl8712/rtl871x_eeprom.c shift_out_bits(padapter, EEPROM_EWDS_OPCODE, 5); padapter 174 drivers/staging/rtl8712/rtl871x_eeprom.c shift_out_bits(padapter, reg, 4); padapter 175 drivers/staging/rtl8712/rtl871x_eeprom.c eeprom_clean(padapter); padapter 178 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x10250003, tmp8_clk_ori); padapter 180 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x102502f1, tmp8_ori); padapter 183 drivers/staging/rtl8712/rtl871x_eeprom.c u16 r8712_eeprom_read16(struct _adapter *padapter, u16 reg) /*ReadEEprom*/ padapter 189 drivers/staging/rtl8712/rtl871x_eeprom.c tmp8_ori = r8712_read8(padapter, 0x102502f1); padapter 192 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x102502f1, tmp8_new); padapter 193 drivers/staging/rtl8712/rtl871x_eeprom.c tmp8_clk_ori = r8712_read8(padapter, 0x10250003); padapter 196 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x10250003, tmp8_clk_new); padapter 197 drivers/staging/rtl8712/rtl871x_eeprom.c if (padapter->surprise_removed) padapter 200 drivers/staging/rtl8712/rtl871x_eeprom.c x = r8712_read8(padapter, EE_9346CR); padapter 201 drivers/staging/rtl8712/rtl871x_eeprom.c if (padapter->surprise_removed) padapter 205 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, (unsigned char)x); padapter 209 drivers/staging/rtl8712/rtl871x_eeprom.c shift_out_bits(padapter, EEPROM_READ_OPCODE, 3); padapter 210 drivers/staging/rtl8712/rtl871x_eeprom.c shift_out_bits(padapter, reg, padapter->eeprom_address_size); padapter 212 drivers/staging/rtl8712/rtl871x_eeprom.c data = shift_in_bits(padapter); padapter 213 drivers/staging/rtl8712/rtl871x_eeprom.c eeprom_clean(padapter); padapter 216 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x10250003, tmp8_clk_ori); padapter 218 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x102502f1, tmp8_ori); padapter 84 drivers/staging/rtl8712/rtl871x_eeprom.h void r8712_eeprom_write16(struct _adapter *padapter, u16 reg, u16 data); padapter 85 drivers/staging/rtl8712/rtl871x_eeprom.h u16 r8712_eeprom_read16(struct _adapter *padapter, u16 reg); padapter 38 drivers/staging/rtl8712/rtl871x_io.c static uint _init_intf_hdl(struct _adapter *padapter, padapter 55 drivers/staging/rtl8712/rtl871x_io.c pintf_hdl->adapter = (u8 *)padapter; padapter 59 drivers/staging/rtl8712/rtl871x_io.c pintf_priv->intf_dev = (u8 *)&padapter->dvobjpriv; padapter 108 drivers/staging/rtl8712/rtl871x_io.h void (*_async_io_callback)(struct _adapter *padapter, padapter 58 drivers/staging/rtl8712/rtl871x_ioctl_linux.c void r8712_indicate_wx_assoc_event(struct _adapter *padapter) padapter 61 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 66 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); padapter 69 drivers/staging/rtl8712/rtl871x_ioctl_linux.c void r8712_indicate_wx_disassoc_event(struct _adapter *padapter) padapter 75 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); padapter 80 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter) padapter 90 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv. busetkipkey = false; padapter 91 drivers/staging/rtl8712/rtl871x_ioctl_linux.c mod_timer(&padapter->securitypriv.tkip_timer, padapter 94 drivers/staging/rtl8712/rtl871x_ioctl_linux.c r8712_setstakey_cmd(padapter, (unsigned char *)psta, true); padapter 98 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter) padapter 100 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union Keytype *gk = padapter->securitypriv.XGrpKey; padapter 101 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union Keytype *gtk = padapter->securitypriv.XGrptxmickey; padapter 102 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union Keytype *grk = padapter->securitypriv.XGrprxmickey; padapter 115 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.binstallGrpkey = true; padapter 116 drivers/staging/rtl8712/rtl871x_ioctl_linux.c r8712_set_key(padapter, &padapter->securitypriv, padapter 118 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (padapter->registrypriv.power_mgnt > PS_MODE_ACTIVE) { padapter 119 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (padapter->registrypriv.power_mgnt != padapter 120 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->pwrctrlpriv.pwr_mode) padapter 121 drivers/staging/rtl8712/rtl871x_ioctl_linux.c mod_timer(&padapter->mlmepriv.dhcp_timer, padapter 208 drivers/staging/rtl8712/rtl871x_ioctl_linux.c static char *translate_scan(struct _adapter *padapter, padapter 345 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 349 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 351 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisauthtype = padapter 353 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.AuthAlgrthm = 3; padapter 355 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 357 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeShared; padapter 358 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.AuthAlgrthm = 1; padapter 360 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (padapter->securitypriv.ndisauthtype < padapter 362 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisauthtype = padapter 364 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.AuthAlgrthm = 0; padapter 378 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 379 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 380 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 396 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 398 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = _WEP40_; padapter 399 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.XGrpPrivacy = _WEP40_; padapter 415 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = _WEP104_; padapter 416 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.XGrpPrivacy = _WEP104_; padapter 422 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (r8712_set_802_11_add_wep(padapter, pwep)) padapter 438 drivers/staging/rtl8712/rtl871x_ioctl_linux.c r8712_set_key(padapter, psecuritypriv, wep_key_idx); padapter 442 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (padapter->securitypriv.AuthAlgrthm == 2) { /* 802_1x */ padapter 444 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 445 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct security_priv *spriv = &padapter->securitypriv; padapter 460 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter); padapter 462 drivers/staging/rtl8712/rtl871x_ioctl_linux.c handle_group_key(param, padapter); padapter 464 drivers/staging/rtl8712/rtl871x_ioctl_linux.c pbcmc_sta = r8712_get_bcmc_stainfo(padapter); padapter 481 drivers/staging/rtl8712/rtl871x_ioctl_linux.c static int r871x_set_wpa_ie(struct _adapter *padapter, char *pie, padapter 500 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.AuthAlgrthm = 2; padapter 501 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisauthtype = padapter 506 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.AuthAlgrthm = 2; padapter 507 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisauthtype = padapter 512 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.XGrpPrivacy = padapter 514 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 518 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.XGrpPrivacy = _WEP40_; padapter 519 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 523 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.XGrpPrivacy = _TKIP_; padapter 524 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 528 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.XGrpPrivacy = _AES_; padapter 529 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 533 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.XGrpPrivacy = _WEP104_; padapter 534 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 540 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = padapter 542 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 546 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = _WEP40_; padapter 547 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 551 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = _TKIP_; padapter 552 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 556 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = _AES_; padapter 557 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 561 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = _WEP104_; padapter 562 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 566 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.wps_phase = false; padapter 576 drivers/staging/rtl8712/rtl871x_ioctl_linux.c netdev_info(padapter->pnetdev, "r8712u: SET WPS_IE\n"); padapter 577 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.wps_ie_len = padapter 582 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memcpy(padapter->securitypriv.wps_ie, padapter 584 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.wps_ie_len); padapter 585 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.wps_phase = padapter 587 drivers/staging/rtl8712/rtl871x_ioctl_linux.c netdev_info(padapter->pnetdev, "r8712u: SET WPS_IE, wps_phase==true\n"); padapter 605 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 609 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 662 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 688 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->registrypriv.channel = channel; padapter 698 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 699 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 717 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 737 drivers/staging/rtl8712/rtl871x_ioctl_linux.c r8712_setopmode_cmd(padapter, networkType); padapter 739 drivers/staging/rtl8712/rtl871x_ioctl_linux.c r8712_setopmode_cmd(padapter, Ndis802_11AutoUnknown); padapter 741 drivers/staging/rtl8712/rtl871x_ioctl_linux.c r8712_set_802_11_infrastructure_mode(padapter, networkType); padapter 748 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 749 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 767 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 768 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 927 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 939 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 946 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ((padapter->recvpriv.fw_rssi) >> 1) - 95 padapter 972 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 979 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 986 drivers/staging/rtl8712/rtl871x_ioctl_linux.c r8712_disconnectCtrlEx_cmd(padapter padapter 996 drivers/staging/rtl8712/rtl871x_ioctl_linux.c r8712_disconnectCtrlEx_cmd(padapter padapter 1036 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1037 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1052 drivers/staging/rtl8712/rtl871x_ioctl_linux.c authmode = padapter->securitypriv.ndisauthtype; padapter 1064 drivers/staging/rtl8712/rtl871x_ioctl_linux.c r8712_set_802_11_infrastructure_mode(padapter, padapter 1071 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (!r8712_set_802_11_authentication_mode(padapter, authmode)) { padapter 1074 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (!r8712_set_802_11_bssid(padapter, temp->sa_data)) padapter 1085 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1086 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1103 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1110 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (!r8712_set_802_11_disassociate(padapter)) padapter 1114 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (!r8712_set_802_11_disassociate(padapter)) padapter 1135 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1136 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1139 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (padapter->driver_stopped) { padapter 1141 drivers/staging/rtl8712/rtl871x_ioctl_linux.c __func__, padapter->driver_stopped); padapter 1144 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (!padapter->bup) padapter 1146 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (!padapter->hw_init_completed) padapter 1170 drivers/staging/rtl8712/rtl871x_ioctl_linux.c status = r8712_sitesurvey_cmd(padapter, &ssid); padapter 1175 drivers/staging/rtl8712/rtl871x_ioctl_linux.c status = r8712_set_802_11_bssid_list_scan(padapter); padapter 1186 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1187 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1196 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (padapter->driver_stopped) padapter 1216 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ev = translate_scan(padapter, a, pnetwork, ev, stop); padapter 1241 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1242 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1257 drivers/staging/rtl8712/rtl871x_ioctl_linux.c authmode = padapter->securitypriv.ndisauthtype; padapter 1282 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->mlmepriv. padapter 1289 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter, padapter 1294 drivers/staging/rtl8712/rtl871x_ioctl_linux.c r8712_set_802_11_authentication_mode(padapter, authmode); padapter 1295 drivers/staging/rtl8712/rtl871x_ioctl_linux.c r8712_set_802_11_ssid(padapter, &ndis_ssid); padapter 1304 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1305 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1324 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1388 drivers/staging/rtl8712/rtl871x_ioctl_linux.c return r8712_setdatarate_cmd(padapter, datarates); padapter 1395 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1396 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1399 drivers/staging/rtl8712/rtl871x_ioctl_linux.c unsigned char rf_type = padapter->registrypriv.rf_config; padapter 1450 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1452 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->rts.value = padapter->registrypriv.rts_thresh; padapter 1461 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1464 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->xmitpriv.frag_len = MAX_FRAG_THRESHOLD; padapter 1469 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->xmitpriv.frag_len = wrqu->frag.value & ~0x1; padapter 1478 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1480 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->frag.value = padapter->xmitpriv.frag_len; padapter 1504 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1510 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 1512 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = _NO_PRIVACY_; padapter 1513 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.XGrpPrivacy = _NO_PRIVACY_; padapter 1514 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.AuthAlgrthm = 0; /* open system */ padapter 1516 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisauthtype = authmode; padapter 1526 drivers/staging/rtl8712/rtl871x_ioctl_linux.c key = padapter->securitypriv.PrivacyKeyIndex; padapter 1531 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 1533 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.AuthAlgrthm = 0; /* open system */ padapter 1534 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = _NO_PRIVACY_; padapter 1535 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.XGrpPrivacy = _NO_PRIVACY_; padapter 1537 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisauthtype = authmode; padapter 1541 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 1543 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.AuthAlgrthm = 1; /* shared system */ padapter 1544 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = _WEP40_; padapter 1545 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.XGrpPrivacy = _WEP40_; padapter 1547 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisauthtype = authmode; padapter 1549 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 1551 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.AuthAlgrthm = 0; /* open system */ padapter 1552 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = _NO_PRIVACY_; padapter 1553 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.XGrpPrivacy = _NO_PRIVACY_; padapter 1555 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisauthtype = authmode; padapter 1567 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyKeyIndex = key; padapter 1568 drivers/staging/rtl8712/rtl871x_ioctl_linux.c switch (padapter->securitypriv.DefKeylen[key]) { padapter 1570 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = padapter 1574 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = padapter 1578 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = padapter 1587 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (r8712_set_802_11_add_wep(padapter, &wep)) padapter 1597 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1599 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1600 drivers/staging/rtl8712/rtl871x_ioctl_linux.c union Keytype *dk = padapter->securitypriv.DefKey; padapter 1615 drivers/staging/rtl8712/rtl871x_ioctl_linux.c key = padapter->securitypriv.PrivacyKeyIndex; padapter 1618 drivers/staging/rtl8712/rtl871x_ioctl_linux.c switch (padapter->securitypriv.ndisencryptstatus) { padapter 1625 drivers/staging/rtl8712/rtl871x_ioctl_linux.c erq->length = padapter->securitypriv.DefKeylen[key]; padapter 1628 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.DefKeylen[key]); padapter 1630 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (padapter->securitypriv.ndisauthtype == padapter 1633 drivers/staging/rtl8712/rtl871x_ioctl_linux.c else if (padapter->securitypriv.ndisauthtype == padapter 1669 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1671 drivers/staging/rtl8712/rtl871x_ioctl_linux.c return r871x_set_wpa_ie(padapter, extra, wrqu->data.length); padapter 1678 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1701 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.btkip_countermeasure = true; padapter 1704 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.btkip_countermeasure = false; padapter 1719 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (padapter->securitypriv.ndisencryptstatus == padapter 1730 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 1732 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.PrivacyAlgrthm = padapter 1734 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.XGrpPrivacy = padapter 1736 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.AuthAlgrthm = 0; padapter 1737 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisauthtype = padapter 1824 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1829 drivers/staging/rtl8712/rtl871x_ioctl_linux.c data32 = r8712_read32(padapter, addr); padapter 1841 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1847 drivers/staging/rtl8712/rtl871x_ioctl_linux.c r8712_write32(padapter, addr, data32); padapter 1869 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1903 drivers/staging/rtl8712/rtl871x_ioctl_linux.c oid_par.adapter_context = padapter; padapter 1945 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 1946 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1957 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (padapter->driver_stopped || (pdata == NULL)) padapter 2018 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 2021 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if ((padapter->driver_stopped) || (pdata == NULL)) padapter 2023 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (copy_from_user(&padapter->pid, pdata->pointer, sizeof(int))) padapter 2033 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 2037 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if ((padapter->driver_stopped) || (pdata == NULL)) { padapter 2042 drivers/staging/rtl8712/rtl871x_ioctl_linux.c r8712_set_chplan_cmd(padapter, ch_plan); padapter 2053 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 2057 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if ((padapter->driver_stopped) || (pdata == NULL)) padapter 2064 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->ledpriv.LedControlHandler(padapter, padapter 2067 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->ledpriv.LedControlHandler(padapter, padapter 2070 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->ledpriv.LedControlHandler(padapter, padapter 2077 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 2081 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.AuthAlgrthm = 2; /* 802.1x */ padapter 2084 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisauthtype = padapter 2086 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 2090 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisauthtype = padapter 2092 drivers/staging/rtl8712/rtl871x_ioctl_linux.c padapter->securitypriv.ndisencryptstatus = padapter 2129 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 2133 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (!r8712_set_802_11_disassociate(padapter)) padapter 2137 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (!r8712_set_802_11_disassociate(padapter)) padapter 2150 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 2163 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ret = r871x_set_wpa_ie(padapter, (char *)param->u.wpa_ie.data, padapter 2304 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct _adapter *padapter = netdev_priv(dev); padapter 2305 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_statistics *piwstats = &padapter->iwstats; padapter 2310 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) != true) { padapter 2316 drivers/staging/rtl8712/rtl871x_ioctl_linux.c tmp_level = padapter->recvpriv.fw_rssi; padapter 2317 drivers/staging/rtl8712/rtl871x_ioctl_linux.c tmp_qual = padapter->recvpriv.signal; padapter 2318 drivers/staging/rtl8712/rtl871x_ioctl_linux.c tmp_noise = padapter->recvpriv.noise; padapter 2324 drivers/staging/rtl8712/rtl871x_ioctl_linux.c return &padapter->iwstats; padapter 40 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct _adapter *padapter = poid_par_priv->adapter_context; padapter 46 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c padapter->recvpriv.rx_smallpacket_crcerr; padapter 56 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct _adapter *padapter = poid_par_priv->adapter_context; padapter 62 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c padapter->recvpriv.rx_middlepacket_crcerr; padapter 72 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct _adapter *padapter = poid_par_priv->adapter_context; padapter 78 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c padapter->recvpriv.rx_largepacket_crcerr; padapter 103 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct _adapter *padapter = poid_par_priv->adapter_context; padapter 109 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c padapter->recvpriv.rx_pkts + padapter 110 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c padapter->recvpriv.rx_drop; padapter 134 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct _adapter *padapter = poid_par_priv->adapter_context; padapter 140 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c padapter->recvpriv.rx_icv_err; padapter 158 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct _adapter *padapter = poid_par_priv->adapter_context; padapter 164 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c if (padapter->registrypriv.preamble == PREAMBLE_LONG) padapter 166 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c else if (padapter->registrypriv.preamble == PREAMBLE_AUTO) padapter 168 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c else if (padapter->registrypriv.preamble == PREAMBLE_SHORT) padapter 187 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct _adapter *padapter = poid_par_priv->adapter_context; padapter 188 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct eeprom_priv *peeprompriv = &padapter->eeprompriv; padapter 200 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct _adapter *padapter = poid_par_priv->adapter_context; padapter 201 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct eeprom_priv *peeprompriv = &padapter->eeprompriv; padapter 212 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct _adapter *padapter = poid_par_priv->adapter_context; padapter 220 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c padapter->registrypriv.preamble = PREAMBLE_LONG; padapter 222 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c padapter->registrypriv.preamble = PREAMBLE_AUTO; padapter 224 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c padapter->registrypriv.preamble = PREAMBLE_SHORT; padapter 249 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct _adapter *padapter = poid_par_priv->adapter_context; padapter 255 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c padapter->xmitpriv.tx_bytes; padapter 266 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct _adapter *padapter = poid_par_priv->adapter_context; padapter 272 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c padapter->recvpriv.rx_bytes; padapter 304 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct _adapter *padapter = poid_par_priv->adapter_context; padapter 305 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 315 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c pnic_Config = &padapter->registrypriv.dev_network.Configuration; padapter 491 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct _adapter *padapter = poid_par_priv->adapter_context; padapter 492 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 40 drivers/staging/rtl8712/rtl871x_ioctl_set.c static u8 do_join(struct _adapter *padapter) padapter 44 drivers/staging/rtl8712/rtl871x_ioctl_set.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 64 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_sitesurvey_cmd(padapter, &pmlmepriv->assoc_ssid); padapter 79 drivers/staging/rtl8712/rtl871x_ioctl_set.c &(padapter->registrypriv.dev_network); padapter 81 drivers/staging/rtl8712/rtl871x_ioctl_set.c pibss = padapter->registrypriv.dev_network.MacAddress; padapter 85 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_update_registrypriv_dev_network(padapter); padapter 87 drivers/staging/rtl8712/rtl871x_ioctl_set.c if (r8712_createbss_cmd(padapter)) padapter 100 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_sitesurvey_cmd(padapter, padapter 107 drivers/staging/rtl8712/rtl871x_ioctl_set.c u8 r8712_set_802_11_bssid(struct _adapter *padapter, u8 *bssid) padapter 111 drivers/staging/rtl8712/rtl871x_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 133 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_disassoc_cmd(padapter); padapter 135 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_ind_disconnect(padapter); padapter 136 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_free_assoc_resources(padapter); padapter 147 drivers/staging/rtl8712/rtl871x_ioctl_set.c status = do_join(padapter); padapter 155 drivers/staging/rtl8712/rtl871x_ioctl_set.c void r8712_set_802_11_ssid(struct _adapter *padapter, padapter 159 drivers/staging/rtl8712/rtl871x_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 162 drivers/staging/rtl8712/rtl871x_ioctl_set.c if (!padapter->hw_init_completed) padapter 174 drivers/staging/rtl8712/rtl871x_ioctl_set.c if (!r8712_is_same_ibss(padapter, padapter 180 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_disassoc_cmd(padapter); padapter 183 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_ind_disconnect(padapter); padapter 184 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_free_assoc_resources(padapter); padapter 200 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_disassoc_cmd(padapter); padapter 202 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_ind_disconnect(padapter); padapter 203 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_free_assoc_resources(padapter); padapter 212 drivers/staging/rtl8712/rtl871x_ioctl_set.c if (padapter->securitypriv.btkip_countermeasure) padapter 218 drivers/staging/rtl8712/rtl871x_ioctl_set.c do_join(padapter); padapter 225 drivers/staging/rtl8712/rtl871x_ioctl_set.c void r8712_set_802_11_infrastructure_mode(struct _adapter *padapter, padapter 229 drivers/staging/rtl8712/rtl871x_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 238 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_disassoc_cmd(padapter); padapter 241 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_free_assoc_resources(padapter); padapter 249 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_ind_disconnect(padapter); padapter 275 drivers/staging/rtl8712/rtl871x_ioctl_set.c u8 r8712_set_802_11_disassociate(struct _adapter *padapter) padapter 278 drivers/staging/rtl8712/rtl871x_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 282 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_disassoc_cmd(padapter); padapter 283 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_ind_disconnect(padapter); padapter 284 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_free_assoc_resources(padapter); padapter 290 drivers/staging/rtl8712/rtl871x_ioctl_set.c u8 r8712_set_802_11_bssid_list_scan(struct _adapter *padapter) padapter 296 drivers/staging/rtl8712/rtl871x_ioctl_set.c if (!padapter) padapter 298 drivers/staging/rtl8712/rtl871x_ioctl_set.c pmlmepriv = &padapter->mlmepriv; padapter 299 drivers/staging/rtl8712/rtl871x_ioctl_set.c if (!padapter->hw_init_completed) padapter 307 drivers/staging/rtl8712/rtl871x_ioctl_set.c r8712_free_network_queue(padapter); padapter 308 drivers/staging/rtl8712/rtl871x_ioctl_set.c ret = r8712_sitesurvey_cmd(padapter, NULL); padapter 314 drivers/staging/rtl8712/rtl871x_ioctl_set.c u8 r8712_set_802_11_authentication_mode(struct _adapter *padapter, padapter 317 drivers/staging/rtl8712/rtl871x_ioctl_set.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 323 drivers/staging/rtl8712/rtl871x_ioctl_set.c if (r8712_set_auth(padapter, psecuritypriv)) padapter 330 drivers/staging/rtl8712/rtl871x_ioctl_set.c int r8712_set_802_11_add_wep(struct _adapter *padapter, padapter 334 drivers/staging/rtl8712/rtl871x_ioctl_set.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 354 drivers/staging/rtl8712/rtl871x_ioctl_set.c return r8712_set_key(padapter, psecuritypriv, keyid); padapter 29 drivers/staging/rtl8712/rtl871x_ioctl_set.h u8 r8712_set_802_11_bssid(struct _adapter *padapter, u8 *bssid); padapter 31 drivers/staging/rtl8712/rtl871x_ioctl_set.h int r8712_set_802_11_add_wep(struct _adapter *padapter, padapter 34 drivers/staging/rtl8712/rtl871x_ioctl_set.h u8 r8712_set_802_11_disassociate(struct _adapter *padapter); padapter 36 drivers/staging/rtl8712/rtl871x_ioctl_set.h u8 r8712_set_802_11_bssid_list_scan(struct _adapter *padapter); padapter 38 drivers/staging/rtl8712/rtl871x_ioctl_set.h void r8712_set_802_11_infrastructure_mode(struct _adapter *padapter, padapter 41 drivers/staging/rtl8712/rtl871x_ioctl_set.h void r8712_set_802_11_ssid(struct _adapter *padapter, padapter 77 drivers/staging/rtl8712/rtl871x_led.h struct _adapter *padapter; padapter 103 drivers/staging/rtl8712/rtl871x_led.h void (*LedControlHandler)(struct _adapter *padapter, padapter 112 drivers/staging/rtl8712/rtl871x_led.h void r8712_InitSwLeds(struct _adapter *padapter); padapter 113 drivers/staging/rtl8712/rtl871x_led.h void r8712_DeInitSwLeds(struct _adapter *padapter); padapter 114 drivers/staging/rtl8712/rtl871x_led.h void LedControl871x(struct _adapter *padapter, enum LED_CTL_MODE LedAction); padapter 30 drivers/staging/rtl8712/rtl871x_mlme.c static void update_ht_cap(struct _adapter *padapter, u8 *pie, uint ie_len); padapter 32 drivers/staging/rtl8712/rtl871x_mlme.c int r8712_init_mlme_priv(struct _adapter *padapter) padapter 37 drivers/staging/rtl8712/rtl871x_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 40 drivers/staging/rtl8712/rtl871x_mlme.c pmlmepriv->nic_hdl = (u8 *)padapter; padapter 69 drivers/staging/rtl8712/rtl871x_mlme.c r8712_init_mlme_timer(padapter); padapter 154 drivers/staging/rtl8712/rtl871x_mlme.c void r8712_free_network_queue(struct _adapter *padapter) padapter 159 drivers/staging/rtl8712/rtl871x_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 173 drivers/staging/rtl8712/rtl871x_mlme.c sint r8712_if_up(struct _adapter *padapter) padapter 177 drivers/staging/rtl8712/rtl871x_mlme.c if (padapter->driver_stopped || padapter->surprise_removed || padapter 178 drivers/staging/rtl8712/rtl871x_mlme.c !check_fwstate(&padapter->mlmepriv, _FW_LINKED)) { padapter 283 drivers/staging/rtl8712/rtl871x_mlme.c struct _adapter *padapter) padapter 286 drivers/staging/rtl8712/rtl871x_mlme.c struct smooth_rssi_data *sqd = &padapter->recvpriv.signal_qual_data; padapter 288 drivers/staging/rtl8712/rtl871x_mlme.c if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) && padapter 289 drivers/staging/rtl8712/rtl871x_mlme.c is_same_network(&(padapter->mlmepriv.cur_network.network), src)) { padapter 290 drivers/staging/rtl8712/rtl871x_mlme.c if (padapter->recvpriv.signal_qual_data.total_num++ >= padapter 292 drivers/staging/rtl8712/rtl871x_mlme.c padapter->recvpriv.signal_qual_data.total_num = padapter 295 drivers/staging/rtl8712/rtl871x_mlme.c padapter->recvpriv.signal_qual_data.total_val -= padapter 298 drivers/staging/rtl8712/rtl871x_mlme.c padapter->recvpriv.signal_qual_data.total_val += src->Rssi; padapter 301 drivers/staging/rtl8712/rtl871x_mlme.c if (padapter->recvpriv.signal_qual_data.index >= padapter 303 drivers/staging/rtl8712/rtl871x_mlme.c padapter->recvpriv.signal_qual_data.index = 0; padapter 305 drivers/staging/rtl8712/rtl871x_mlme.c tmpVal = padapter->recvpriv.signal_qual_data.total_val / padapter 306 drivers/staging/rtl8712/rtl871x_mlme.c padapter->recvpriv.signal_qual_data.total_num; padapter 307 drivers/staging/rtl8712/rtl871x_mlme.c padapter->recvpriv.signal = (u8)tmpVal; padapter 309 drivers/staging/rtl8712/rtl871x_mlme.c src->Rssi = padapter->recvpriv.signal; padapter 611 drivers/staging/rtl8712/rtl871x_mlme.c void r8712_indicate_connect(struct _adapter *padapter) padapter 613 drivers/staging/rtl8712/rtl871x_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 617 drivers/staging/rtl8712/rtl871x_mlme.c padapter->ledpriv.LedControlHandler(padapter, LED_CTL_LINK); padapter 618 drivers/staging/rtl8712/rtl871x_mlme.c r8712_os_indicate_connect(padapter); padapter 619 drivers/staging/rtl8712/rtl871x_mlme.c if (padapter->registrypriv.power_mgnt > PS_MODE_ACTIVE) padapter 628 drivers/staging/rtl8712/rtl871x_mlme.c void r8712_ind_disconnect(struct _adapter *padapter) padapter 630 drivers/staging/rtl8712/rtl871x_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 634 drivers/staging/rtl8712/rtl871x_mlme.c padapter->ledpriv.LedControlHandler(padapter, LED_CTL_NO_LINK); padapter 635 drivers/staging/rtl8712/rtl871x_mlme.c r8712_os_indicate_disconnect(padapter); padapter 637 drivers/staging/rtl8712/rtl871x_mlme.c if (padapter->pwrctrlpriv.pwr_mode != padapter 638 drivers/staging/rtl8712/rtl871x_mlme.c padapter->registrypriv.power_mgnt) { padapter 640 drivers/staging/rtl8712/rtl871x_mlme.c r8712_set_ps_mode(padapter, padapter->registrypriv.power_mgnt, padapter 641 drivers/staging/rtl8712/rtl871x_mlme.c padapter->registrypriv.smart_ps); padapter 1618 drivers/staging/rtl8712/rtl871x_mlme.c void r8712_joinbss_reset(struct _adapter *padapter) padapter 1621 drivers/staging/rtl8712/rtl871x_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1632 drivers/staging/rtl8712/rtl871x_mlme.c r8712_write8(padapter, 0x102500D9, 48);/*TH = 48 pages, 6k*/ padapter 1636 drivers/staging/rtl8712/rtl871x_mlme.c r8712_write8(padapter, 0x102500D9, 1); padapter 1641 drivers/staging/rtl8712/rtl871x_mlme.c unsigned int r8712_restructure_ht_ie(struct _adapter *padapter, u8 *in_ie, padapter 1648 drivers/staging/rtl8712/rtl871x_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1680 drivers/staging/rtl8712/rtl871x_mlme.c static void update_ht_cap(struct _adapter *padapter, u8 *pie, uint ie_len) padapter 1688 drivers/staging/rtl8712/rtl871x_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1690 drivers/staging/rtl8712/rtl871x_mlme.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 1718 drivers/staging/rtl8712/rtl871x_mlme.c bmc_sta = r8712_get_bcmc_stainfo(padapter); padapter 1726 drivers/staging/rtl8712/rtl871x_mlme.c psta = r8712_get_stainfo(&padapter->stapriv, padapter 1741 drivers/staging/rtl8712/rtl871x_mlme.c void r8712_issue_addbareq_cmd(struct _adapter *padapter, int priority) padapter 1743 drivers/staging/rtl8712/rtl871x_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1748 drivers/staging/rtl8712/rtl871x_mlme.c r8712_addbareq_cmd(padapter, (u8)priority); padapter 199 drivers/staging/rtl8712/rtl871x_mlme.h sint r8712_if_up(struct _adapter *padapter); padapter 200 drivers/staging/rtl8712/rtl871x_mlme.h void r8712_joinbss_reset(struct _adapter *padapter); padapter 201 drivers/staging/rtl8712/rtl871x_mlme.h unsigned int r8712_restructure_ht_ie(struct _adapter *padapter, u8 *in_ie, padapter 203 drivers/staging/rtl8712/rtl871x_mlme.h void r8712_issue_addbareq_cmd(struct _adapter *padapter, int priority); padapter 60 drivers/staging/rtl8712/rtl871x_mp.c pmp_xmitframe->padapter = pmp_priv->papdater; padapter 73 drivers/staging/rtl8712/rtl871x_mp.c void mp871xinit(struct _adapter *padapter) padapter 75 drivers/staging/rtl8712/rtl871x_mp.c struct mp_priv *pmppriv = &padapter->mppriv; padapter 77 drivers/staging/rtl8712/rtl871x_mp.c pmppriv->papdater = padapter; padapter 81 drivers/staging/rtl8712/rtl871x_mp.c void mp871xdeinit(struct _adapter *padapter) padapter 83 drivers/staging/rtl8712/rtl871x_mp.c struct mp_priv *pmppriv = &padapter->mppriv; padapter 55 drivers/staging/rtl8712/rtl871x_mp.h struct _adapter *padapter; padapter 243 drivers/staging/rtl8712/rtl871x_mp.h void mp871xinit(struct _adapter *padapter); padapter 244 drivers/staging/rtl8712/rtl871x_mp.h void mp871xdeinit(struct _adapter *padapter); padapter 147 drivers/staging/rtl8712/rtl871x_mp_ioctl.c static int mp_start_test(struct _adapter *padapter) padapter 149 drivers/staging/rtl8712/rtl871x_mp_ioctl.c struct mp_priv *pmppriv = &padapter->mppriv; padapter 150 drivers/staging/rtl8712/rtl871x_mp_ioctl.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 184 drivers/staging/rtl8712/rtl871x_mp_ioctl.c psta = r8712_get_stainfo(&padapter->stapriv, padapter 187 drivers/staging/rtl8712/rtl871x_mp_ioctl.c r8712_free_stainfo(padapter, psta); padapter 188 drivers/staging/rtl8712/rtl871x_mp_ioctl.c psta = r8712_alloc_stainfo(&padapter->stapriv, bssid.MacAddress); padapter 198 drivers/staging/rtl8712/rtl871x_mp_ioctl.c r8712_os_indicate_connect(padapter); padapter 207 drivers/staging/rtl8712/rtl871x_mp_ioctl.c static int mp_stop_test(struct _adapter *padapter) padapter 209 drivers/staging/rtl8712/rtl871x_mp_ioctl.c struct mp_priv *pmppriv = &padapter->mppriv; padapter 210 drivers/staging/rtl8712/rtl871x_mp_ioctl.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 219 drivers/staging/rtl8712/rtl871x_mp_ioctl.c r8712_os_indicate_disconnect(padapter); padapter 221 drivers/staging/rtl8712/rtl871x_mp_ioctl.c psta = r8712_get_stainfo(&padapter->stapriv, padapter 224 drivers/staging/rtl8712/rtl871x_mp_ioctl.c r8712_free_stainfo(padapter, psta); padapter 26 drivers/staging/rtl8712/rtl871x_pwrctrl.c void r8712_set_rpwm(struct _adapter *padapter, u8 val8) padapter 29 drivers/staging/rtl8712/rtl871x_pwrctrl.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 35 drivers/staging/rtl8712/rtl871x_pwrctrl.c if (padapter->driver_stopped || padapter->surprise_removed) padapter 54 drivers/staging/rtl8712/rtl871x_pwrctrl.c r8712_write8(padapter, 0x1025FE58, rpwm); padapter 58 drivers/staging/rtl8712/rtl871x_pwrctrl.c void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode, uint smart_ps) padapter 60 drivers/staging/rtl8712/rtl871x_pwrctrl.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 86 drivers/staging/rtl8712/rtl871x_pwrctrl.c void r8712_cpwm_int_hdl(struct _adapter *padapter, padapter 89 drivers/staging/rtl8712/rtl871x_pwrctrl.c struct pwrctrl_priv *pwrpriv = &(padapter->pwrctrlpriv); padapter 90 drivers/staging/rtl8712/rtl871x_pwrctrl.c struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); padapter 94 drivers/staging/rtl8712/rtl871x_pwrctrl.c del_timer(&padapter->pwrctrlpriv.rpwm_check_timer); padapter 116 drivers/staging/rtl8712/rtl871x_pwrctrl.c static void _rpwm_check_handler (struct _adapter *padapter) padapter 118 drivers/staging/rtl8712/rtl871x_pwrctrl.c struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; padapter 120 drivers/staging/rtl8712/rtl871x_pwrctrl.c if (padapter->driver_stopped || padapter->surprise_removed) padapter 130 drivers/staging/rtl8712/rtl871x_pwrctrl.c struct _adapter *padapter = container_of(pwrpriv, padapter 135 drivers/staging/rtl8712/rtl871x_pwrctrl.c r8712_set_rpwm(padapter, PS_STATE_S4); padapter 144 drivers/staging/rtl8712/rtl871x_pwrctrl.c struct _adapter *padapter = container_of(pwrpriv, padapter 148 drivers/staging/rtl8712/rtl871x_pwrctrl.c r8712_read8(padapter, SDIO_HCPWM); padapter 150 drivers/staging/rtl8712/rtl871x_pwrctrl.c r8712_set_rpwm(padapter, pwrpriv->rpwm); padapter 163 drivers/staging/rtl8712/rtl871x_pwrctrl.c void r8712_init_pwrctrl_priv(struct _adapter *padapter) padapter 165 drivers/staging/rtl8712/rtl871x_pwrctrl.c struct pwrctrl_priv *pwrctrlpriv = &padapter->pwrctrlpriv; padapter 174 drivers/staging/rtl8712/rtl871x_pwrctrl.c r8712_write8(padapter, 0x1025FE58, 0); padapter 190 drivers/staging/rtl8712/rtl871x_pwrctrl.c int r8712_register_cmd_alive(struct _adapter *padapter) padapter 193 drivers/staging/rtl8712/rtl871x_pwrctrl.c struct pwrctrl_priv *pwrctrl = &padapter->pwrctrlpriv; padapter 198 drivers/staging/rtl8712/rtl871x_pwrctrl.c r8712_set_rpwm(padapter, PS_STATE_S3); padapter 211 drivers/staging/rtl8712/rtl871x_pwrctrl.c void r8712_unregister_cmd_alive(struct _adapter *padapter) padapter 213 drivers/staging/rtl8712/rtl871x_pwrctrl.c struct pwrctrl_priv *pwrctrl = &padapter->pwrctrlpriv; padapter 220 drivers/staging/rtl8712/rtl871x_pwrctrl.c (check_fwstate(&padapter->mlmepriv, padapter 222 drivers/staging/rtl8712/rtl871x_pwrctrl.c r8712_set_rpwm(padapter, PS_STATE_S0); padapter 107 drivers/staging/rtl8712/rtl871x_pwrctrl.h int r8712_register_cmd_alive(struct _adapter *padapter); padapter 108 drivers/staging/rtl8712/rtl871x_pwrctrl.h void r8712_unregister_cmd_alive(struct _adapter *padapter); padapter 109 drivers/staging/rtl8712/rtl871x_pwrctrl.h void r8712_cpwm_int_hdl(struct _adapter *padapter, padapter 111 drivers/staging/rtl8712/rtl871x_pwrctrl.h void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode, padapter 113 drivers/staging/rtl8712/rtl871x_pwrctrl.h void r8712_set_rpwm(struct _adapter *padapter, u8 val8); padapter 52 drivers/staging/rtl8712/rtl871x_recv.c struct _adapter *padapter) padapter 61 drivers/staging/rtl8712/rtl871x_recv.c precvpriv->adapter = padapter; padapter 78 drivers/staging/rtl8712/rtl871x_recv.c r8712_os_recv_resource_alloc(padapter, precvframe); padapter 79 drivers/staging/rtl8712/rtl871x_recv.c precvframe->u.hdr.adapter = padapter; padapter 83 drivers/staging/rtl8712/rtl871x_recv.c r8712_init_recv_priv(precvpriv, padapter); padapter 96 drivers/staging/rtl8712/rtl871x_recv.c struct _adapter *padapter; padapter 104 drivers/staging/rtl8712/rtl871x_recv.c padapter = precvframe->u.hdr.adapter; padapter 105 drivers/staging/rtl8712/rtl871x_recv.c if (padapter != NULL) { padapter 106 drivers/staging/rtl8712/rtl871x_recv.c precvpriv = &padapter->recvpriv; padapter 198 drivers/staging/rtl8712/rtl871x_recv.c union recv_frame *r8712_decryptor(struct _adapter *padapter, padapter 202 drivers/staging/rtl8712/rtl871x_recv.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 211 drivers/staging/rtl8712/rtl871x_recv.c r8712_wep_decrypt(padapter, (u8 *)precv_frame); padapter 214 drivers/staging/rtl8712/rtl871x_recv.c r8712_tkip_decrypt(padapter, (u8 *)precv_frame); padapter 217 drivers/staging/rtl8712/rtl871x_recv.c r8712_aes_decrypt(padapter, (u8 *)precv_frame); padapter 653 drivers/staging/rtl8712/rtl871x_recv.c struct _adapter *padapter; padapter 658 drivers/staging/rtl8712/rtl871x_recv.c padapter = precvframe->u.hdr.adapter; padapter 659 drivers/staging/rtl8712/rtl871x_recv.c precvpriv = &(padapter->recvpriv); padapter 661 drivers/staging/rtl8712/rtl871x_recv.c padapter->ledpriv.LedControlHandler(padapter, LED_CTL_RX); padapter 663 drivers/staging/rtl8712/rtl871x_recv.c ret = recv_func(padapter, precvframe); padapter 672 drivers/staging/rtl8712/rtl871x_recv.c padapter->mppriv.rx_pktloss = precvpriv->rx_drop; padapter 19 drivers/staging/rtl8712/rtl871x_recv.h struct _adapter *padapter; padapter 136 drivers/staging/rtl8712/rtl871x_recv.h int recv_func(struct _adapter *padapter, void *pcontext); padapter 151 drivers/staging/rtl8712/rtl871x_security.c void r8712_wep_encrypt(struct _adapter *padapter, u8 *pxmitframe) padapter 160 drivers/staging/rtl8712/rtl871x_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 161 drivers/staging/rtl8712/rtl871x_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 208 drivers/staging/rtl8712/rtl871x_security.c void r8712_wep_decrypt(struct _adapter *padapter, u8 *precvframe) padapter 218 drivers/staging/rtl8712/rtl871x_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 559 drivers/staging/rtl8712/rtl871x_security.c u32 r8712_tkip_encrypt(struct _adapter *padapter, u8 *pxmitframe) padapter 573 drivers/staging/rtl8712/rtl871x_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 585 drivers/staging/rtl8712/rtl871x_security.c stainfo = r8712_get_stainfo(&padapter->stapriv, padapter 639 drivers/staging/rtl8712/rtl871x_security.c void r8712_tkip_decrypt(struct _adapter *padapter, u8 *precvframe) padapter 653 drivers/staging/rtl8712/rtl871x_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 659 drivers/staging/rtl8712/rtl871x_security.c stainfo = r8712_get_stainfo(&padapter->stapriv, padapter 1137 drivers/staging/rtl8712/rtl871x_security.c u32 r8712_aes_encrypt(struct _adapter *padapter, u8 *pxmitframe) padapter 1145 drivers/staging/rtl8712/rtl871x_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1156 drivers/staging/rtl8712/rtl871x_security.c stainfo = r8712_get_stainfo(&padapter->stapriv, padapter 1344 drivers/staging/rtl8712/rtl871x_security.c void r8712_aes_decrypt(struct _adapter *padapter, u8 *precvframe) padapter 1352 drivers/staging/rtl8712/rtl871x_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 1358 drivers/staging/rtl8712/rtl871x_security.c stainfo = r8712_get_stainfo(&padapter->stapriv, padapter 1383 drivers/staging/rtl8712/rtl871x_security.c struct _adapter *padapter = padapter 1384 drivers/staging/rtl8712/rtl871x_security.c from_timer(padapter, t, securitypriv.tkip_timer); padapter 1386 drivers/staging/rtl8712/rtl871x_security.c padapter->securitypriv.busetkipkey = true; padapter 209 drivers/staging/rtl8712/rtl871x_security.h u32 r8712_aes_encrypt(struct _adapter *padapter, u8 *pxmitframe); padapter 210 drivers/staging/rtl8712/rtl871x_security.h u32 r8712_tkip_encrypt(struct _adapter *padapter, u8 *pxmitframe); padapter 211 drivers/staging/rtl8712/rtl871x_security.h void r8712_wep_encrypt(struct _adapter *padapter, u8 *pxmitframe); padapter 212 drivers/staging/rtl8712/rtl871x_security.h void r8712_aes_decrypt(struct _adapter *padapter, u8 *precvframe); padapter 213 drivers/staging/rtl8712/rtl871x_security.h void r8712_tkip_decrypt(struct _adapter *padapter, u8 *precvframe); padapter 214 drivers/staging/rtl8712/rtl871x_security.h void r8712_wep_decrypt(struct _adapter *padapter, u8 *precvframe); padapter 128 drivers/staging/rtl8712/rtl871x_sta_mgt.c preorder_ctrl->padapter = pstapriv->padapter; padapter 142 drivers/staging/rtl8712/rtl871x_sta_mgt.c void r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta) padapter 149 drivers/staging/rtl8712/rtl871x_sta_mgt.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 150 drivers/staging/rtl8712/rtl871x_sta_mgt.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 191 drivers/staging/rtl8712/rtl871x_sta_mgt.c void r8712_free_all_stainfo(struct _adapter *padapter) padapter 197 drivers/staging/rtl8712/rtl871x_sta_mgt.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 198 drivers/staging/rtl8712/rtl871x_sta_mgt.c struct sta_info *pbcmc_stainfo = r8712_get_bcmc_stainfo(padapter); padapter 211 drivers/staging/rtl8712/rtl871x_sta_mgt.c r8712_free_stainfo(padapter, psta); padapter 244 drivers/staging/rtl8712/rtl871x_sta_mgt.c void r8712_init_bcmc_stainfo(struct _adapter *padapter) padapter 247 drivers/staging/rtl8712/rtl871x_sta_mgt.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 252 drivers/staging/rtl8712/rtl871x_sta_mgt.c struct sta_info *r8712_get_bcmc_stainfo(struct _adapter *padapter) padapter 254 drivers/staging/rtl8712/rtl871x_sta_mgt.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 29 drivers/staging/rtl8712/rtl871x_xmit.c static void alloc_hwxmits(struct _adapter *padapter); padapter 30 drivers/staging/rtl8712/rtl871x_xmit.c static void free_hwxmits(struct _adapter *padapter); padapter 53 drivers/staging/rtl8712/rtl871x_xmit.c struct _adapter *padapter) padapter 64 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->adapter = padapter; padapter 89 drivers/staging/rtl8712/rtl871x_xmit.c pxframe->padapter = padapter; padapter 136 drivers/staging/rtl8712/rtl871x_xmit.c if (r8712_xmit_resource_alloc(padapter, pxmitbuf)) padapter 143 drivers/staging/rtl8712/rtl871x_xmit.c INIT_WORK(&padapter->wk_filter_rx_ff0, r8712_SetFilter); padapter 144 drivers/staging/rtl8712/rtl871x_xmit.c alloc_hwxmits(padapter); padapter 148 drivers/staging/rtl8712/rtl871x_xmit.c (unsigned long)padapter); padapter 155 drivers/staging/rtl8712/rtl871x_xmit.c struct _adapter *padapter = pxmitpriv->adapter; padapter 163 drivers/staging/rtl8712/rtl871x_xmit.c r8712_xmit_complete(padapter, pxmitframe); padapter 167 drivers/staging/rtl8712/rtl871x_xmit.c r8712_xmit_resource_free(padapter, pxmitbuf); padapter 173 drivers/staging/rtl8712/rtl871x_xmit.c free_hwxmits(padapter); padapter 176 drivers/staging/rtl8712/rtl871x_xmit.c int r8712_update_attrib(struct _adapter *padapter, _pkt *pkt, padapter 186 drivers/staging/rtl8712/rtl871x_xmit.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 187 drivers/staging/rtl8712/rtl871x_xmit.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 188 drivers/staging/rtl8712/rtl871x_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 202 drivers/staging/rtl8712/rtl871x_xmit.c if (padapter->pwrctrlpriv.pwr_mode != padapter 203 drivers/staging/rtl8712/rtl871x_xmit.c padapter->registrypriv.power_mgnt) { padapter 205 drivers/staging/rtl8712/rtl871x_xmit.c r8712_set_ps_mode(padapter, padapter 206 drivers/staging/rtl8712/rtl871x_xmit.c padapter->registrypriv.power_mgnt, padapter 207 drivers/staging/rtl8712/rtl871x_xmit.c padapter->registrypriv.smart_ps); padapter 264 drivers/staging/rtl8712/rtl871x_xmit.c psta = r8712_get_bcmc_stainfo(padapter); padapter 317 drivers/staging/rtl8712/rtl871x_xmit.c if (padapter->securitypriv.busetkipkey == _FAIL) padapter 331 drivers/staging/rtl8712/rtl871x_xmit.c (padapter->securitypriv.sw_encrypt || padapter 345 drivers/staging/rtl8712/rtl871x_xmit.c static int xmitframe_addmic(struct _adapter *padapter, padapter 352 drivers/staging/rtl8712/rtl871x_xmit.c struct qos_priv *pqospriv = &(padapter->mlmepriv.qospriv); padapter 354 drivers/staging/rtl8712/rtl871x_xmit.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 355 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 362 drivers/staging/rtl8712/rtl871x_xmit.c stainfo = r8712_get_stainfo(&padapter->stapriv, padapter 448 drivers/staging/rtl8712/rtl871x_xmit.c static sint xmitframe_swencrypt(struct _adapter *padapter, padapter 457 drivers/staging/rtl8712/rtl871x_xmit.c r8712_wep_encrypt(padapter, (u8 *)pxmitframe); padapter 460 drivers/staging/rtl8712/rtl871x_xmit.c r8712_tkip_encrypt(padapter, (u8 *)pxmitframe); padapter 463 drivers/staging/rtl8712/rtl871x_xmit.c r8712_aes_encrypt(padapter, (u8 *)pxmitframe); padapter 472 drivers/staging/rtl8712/rtl871x_xmit.c static int make_wlanhdr(struct _adapter *padapter, u8 *hdr, padapter 478 drivers/staging/rtl8712/rtl871x_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 533 drivers/staging/rtl8712/rtl871x_xmit.c psta = r8712_get_bcmc_stainfo(padapter); padapter 536 drivers/staging/rtl8712/rtl871x_xmit.c r8712_get_stainfo(&padapter->stapriv, padapter 582 drivers/staging/rtl8712/rtl871x_xmit.c sint r8712_xmitframe_coalesce(struct _adapter *padapter, _pkt *pkt, padapter 593 drivers/staging/rtl8712/rtl871x_xmit.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 594 drivers/staging/rtl8712/rtl871x_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 595 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 608 drivers/staging/rtl8712/rtl871x_xmit.c if (make_wlanhdr(padapter, mem_start, pattrib)) padapter 699 drivers/staging/rtl8712/rtl871x_xmit.c if (xmitframe_addmic(padapter, pxmitframe)) padapter 701 drivers/staging/rtl8712/rtl871x_xmit.c xmitframe_swencrypt(padapter, pxmitframe); padapter 705 drivers/staging/rtl8712/rtl871x_xmit.c void r8712_update_protection(struct _adapter *padapter, u8 *ie, uint ie_len) padapter 710 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 711 drivers/staging/rtl8712/rtl871x_xmit.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 812 drivers/staging/rtl8712/rtl871x_xmit.c struct _adapter *padapter = pxmitpriv->adapter; padapter 823 drivers/staging/rtl8712/rtl871x_xmit.c if (netif_queue_stopped(padapter->pnetdev)) padapter 824 drivers/staging/rtl8712/rtl871x_xmit.c netif_wake_queue(padapter->pnetdev); padapter 854 drivers/staging/rtl8712/rtl871x_xmit.c static inline struct tx_servq *get_sta_pending(struct _adapter *padapter, padapter 860 drivers/staging/rtl8712/rtl871x_xmit.c struct hw_xmit *phwxmits = padapter->xmitpriv.hwxmits; padapter 866 drivers/staging/rtl8712/rtl871x_xmit.c *ppstapending = &padapter->xmitpriv.bk_pending; padapter 872 drivers/staging/rtl8712/rtl871x_xmit.c *ppstapending = &padapter->xmitpriv.vi_pending; padapter 878 drivers/staging/rtl8712/rtl871x_xmit.c *ppstapending = &padapter->xmitpriv.vo_pending; padapter 885 drivers/staging/rtl8712/rtl871x_xmit.c *ppstapending = &padapter->xmitpriv.be_pending; padapter 896 drivers/staging/rtl8712/rtl871x_xmit.c int r8712_xmit_classifier(struct _adapter *padapter, padapter 904 drivers/staging/rtl8712/rtl871x_xmit.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 905 drivers/staging/rtl8712/rtl871x_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 912 drivers/staging/rtl8712/rtl871x_xmit.c psta = r8712_get_bcmc_stainfo(padapter); padapter 923 drivers/staging/rtl8712/rtl871x_xmit.c ptxservq = get_sta_pending(padapter, &pstapending, padapter 934 drivers/staging/rtl8712/rtl871x_xmit.c static void alloc_hwxmits(struct _adapter *padapter) padapter 937 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 977 drivers/staging/rtl8712/rtl871x_xmit.c static void free_hwxmits(struct _adapter *padapter) padapter 979 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1016 drivers/staging/rtl8712/rtl871x_xmit.c int r8712_pre_xmit(struct _adapter *padapter, struct xmit_frame *pxmitframe) padapter 1021 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1024 drivers/staging/rtl8712/rtl871x_xmit.c r8712_do_queue_select(padapter, pattrib); padapter 1026 drivers/staging/rtl8712/rtl871x_xmit.c if (r8712_txframes_sta_ac_pending(padapter, pattrib) > 0) { padapter 1028 drivers/staging/rtl8712/rtl871x_xmit.c r8712_xmit_enqueue(padapter, pxmitframe); padapter 1035 drivers/staging/rtl8712/rtl871x_xmit.c r8712_xmit_enqueue(padapter, pxmitframe); padapter 1041 drivers/staging/rtl8712/rtl871x_xmit.c r8712_xmit_direct(padapter, pxmitframe); padapter 150 drivers/staging/rtl8712/rtl871x_xmit.h struct _adapter *padapter; padapter 255 drivers/staging/rtl8712/rtl871x_xmit.h void r8712_update_protection(struct _adapter *padapter, u8 *ie, uint ie_len); padapter 261 drivers/staging/rtl8712/rtl871x_xmit.h int r8712_xmit_classifier(struct _adapter *padapter, padapter 263 drivers/staging/rtl8712/rtl871x_xmit.h sint r8712_xmitframe_coalesce(struct _adapter *padapter, _pkt *pkt, padapter 267 drivers/staging/rtl8712/rtl871x_xmit.h int r8712_update_attrib(struct _adapter *padapter, _pkt *pkt, padapter 269 drivers/staging/rtl8712/rtl871x_xmit.h int r8712_txframes_sta_ac_pending(struct _adapter *padapter, padapter 272 drivers/staging/rtl8712/rtl871x_xmit.h struct _adapter *padapter); padapter 276 drivers/staging/rtl8712/rtl871x_xmit.h int r8712_pre_xmit(struct _adapter *padapter, struct xmit_frame *pxmitframe); padapter 277 drivers/staging/rtl8712/rtl871x_xmit.h int r8712_xmit_enqueue(struct _adapter *padapter, padapter 279 drivers/staging/rtl8712/rtl871x_xmit.h void r8712_xmit_direct(struct _adapter *padapter, struct xmit_frame *pxmitframe); padapter 99 drivers/staging/rtl8712/sta_info.h struct _adapter *padapter; padapter 126 drivers/staging/rtl8712/sta_info.h void r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta); padapter 127 drivers/staging/rtl8712/sta_info.h void r8712_free_all_stainfo(struct _adapter *padapter); padapter 129 drivers/staging/rtl8712/sta_info.h void r8712_init_bcmc_stainfo(struct _adapter *padapter); padapter 130 drivers/staging/rtl8712/sta_info.h struct sta_info *r8712_get_bcmc_stainfo(struct _adapter *padapter); padapter 196 drivers/staging/rtl8712/usb_intf.c struct _adapter *padapter = netdev_priv(pnetdev); padapter 199 drivers/staging/rtl8712/usb_intf.c padapter->suspended = true; padapter 200 drivers/staging/rtl8712/usb_intf.c rtl871x_intf_stop(padapter); padapter 208 drivers/staging/rtl8712/usb_intf.c static void rtl871x_intf_resume(struct _adapter *padapter) padapter 210 drivers/staging/rtl8712/usb_intf.c if (padapter->dvobjpriv.inirp_init) padapter 211 drivers/staging/rtl8712/usb_intf.c padapter->dvobjpriv.inirp_init(padapter); padapter 217 drivers/staging/rtl8712/usb_intf.c struct _adapter *padapter = netdev_priv(pnetdev); padapter 223 drivers/staging/rtl8712/usb_intf.c padapter->suspended = false; padapter 224 drivers/staging/rtl8712/usb_intf.c rtl871x_intf_resume(padapter); padapter 240 drivers/staging/rtl8712/usb_intf.c static uint r8712_usb_dvobj_init(struct _adapter *padapter) padapter 245 drivers/staging/rtl8712/usb_intf.c struct dvobj_priv *pdvobjpriv = &padapter->dvobjpriv; padapter 248 drivers/staging/rtl8712/usb_intf.c pdvobjpriv->padapter = padapter; padapter 249 drivers/staging/rtl8712/usb_intf.c padapter->eeprom_address_size = 6; padapter 262 drivers/staging/rtl8712/usb_intf.c if ((r8712_alloc_io_queue(padapter)) == _FAIL) padapter 267 drivers/staging/rtl8712/usb_intf.c static void r8712_usb_dvobj_deinit(struct _adapter *padapter) padapter 271 drivers/staging/rtl8712/usb_intf.c void rtl871x_intf_stop(struct _adapter *padapter) padapter 274 drivers/staging/rtl8712/usb_intf.c if (!padapter->surprise_removed) { padapter 281 drivers/staging/rtl8712/usb_intf.c if (padapter->dvobjpriv.inirp_deinit) padapter 282 drivers/staging/rtl8712/usb_intf.c padapter->dvobjpriv.inirp_deinit(padapter); padapter 284 drivers/staging/rtl8712/usb_intf.c r8712_usb_write_port_cancel(padapter); padapter 288 drivers/staging/rtl8712/usb_intf.c void r871x_dev_unload(struct _adapter *padapter) padapter 290 drivers/staging/rtl8712/usb_intf.c if (padapter->bup) { padapter 292 drivers/staging/rtl8712/usb_intf.c padapter->driver_stopped = true; padapter 295 drivers/staging/rtl8712/usb_intf.c rtl871x_intf_stop(padapter); padapter 298 drivers/staging/rtl8712/usb_intf.c r8712_stop_drv_threads(padapter); padapter 301 drivers/staging/rtl8712/usb_intf.c if (!padapter->surprise_removed) { padapter 302 drivers/staging/rtl8712/usb_intf.c padapter->hw_init_completed = false; padapter 303 drivers/staging/rtl8712/usb_intf.c rtl8712_hal_deinit(padapter); padapter 307 drivers/staging/rtl8712/usb_intf.c if (padapter->dvobj_deinit) padapter 308 drivers/staging/rtl8712/usb_intf.c padapter->dvobj_deinit(padapter); padapter 309 drivers/staging/rtl8712/usb_intf.c padapter->bup = false; padapter 314 drivers/staging/rtl8712/usb_intf.c struct _adapter *padapter) padapter 328 drivers/staging/rtl8712/usb_intf.c padapter->registrypriv.ht_enable = 0; padapter 329 drivers/staging/rtl8712/usb_intf.c padapter->registrypriv.cbw40_enable = 0; padapter 330 drivers/staging/rtl8712/usb_intf.c padapter->registrypriv.ampdu_enable = 0; padapter 349 drivers/staging/rtl8712/usb_intf.c struct _adapter *padapter = NULL; padapter 365 drivers/staging/rtl8712/usb_intf.c padapter = netdev_priv(pnetdev); padapter 366 drivers/staging/rtl8712/usb_intf.c disable_ht_for_spec_devid(pdid, padapter); padapter 367 drivers/staging/rtl8712/usb_intf.c pdvobjpriv = &padapter->dvobjpriv; padapter 368 drivers/staging/rtl8712/usb_intf.c pdvobjpriv->padapter = padapter; padapter 369 drivers/staging/rtl8712/usb_intf.c padapter->dvobjpriv.pusbdev = udev; padapter 370 drivers/staging/rtl8712/usb_intf.c padapter->pusb_intf = pusb_intf; padapter 375 drivers/staging/rtl8712/usb_intf.c padapter->dvobj_init = r8712_usb_dvobj_init; padapter 376 drivers/staging/rtl8712/usb_intf.c padapter->dvobj_deinit = r8712_usb_dvobj_deinit; padapter 377 drivers/staging/rtl8712/usb_intf.c padapter->halpriv.hal_bus_init = r8712_usb_hal_bus_init; padapter 378 drivers/staging/rtl8712/usb_intf.c padapter->dvobjpriv.inirp_init = r8712_usb_inirp_init; padapter 379 drivers/staging/rtl8712/usb_intf.c padapter->dvobjpriv.inirp_deinit = r8712_usb_inirp_deinit; padapter 383 drivers/staging/rtl8712/usb_intf.c if (!padapter->dvobj_init) { padapter 386 drivers/staging/rtl8712/usb_intf.c status = padapter->dvobj_init(padapter); padapter 391 drivers/staging/rtl8712/usb_intf.c status = r8712_init_drv_sw(padapter); padapter 399 drivers/staging/rtl8712/usb_intf.c u8 *pdata = padapter->eeprompriv.efuse_eeprom_data; padapter 401 drivers/staging/rtl8712/usb_intf.c tmpU1b = r8712_read8(padapter, EE_9346CR);/*CR9346*/ padapter 414 drivers/staging/rtl8712/usb_intf.c tmpU1b = r8712_read8(padapter, EFUSE_TEST + 3); padapter 415 drivers/staging/rtl8712/usb_intf.c r8712_write8(padapter, EFUSE_TEST + 3, tmpU1b | 0x80); padapter 417 drivers/staging/rtl8712/usb_intf.c r8712_write8(padapter, EFUSE_TEST + 3, padapter 423 drivers/staging/rtl8712/usb_intf.c tmpU1b = (u8)((r8712_read32(padapter, PMC_FSM) >> 15) & padapter 426 drivers/staging/rtl8712/usb_intf.c padapter->registrypriv.chip_version = padapter 429 drivers/staging/rtl8712/usb_intf.c padapter->registrypriv.chip_version = padapter 431 drivers/staging/rtl8712/usb_intf.c switch (padapter->registrypriv.chip_version) { padapter 437 drivers/staging/rtl8712/usb_intf.c padapter->registrypriv.chip_version = padapter 443 drivers/staging/rtl8712/usb_intf.c r8712_efuse_pg_packet_read(padapter, offset, padapter 455 drivers/staging/rtl8712/usb_intf.c padapter->eeprompriv.CustomerID = padapter 459 drivers/staging/rtl8712/usb_intf.c padapter->eeprompriv.CustomerID = padapter 463 drivers/staging/rtl8712/usb_intf.c padapter->eeprompriv.CustomerID = padapter 467 drivers/staging/rtl8712/usb_intf.c padapter->eeprompriv.CustomerID = padapter 471 drivers/staging/rtl8712/usb_intf.c padapter->eeprompriv.CustomerID = padapter 475 drivers/staging/rtl8712/usb_intf.c padapter->eeprompriv.CustomerID = padapter 479 drivers/staging/rtl8712/usb_intf.c padapter->eeprompriv.CustomerID = padapter 483 drivers/staging/rtl8712/usb_intf.c padapter->eeprompriv.CustomerID = padapter 489 drivers/staging/rtl8712/usb_intf.c padapter->eeprompriv.CustomerID = padapter 493 drivers/staging/rtl8712/usb_intf.c padapter->eeprompriv.CustomerID = padapter 497 drivers/staging/rtl8712/usb_intf.c padapter->eeprompriv.CustomerID = padapter 501 drivers/staging/rtl8712/usb_intf.c padapter->eeprompriv.CustomerID = padapter 506 drivers/staging/rtl8712/usb_intf.c padapter->eeprompriv.CustomerID); padapter 508 drivers/staging/rtl8712/usb_intf.c switch (padapter->eeprompriv.CustomerID) { padapter 512 drivers/staging/rtl8712/usb_intf.c padapter->ledpriv.LedStrategy = SW_LED_MODE1; padapter 513 drivers/staging/rtl8712/usb_intf.c padapter->ledpriv.bRegUseLed = true; padapter 516 drivers/staging/rtl8712/usb_intf.c padapter->ledpriv.LedStrategy = SW_LED_MODE2; padapter 517 drivers/staging/rtl8712/usb_intf.c padapter->ledpriv.bRegUseLed = true; padapter 521 drivers/staging/rtl8712/usb_intf.c padapter->ledpriv.LedStrategy = SW_LED_MODE3; padapter 522 drivers/staging/rtl8712/usb_intf.c padapter->ledpriv.bRegUseLed = true; padapter 525 drivers/staging/rtl8712/usb_intf.c padapter->ledpriv.LedStrategy = SW_LED_MODE4; padapter 526 drivers/staging/rtl8712/usb_intf.c padapter->ledpriv.bRegUseLed = true; padapter 529 drivers/staging/rtl8712/usb_intf.c padapter->ledpriv.LedStrategy = SW_LED_MODE5; padapter 530 drivers/staging/rtl8712/usb_intf.c padapter->ledpriv.bRegUseLed = true; padapter 533 drivers/staging/rtl8712/usb_intf.c padapter->ledpriv.LedStrategy = SW_LED_MODE6; padapter 534 drivers/staging/rtl8712/usb_intf.c padapter->ledpriv.bRegUseLed = true; padapter 537 drivers/staging/rtl8712/usb_intf.c padapter->ledpriv.LedStrategy = SW_LED_MODE0; padapter 538 drivers/staging/rtl8712/usb_intf.c padapter->ledpriv.bRegUseLed = false; padapter 572 drivers/staging/rtl8712/usb_intf.c if (rtl871x_load_fw(padapter)) padapter 574 drivers/staging/rtl8712/usb_intf.c spin_lock_init(&padapter->lock_rx_ff0_filter); padapter 575 drivers/staging/rtl8712/usb_intf.c mutex_init(&padapter->mutex_start); padapter 580 drivers/staging/rtl8712/usb_intf.c if (padapter && padapter->dvobj_deinit != NULL) padapter 581 drivers/staging/rtl8712/usb_intf.c padapter->dvobj_deinit(padapter); padapter 596 drivers/staging/rtl8712/usb_intf.c struct _adapter *padapter = netdev_priv(pnetdev); padapter 599 drivers/staging/rtl8712/usb_intf.c release_firmware(padapter->fw); padapter 601 drivers/staging/rtl8712/usb_intf.c wait_for_completion(&padapter->rtl8712_fw_ready); padapter 603 drivers/staging/rtl8712/usb_intf.c padapter->surprise_removed = true; padapter 608 drivers/staging/rtl8712/usb_intf.c r8712_stop_drv_timers(padapter); padapter 609 drivers/staging/rtl8712/usb_intf.c r871x_dev_unload(padapter); padapter 610 drivers/staging/rtl8712/usb_intf.c r8712_free_drv_sw(padapter); padapter 32 drivers/staging/rtl8712/usb_ops.h void r8712_usb_read_port_cancel(struct _adapter *padapter); padapter 33 drivers/staging/rtl8712/usb_ops.h void r8712_usb_write_port_cancel(struct _adapter *padapter); padapter 33 drivers/staging/rtl8712/usb_ops_linux.c void *padapter; padapter 146 drivers/staging/rtl8712/usb_ops_linux.c struct _adapter *padapter = (struct _adapter *)pintf->adapter; padapter 150 drivers/staging/rtl8712/usb_ops_linux.c padapter->driver_stopped = true; padapter 152 drivers/staging/rtl8712/usb_ops_linux.c padapter->surprise_removed = true; padapter 160 drivers/staging/rtl8712/usb_ops_linux.c struct _adapter *padapter = (struct _adapter *)pintfhdl->adapter; padapter 162 drivers/staging/rtl8712/usb_ops_linux.c struct io_queue *pio_queue = padapter->pio_queue; padapter 167 drivers/staging/rtl8712/usb_ops_linux.c if ((padapter->driver_stopped) || (padapter->surprise_removed) || padapter 168 drivers/staging/rtl8712/usb_ops_linux.c (padapter->pwrctrlpriv.pnp_bstop_trx)) padapter 186 drivers/staging/rtl8712/usb_ops_linux.c struct _adapter *padapter = (struct _adapter *)precvbuf->adapter; padapter 187 drivers/staging/rtl8712/usb_ops_linux.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 189 drivers/staging/rtl8712/usb_ops_linux.c if (padapter->surprise_removed || padapter->driver_stopped) padapter 194 drivers/staging/rtl8712/usb_ops_linux.c r8712_read_port(padapter, precvpriv->ff_hwaddr, 0, padapter 203 drivers/staging/rtl8712/usb_ops_linux.c r8712_rxcmd_event_hdl(padapter, pbuf); padapter 205 drivers/staging/rtl8712/usb_ops_linux.c r8712_read_port(padapter, precvpriv->ff_hwaddr, padapter 211 drivers/staging/rtl8712/usb_ops_linux.c r8712_read_port(padapter, precvpriv->ff_hwaddr, padapter 221 drivers/staging/rtl8712/usb_ops_linux.c padapter->driver_stopped = true; padapter 224 drivers/staging/rtl8712/usb_ops_linux.c if (!padapter->suspended) { padapter 225 drivers/staging/rtl8712/usb_ops_linux.c padapter->driver_stopped = true; padapter 230 drivers/staging/rtl8712/usb_ops_linux.c r8712_read_port(padapter, precvpriv->ff_hwaddr, 0, padapter 234 drivers/staging/rtl8712/usb_ops_linux.c netdev_err(padapter->pnetdev, "ERROR: URB IS IN PROGRESS!\n"); padapter 253 drivers/staging/rtl8712/usb_ops_linux.c struct _adapter *adapter = pdvobj->padapter; padapter 298 drivers/staging/rtl8712/usb_ops_linux.c void r8712_usb_read_port_cancel(struct _adapter *padapter) padapter 303 drivers/staging/rtl8712/usb_ops_linux.c precvbuf = (struct recv_buf *)padapter->recvpriv.precv_buf; padapter 314 drivers/staging/rtl8712/usb_ops_linux.c struct _adapter *padapter = priv; padapter 315 drivers/staging/rtl8712/usb_ops_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 317 drivers/staging/rtl8712/usb_ops_linux.c if (padapter->driver_stopped || padapter 318 drivers/staging/rtl8712/usb_ops_linux.c padapter->surprise_removed) { padapter 319 drivers/staging/rtl8712/usb_ops_linux.c netdev_err(padapter->pnetdev, "xmit_bh => driver_stopped or surprise_removed\n"); padapter 322 drivers/staging/rtl8712/usb_ops_linux.c ret = r8712_xmitframe_complete(padapter, pxmitpriv, NULL); padapter 333 drivers/staging/rtl8712/usb_ops_linux.c struct _adapter *padapter = pxmitframe->padapter; padapter 334 drivers/staging/rtl8712/usb_ops_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 363 drivers/staging/rtl8712/usb_ops_linux.c if (padapter->surprise_removed) padapter 369 drivers/staging/rtl8712/usb_ops_linux.c netdev_warn(padapter->pnetdev, padapter 386 drivers/staging/rtl8712/usb_ops_linux.c struct _adapter *padapter = (struct _adapter *)pintfhdl->adapter; padapter 387 drivers/staging/rtl8712/usb_ops_linux.c struct dvobj_priv *pdvobj = &padapter->dvobjpriv; padapter 388 drivers/staging/rtl8712/usb_ops_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 393 drivers/staging/rtl8712/usb_ops_linux.c if ((padapter->driver_stopped) || (padapter->surprise_removed) || padapter 394 drivers/staging/rtl8712/usb_ops_linux.c (padapter->pwrctrlpriv.pnp_bstop_trx)) padapter 454 drivers/staging/rtl8712/usb_ops_linux.c void r8712_usb_write_port_cancel(struct _adapter *padapter) padapter 458 drivers/staging/rtl8712/usb_ops_linux.c padapter->xmitpriv.pxmitbuf; padapter 22 drivers/staging/rtl8712/usb_osintf.h unsigned int r8712_usb_inirp_init(struct _adapter *padapter); padapter 23 drivers/staging/rtl8712/usb_osintf.h unsigned int r8712_usb_inirp_deinit(struct _adapter *padapter); padapter 24 drivers/staging/rtl8712/usb_osintf.h uint rtl871x_hal_init(struct _adapter *padapter); padapter 25 drivers/staging/rtl8712/usb_osintf.h uint rtl8712_hal_deinit(struct _adapter *padapter); padapter 27 drivers/staging/rtl8712/usb_osintf.h void rtl871x_intf_stop(struct _adapter *padapter); padapter 28 drivers/staging/rtl8712/usb_osintf.h void r871x_dev_unload(struct _adapter *padapter); padapter 29 drivers/staging/rtl8712/usb_osintf.h void r8712_stop_drv_threads(struct _adapter *padapter); padapter 30 drivers/staging/rtl8712/usb_osintf.h void r8712_stop_drv_timers(struct _adapter *padapter); padapter 31 drivers/staging/rtl8712/usb_osintf.h int r8712_init_drv_sw(struct _adapter *padapter); padapter 32 drivers/staging/rtl8712/usb_osintf.h void r8712_free_drv_sw(struct _adapter *padapter); padapter 114 drivers/staging/rtl8712/xmit_linux.c int r8712_xmit_resource_alloc(struct _adapter *padapter, padapter 122 drivers/staging/rtl8712/xmit_linux.c netdev_err(padapter->pnetdev, "pxmitbuf->pxmit_urb[i] == NULL\n"); padapter 130 drivers/staging/rtl8712/xmit_linux.c void r8712_xmit_resource_free(struct _adapter *padapter, padapter 143 drivers/staging/rtl8712/xmit_linux.c void r8712_xmit_complete(struct _adapter *padapter, struct xmit_frame *pxframe) padapter 39 drivers/staging/rtl8712/xmit_osdep.h int r8712_xmit_resource_alloc(struct _adapter *padapter, padapter 41 drivers/staging/rtl8712/xmit_osdep.h void r8712_xmit_resource_free(struct _adapter *padapter, padapter 49 drivers/staging/rtl8712/xmit_osdep.h void r8712_xmit_complete(struct _adapter *padapter, padapter 17 drivers/staging/rtl8723bs/core/rtw_ap.c void init_mlme_ap_info(struct adapter *padapter) padapter 19 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 20 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 30 drivers/staging/rtl8723bs/core/rtw_ap.c start_ap_mode(padapter); padapter 33 drivers/staging/rtl8723bs/core/rtw_ap.c void free_mlme_ap_info(struct adapter *padapter) padapter 36 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 37 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 45 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_sta_flush(padapter); padapter 50 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_free_all_stainfo(padapter); padapter 53 drivers/staging/rtl8723bs/core/rtw_ap.c psta = rtw_get_bcmc_stainfo(padapter); padapter 54 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_free_stainfo(padapter, psta); padapter 57 drivers/staging/rtl8723bs/core/rtw_ap.c static void update_BCNTIM(struct adapter *padapter) padapter 59 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 60 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 201 drivers/staging/rtl8723bs/core/rtw_ap.c void expire_timeout_chk(struct adapter *padapter) padapter 206 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 220 drivers/staging/rtl8723bs/core/rtw_ap.c , FUNC_NDEV_ARG(padapter->pnetdev), pstapriv->auth_list_cnt); padapter 246 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_free_stainfo(padapter, psta); padapter 265 drivers/staging/rtl8723bs/core/rtw_ap.c , FUNC_NDEV_ARG(padapter->pnetdev), pstapriv->asoc_list_cnt); padapter 285 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 287 drivers/staging/rtl8723bs/core/rtw_ap.c if (padapter->registrypriv.wifi_spec == 1) { padapter 302 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, _TIM_IE_, NULL, true); padapter 324 drivers/staging/rtl8723bs/core/rtw_ap.c updated = ap_free_sta(padapter, psta, false, WLAN_REASON_DEAUTH_LEAVING); padapter 328 drivers/staging/rtl8723bs/core/rtw_ap.c && padapter->xmitpriv.free_xmitframe_cnt < (( padapter 337 drivers/staging/rtl8723bs/core/rtw_ap.c padapter->xmitpriv.free_xmitframe_cnt, padapter 340 drivers/staging/rtl8723bs/core/rtw_ap.c wakeup_sta_to_xmit(padapter, psta); padapter 349 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 352 drivers/staging/rtl8723bs/core/rtw_ap.c if (rtw_get_oper_ch(padapter) != pmlmeext->cur_channel) { padapter 353 drivers/staging/rtl8723bs/core/rtw_ap.c backup_oper_channel = rtw_get_oper_ch(padapter); padapter 354 drivers/staging/rtl8723bs/core/rtw_ap.c SelectChannel(padapter, pmlmeext->cur_channel); padapter 366 drivers/staging/rtl8723bs/core/rtw_ap.c ret = issue_nulldata(padapter, psta->hwaddr, 0, 1, 50); padapter 368 drivers/staging/rtl8723bs/core/rtw_ap.c ret = issue_nulldata(padapter, psta->hwaddr, 0, 3, 50); padapter 396 drivers/staging/rtl8723bs/core/rtw_ap.c updated = ap_free_sta(padapter, psta, false, WLAN_REASON_DEAUTH_LEAVING); padapter 402 drivers/staging/rtl8723bs/core/rtw_ap.c SelectChannel(padapter, backup_oper_channel); padapter 405 drivers/staging/rtl8723bs/core/rtw_ap.c associated_clients_update(padapter, updated); padapter 408 drivers/staging/rtl8723bs/core/rtw_ap.c void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) padapter 412 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 422 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_update_sta_rate_mask(padapter, psta); padapter 445 drivers/staging/rtl8723bs/core/rtw_ap.c psta->raid = networktype_to_raid_ex(padapter, psta); padapter 458 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_add_ra_tid(padapter, tx_ra_bitmap, arg, rssi_level); padapter 464 drivers/staging/rtl8723bs/core/rtw_ap.c void update_bmc_sta(struct adapter *padapter) padapter 469 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 470 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 474 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_info *psta = rtw_get_bcmc_stainfo(padapter); padapter 511 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_update_sta_rate_mask(padapter, psta); padapter 514 drivers/staging/rtl8723bs/core/rtw_ap.c psta->raid = networktype_to_raid_ex(padapter, psta); padapter 517 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, true); padapter 531 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_add_ra_tid(padapter, tx_ra_bitmap, arg, 0); padapter 534 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_sta_media_status_rpt(padapter, psta, 1); padapter 552 drivers/staging/rtl8723bs/core/rtw_ap.c void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta) padapter 554 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 555 drivers/staging/rtl8723bs/core/rtw_ap.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 556 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 570 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, true); padapter 580 drivers/staging/rtl8723bs/core/rtw_ap.c VCS_update(padapter, psta); padapter 649 drivers/staging/rtl8723bs/core/rtw_ap.c send_delba(padapter, 0, psta->hwaddr);/* recipient */ padapter 652 drivers/staging/rtl8723bs/core/rtw_ap.c send_delba(padapter, 1, psta->hwaddr);/* originator */ padapter 670 drivers/staging/rtl8723bs/core/rtw_ap.c static void update_ap_info(struct adapter *padapter, struct sta_info *psta) padapter 672 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 675 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 713 drivers/staging/rtl8723bs/core/rtw_ap.c static void update_hw_ht_param(struct adapter *padapter) padapter 717 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 734 drivers/staging/rtl8723bs/core/rtw_ap.c padapter, padapter 739 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_AMPDU_FACTOR, (u8 *)(&max_AMPDU_len)); padapter 756 drivers/staging/rtl8723bs/core/rtw_ap.c void start_bss_network(struct adapter *padapter, u8 *pbuf) padapter 763 drivers/staging/rtl8723bs/core/rtw_ap.c struct registry_priv *pregpriv = &padapter->registrypriv; padapter 764 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 765 drivers/staging/rtl8723bs/core/rtw_ap.c struct security_priv *psecuritypriv = &(padapter->securitypriv); padapter 768 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 799 drivers/staging/rtl8723bs/core/rtw_ap.c update_hw_ht_param(padapter); padapter 809 drivers/staging/rtl8723bs/core/rtw_ap.c flush_all_cam_entry(padapter); /* clear CAM */ padapter 813 drivers/staging/rtl8723bs/core/rtw_ap.c Set_MSR(padapter, _HW_STATE_AP_); padapter 816 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_BSSID, pnetwork->MacAddress); padapter 820 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_VO, (u8 *)(&acparm)); padapter 822 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_VI, (u8 *)(&acparm)); padapter 825 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_BE, (u8 *)(&acparm)); padapter 827 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_BK, (u8 *)(&acparm)); padapter 833 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); padapter 836 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_BEACON_INTERVAL, (u8 *)(&bcn_interval)); padapter 838 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_DO_IQK, NULL); padapter 850 drivers/staging/rtl8723bs/core/rtw_ap.c Switch_DM_Func(padapter, DYNAMIC_ALL_FUNC_ENABLE, true); padapter 896 drivers/staging/rtl8723bs/core/rtw_ap.c set_channel_bwmode(padapter, cur_channel, cur_ch_offset, cur_bwmode); padapter 912 drivers/staging/rtl8723bs/core/rtw_ap.c update_wireless_mode(padapter); padapter 915 drivers/staging/rtl8723bs/core/rtw_ap.c UpdateBrateTbl(padapter, pnetwork->SupportedRates); padapter 916 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_BASIC_RATE, pnetwork->SupportedRates); padapter 920 drivers/staging/rtl8723bs/core/rtw_ap.c padapter, padapter 925 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, _TIM_IE_, NULL, true); padapter 929 drivers/staging/rtl8723bs/core/rtw_ap.c if (send_beacon(padapter) == _FAIL) padapter 936 drivers/staging/rtl8723bs/core/rtw_ap.c update_bmc_sta(padapter); padapter 941 drivers/staging/rtl8723bs/core/rtw_ap.c int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len) padapter 955 drivers/staging/rtl8723bs/core/rtw_ap.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 956 drivers/staging/rtl8723bs/core/rtw_ap.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 957 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 992 drivers/staging/rtl8723bs/core/rtw_ap.c memcpy(pbss_network->MacAddress, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 1067 drivers/staging/rtl8723bs/core/rtw_ap.c ERP_IE_handler(padapter, (struct ndis_80211_var_ie *)p); padapter 1189 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_ht_use_default_setting(padapter); padapter 1218 drivers/staging/rtl8723bs/core/rtw_ap.c padapter, padapter 1226 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_get_hwreg(padapter, HW_VAR_RF_TYPE, (u8 *)(&rf_type)); padapter 1281 drivers/staging/rtl8723bs/core/rtw_ap.c HT_caps_handler(padapter, (struct ndis_80211_var_ie *)pHT_caps_ie); padapter 1283 drivers/staging/rtl8723bs/core/rtw_ap.c HT_info_handler(padapter, (struct ndis_80211_var_ie *)pHT_info_ie); padapter 1292 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_startbss_cmd(padapter, RTW_CMDF_WAIT_ACK); padapter 1295 drivers/staging/rtl8723bs/core/rtw_ap.c psta = rtw_get_stainfo(&padapter->stapriv, pbss_network->MacAddress); padapter 1297 drivers/staging/rtl8723bs/core/rtw_ap.c psta = rtw_alloc_stainfo(&padapter->stapriv, pbss_network->MacAddress); padapter 1303 drivers/staging/rtl8723bs/core/rtw_ap.c update_ap_info(padapter, psta); padapter 1306 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_indicate_connect(padapter); padapter 1316 drivers/staging/rtl8723bs/core/rtw_ap.c void rtw_set_macaddr_acl(struct adapter *padapter, int mode) padapter 1318 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1326 drivers/staging/rtl8723bs/core/rtw_ap.c int rtw_acl_add_sta(struct adapter *padapter, u8 *addr) padapter 1332 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1396 drivers/staging/rtl8723bs/core/rtw_ap.c void rtw_acl_remove_sta(struct adapter *padapter, u8 *addr) padapter 1400 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1441 drivers/staging/rtl8723bs/core/rtw_ap.c u8 rtw_ap_set_pairwise_key(struct adapter *padapter, struct sta_info *psta) padapter 1445 drivers/staging/rtl8723bs/core/rtw_ap.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1477 drivers/staging/rtl8723bs/core/rtw_ap.c struct adapter *padapter, padapter 1487 drivers/staging/rtl8723bs/core/rtw_ap.c struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); padapter 1506 drivers/staging/rtl8723bs/core/rtw_ap.c padapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); padapter 1543 drivers/staging/rtl8723bs/core/rtw_ap.c int rtw_ap_set_group_key(struct adapter *padapter, u8 *key, u8 alg, int keyid) padapter 1547 drivers/staging/rtl8723bs/core/rtw_ap.c return rtw_ap_set_key(padapter, key, alg, keyid, 1); padapter 1551 drivers/staging/rtl8723bs/core/rtw_ap.c struct adapter *padapter, padapter 1573 drivers/staging/rtl8723bs/core/rtw_ap.c return rtw_ap_set_key(padapter, key, alg, keyid, set_tx); padapter 1576 drivers/staging/rtl8723bs/core/rtw_ap.c static void update_bcn_fixed_ie(struct adapter *padapter) padapter 1581 drivers/staging/rtl8723bs/core/rtw_ap.c static void update_bcn_erpinfo_ie(struct adapter *padapter) padapter 1583 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1584 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 1617 drivers/staging/rtl8723bs/core/rtw_ap.c ERP_IE_handler(padapter, pIE); padapter 1621 drivers/staging/rtl8723bs/core/rtw_ap.c static void update_bcn_htcap_ie(struct adapter *padapter) padapter 1626 drivers/staging/rtl8723bs/core/rtw_ap.c static void update_bcn_htinfo_ie(struct adapter *padapter) padapter 1631 drivers/staging/rtl8723bs/core/rtw_ap.c static void update_bcn_rsn_ie(struct adapter *padapter) padapter 1636 drivers/staging/rtl8723bs/core/rtw_ap.c static void update_bcn_wpa_ie(struct adapter *padapter) padapter 1641 drivers/staging/rtl8723bs/core/rtw_ap.c static void update_bcn_wmm_ie(struct adapter *padapter) padapter 1646 drivers/staging/rtl8723bs/core/rtw_ap.c static void update_bcn_wps_ie(struct adapter *padapter) padapter 1654 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1655 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 1724 drivers/staging/rtl8723bs/core/rtw_ap.c static void update_bcn_p2p_ie(struct adapter *padapter) padapter 1728 drivers/staging/rtl8723bs/core/rtw_ap.c static void update_bcn_vendor_spec_ie(struct adapter *padapter, u8 *oui) padapter 1733 drivers/staging/rtl8723bs/core/rtw_ap.c update_bcn_wpa_ie(padapter); padapter 1736 drivers/staging/rtl8723bs/core/rtw_ap.c update_bcn_wmm_ie(padapter); padapter 1739 drivers/staging/rtl8723bs/core/rtw_ap.c update_bcn_wps_ie(padapter); padapter 1742 drivers/staging/rtl8723bs/core/rtw_ap.c update_bcn_p2p_ie(padapter); padapter 1748 drivers/staging/rtl8723bs/core/rtw_ap.c void update_beacon(struct adapter *padapter, u8 ie_id, u8 *oui, u8 tx) padapter 1756 drivers/staging/rtl8723bs/core/rtw_ap.c if (!padapter) padapter 1759 drivers/staging/rtl8723bs/core/rtw_ap.c pmlmepriv = &(padapter->mlmepriv); padapter 1760 drivers/staging/rtl8723bs/core/rtw_ap.c pmlmeext = &(padapter->mlmeextpriv); padapter 1771 drivers/staging/rtl8723bs/core/rtw_ap.c update_bcn_fixed_ie(padapter);/* 8: TimeStamp, 2: Beacon Interval 2:Capability */ padapter 1777 drivers/staging/rtl8723bs/core/rtw_ap.c update_BCNTIM(padapter); padapter 1783 drivers/staging/rtl8723bs/core/rtw_ap.c update_bcn_erpinfo_ie(padapter); padapter 1789 drivers/staging/rtl8723bs/core/rtw_ap.c update_bcn_htcap_ie(padapter); padapter 1795 drivers/staging/rtl8723bs/core/rtw_ap.c update_bcn_rsn_ie(padapter); padapter 1801 drivers/staging/rtl8723bs/core/rtw_ap.c update_bcn_htinfo_ie(padapter); padapter 1807 drivers/staging/rtl8723bs/core/rtw_ap.c update_bcn_vendor_spec_ie(padapter, oui); padapter 1822 drivers/staging/rtl8723bs/core/rtw_ap.c set_tx_beacon_cmd(padapter); padapter 1839 drivers/staging/rtl8723bs/core/rtw_ap.c static int rtw_ht_operation_update(struct adapter *padapter) padapter 1843 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1910 drivers/staging/rtl8723bs/core/rtw_ap.c void associated_clients_update(struct adapter *padapter, u8 updated) padapter 1916 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1929 drivers/staging/rtl8723bs/core/rtw_ap.c VCS_update(padapter, psta); padapter 1937 drivers/staging/rtl8723bs/core/rtw_ap.c void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta) padapter 1940 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1941 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 1952 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, 0xFF, NULL, true); padapter 1964 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, 0xFF, NULL, true); padapter 1977 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, _ERPINFO_IE_, NULL, true); padapter 1988 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, _ERPINFO_IE_, NULL, true); padapter 2002 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, 0xFF, NULL, true); padapter 2014 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, 0xFF, NULL, true); padapter 2065 drivers/staging/rtl8723bs/core/rtw_ap.c if (rtw_ht_operation_update(padapter) > 0) { padapter 2066 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, _HT_CAPABILITY_IE_, NULL, false); padapter 2067 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, _HT_ADD_INFO_IE_, NULL, true); padapter 2071 drivers/staging/rtl8723bs/core/rtw_ap.c associated_clients_update(padapter, beacon_updated); padapter 2076 drivers/staging/rtl8723bs/core/rtw_ap.c u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta) padapter 2079 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2080 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 2091 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, 0xFF, NULL, true); padapter 2100 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, _ERPINFO_IE_, NULL, true); padapter 2110 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, 0xFF, NULL, true); padapter 2129 drivers/staging/rtl8723bs/core/rtw_ap.c if (rtw_ht_operation_update(padapter) > 0) { padapter 2130 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, _HT_CAPABILITY_IE_, NULL, false); padapter 2131 drivers/staging/rtl8723bs/core/rtw_ap.c update_beacon(padapter, _HT_ADD_INFO_IE_, NULL, true); padapter 2143 drivers/staging/rtl8723bs/core/rtw_ap.c struct adapter *padapter, padapter 2156 drivers/staging/rtl8723bs/core/rtw_ap.c send_delba(padapter, 0, psta->hwaddr);/* recipient */ padapter 2159 drivers/staging/rtl8723bs/core/rtw_ap.c send_delba(padapter, 1, psta->hwaddr);/* // originator */ padapter 2161 drivers/staging/rtl8723bs/core/rtw_ap.c issue_deauth(padapter, psta->hwaddr, reason); padapter 2170 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_clearstakey_cmd(padapter, psta, true); padapter 2176 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_cfg80211_indicate_sta_disassoc(padapter, psta->hwaddr, reason); padapter 2178 drivers/staging/rtl8723bs/core/rtw_ap.c report_del_sta_event(padapter, psta->hwaddr, reason); padapter 2180 drivers/staging/rtl8723bs/core/rtw_ap.c beacon_updated = bss_cap_update_on_sta_leave(padapter, psta); padapter 2182 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_free_stainfo(padapter, psta); padapter 2187 drivers/staging/rtl8723bs/core/rtw_ap.c void rtw_sta_flush(struct adapter *padapter) padapter 2191 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2192 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2196 drivers/staging/rtl8723bs/core/rtw_ap.c DBG_871X(FUNC_NDEV_FMT"\n", FUNC_NDEV_ARG(padapter->pnetdev)); padapter 2215 drivers/staging/rtl8723bs/core/rtw_ap.c ap_free_sta(padapter, psta, true, WLAN_REASON_DEAUTH_LEAVING); padapter 2220 drivers/staging/rtl8723bs/core/rtw_ap.c issue_deauth(padapter, bc_addr, WLAN_REASON_DEAUTH_LEAVING); padapter 2222 drivers/staging/rtl8723bs/core/rtw_ap.c associated_clients_update(padapter, true); padapter 2226 drivers/staging/rtl8723bs/core/rtw_ap.c void sta_info_update(struct adapter *padapter, struct sta_info *psta) padapter 2229 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2251 drivers/staging/rtl8723bs/core/rtw_ap.c update_sta_info_apmode(padapter, psta); padapter 2255 drivers/staging/rtl8723bs/core/rtw_ap.c void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta) padapter 2257 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2264 drivers/staging/rtl8723bs/core/rtw_ap.c add_RATid(padapter, psta, 0);/* DM_RATR_STA_INIT */ padapter 2268 drivers/staging/rtl8723bs/core/rtw_ap.c void rtw_ap_restore_network(struct adapter *padapter) padapter 2270 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *mlmepriv = &padapter->mlmepriv; padapter 2271 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2272 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2274 drivers/staging/rtl8723bs/core/rtw_ap.c struct security_priv *psecuritypriv = &(padapter->securitypriv); padapter 2280 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_setopmode_cmd(padapter, Ndis802_11APMode, false); padapter 2283 drivers/staging/rtl8723bs/core/rtw_ap.c padapter, padapter 2289 drivers/staging/rtl8723bs/core/rtw_ap.c start_bss_network(padapter, (u8 *)&mlmepriv->cur_network.network); padapter 2291 drivers/staging/rtl8723bs/core/rtw_ap.c if ((padapter->securitypriv.dot11PrivacyAlgrthm == _TKIP_) || padapter 2292 drivers/staging/rtl8723bs/core/rtw_ap.c (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { padapter 2295 drivers/staging/rtl8723bs/core/rtw_ap.c padapter, padapter 2325 drivers/staging/rtl8723bs/core/rtw_ap.c DBG_871X(FUNC_ADPT_FMT" sta_info is null\n", FUNC_ADPT_ARG(padapter)); padapter 2327 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_sta_media_status_rpt(padapter, psta, 1); padapter 2328 drivers/staging/rtl8723bs/core/rtw_ap.c Update_RA_Entry(padapter, psta); padapter 2333 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_setstakey_cmd(padapter, psta, true, false); padapter 2339 drivers/staging/rtl8723bs/core/rtw_ap.c void start_ap_mode(struct adapter *padapter) padapter 2342 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2343 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2344 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2388 drivers/staging/rtl8723bs/core/rtw_ap.c void stop_ap_mode(struct adapter *padapter) padapter 2393 drivers/staging/rtl8723bs/core/rtw_ap.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2394 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2395 drivers/staging/rtl8723bs/core/rtw_ap.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2404 drivers/staging/rtl8723bs/core/rtw_ap.c (unsigned char *)&padapter->securitypriv, padapter 2408 drivers/staging/rtl8723bs/core/rtw_ap.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; padapter 2409 drivers/staging/rtl8723bs/core/rtw_ap.c padapter->securitypriv.ndisencryptstatus = Ndis802_11WEPDisabled; padapter 2431 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_sta_flush(padapter); padapter 2434 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_free_all_stainfo(padapter); padapter 2436 drivers/staging/rtl8723bs/core/rtw_ap.c psta = rtw_get_bcmc_stainfo(padapter); padapter 2437 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_free_stainfo(padapter, psta); padapter 2439 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_init_bcmc_stainfo(padapter); padapter 2443 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_btcoex_MediaStatusNotify(padapter, 0); /* disconnect */ padapter 12 drivers/staging/rtl8723bs/core/rtw_btcoex.c void rtw_btcoex_MediaStatusNotify(struct adapter *padapter, u8 mediaStatus) padapter 15 drivers/staging/rtl8723bs/core/rtw_btcoex.c && (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == true)) { padapter 16 drivers/staging/rtl8723bs/core/rtw_btcoex.c rtw_hal_set_hwreg(padapter, HW_VAR_DL_RSVD_PAGE, NULL); padapter 19 drivers/staging/rtl8723bs/core/rtw_btcoex.c hal_btcoex_MediaStatusNotify(padapter, mediaStatus); padapter 22 drivers/staging/rtl8723bs/core/rtw_btcoex.c void rtw_btcoex_HaltNotify(struct adapter *padapter) padapter 24 drivers/staging/rtl8723bs/core/rtw_btcoex.c if (!padapter->bup) { padapter 26 drivers/staging/rtl8723bs/core/rtw_btcoex.c FUNC_ADPT_ARG(padapter), padapter->bup); padapter 31 drivers/staging/rtl8723bs/core/rtw_btcoex.c if (padapter->bSurpriseRemoved) { padapter 33 drivers/staging/rtl8723bs/core/rtw_btcoex.c FUNC_ADPT_ARG(padapter), padapter->bSurpriseRemoved); padapter 38 drivers/staging/rtl8723bs/core/rtw_btcoex.c hal_btcoex_HaltNotify(padapter); padapter 44 drivers/staging/rtl8723bs/core/rtw_btcoex.c void rtw_btcoex_RejectApAggregatedPacket(struct adapter *padapter, u8 enable) padapter 49 drivers/staging/rtl8723bs/core/rtw_btcoex.c pmlmeinfo = &padapter->mlmeextpriv.mlmext_info; padapter 50 drivers/staging/rtl8723bs/core/rtw_btcoex.c psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(&padapter->mlmepriv)); padapter 55 drivers/staging/rtl8723bs/core/rtw_btcoex.c send_delba(padapter, 0, psta->hwaddr); padapter 61 drivers/staging/rtl8723bs/core/rtw_btcoex.c void rtw_btcoex_LPS_Enter(struct adapter *padapter) padapter 67 drivers/staging/rtl8723bs/core/rtw_btcoex.c pwrpriv = adapter_to_pwrctl(padapter); padapter 70 drivers/staging/rtl8723bs/core/rtw_btcoex.c lpsVal = hal_btcoex_LpsVal(padapter); padapter 71 drivers/staging/rtl8723bs/core/rtw_btcoex.c rtw_set_ps_mode(padapter, PS_MODE_MIN, 0, lpsVal, "BTCOEX"); padapter 74 drivers/staging/rtl8723bs/core/rtw_btcoex.c void rtw_btcoex_LPS_Leave(struct adapter *padapter) padapter 79 drivers/staging/rtl8723bs/core/rtw_btcoex.c pwrpriv = adapter_to_pwrctl(padapter); padapter 82 drivers/staging/rtl8723bs/core/rtw_btcoex.c rtw_set_ps_mode(padapter, PS_MODE_ACTIVE, 0, 0, "BTCOEX"); padapter 83 drivers/staging/rtl8723bs/core/rtw_btcoex.c LPS_RF_ON_check(padapter, 100); padapter 319 drivers/staging/rtl8723bs/core/rtw_cmd.c if ((pcmdpriv->padapter->hw_init_completed == false && bAllow == false) padapter 338 drivers/staging/rtl8723bs/core/rtw_cmd.c struct adapter *padapter = pcmdpriv->padapter; padapter 344 drivers/staging/rtl8723bs/core/rtw_cmd.c cmd_obj->padapter = padapter; padapter 408 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 (*cmd_hdl)(struct adapter *padapter, u8 *pbuf); padapter 410 drivers/staging/rtl8723bs/core/rtw_cmd.c struct adapter *padapter = context; padapter 411 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); padapter 426 drivers/staging/rtl8723bs/core/rtw_cmd.c DBG_871X_LEVEL(_drv_always_, FUNC_ADPT_FMT" wait_for_completion_interruptible(&pcmdpriv->cmd_queue_comp) return != 0, break\n", FUNC_ADPT_ARG(padapter)); padapter 430 drivers/staging/rtl8723bs/core/rtw_cmd.c if ((padapter->bDriverStopped == true) || (padapter->bSurpriseRemoved == true)) { padapter 432 drivers/staging/rtl8723bs/core/rtw_cmd.c __func__, padapter->bDriverStopped, padapter->bSurpriseRemoved, __LINE__); padapter 437 drivers/staging/rtl8723bs/core/rtw_cmd.c DBG_871X_LEVEL(_drv_always_, FUNC_ADPT_FMT" stop_req:%u, break\n", FUNC_ADPT_ARG(padapter), pcmdpriv->stop_req); padapter 446 drivers/staging/rtl8723bs/core/rtw_cmd.c if (rtw_register_cmd_alive(padapter) != _SUCCESS) { padapter 453 drivers/staging/rtl8723bs/core/rtw_cmd.c if ((padapter->bDriverStopped == true) || (padapter->bSurpriseRemoved == true)) { padapter 455 drivers/staging/rtl8723bs/core/rtw_cmd.c __func__, padapter->bDriverStopped, padapter->bSurpriseRemoved, __LINE__); padapter 461 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_unregister_cmd_alive(padapter); padapter 482 drivers/staging/rtl8723bs/core/rtw_cmd.c ret = cmd_hdl(pcmd->padapter, pcmdbuf); padapter 495 drivers/staging/rtl8723bs/core/rtw_cmd.c if (mutex_lock_interruptible(&(pcmd->padapter->cmdpriv.sctx_mutex)) == 0) { padapter 498 drivers/staging/rtl8723bs/core/rtw_cmd.c FUNC_ADPT_ARG(pcmd->padapter)); padapter 505 drivers/staging/rtl8723bs/core/rtw_cmd.c mutex_unlock(&(pcmd->padapter->cmdpriv.sctx_mutex)); padapter 512 drivers/staging/rtl8723bs/core/rtw_cmd.c ADPT_ARG(pcmd->padapter), pcmd->cmdcode, cmd_process_time); padapter 516 drivers/staging/rtl8723bs/core/rtw_cmd.c ADPT_ARG(pcmd->padapter), pcmd->cmdcode, cmd_process_time); padapter 520 drivers/staging/rtl8723bs/core/rtw_cmd.c ADPT_ARG(pcmd->padapter), pcmd->cmdcode, cmd_process_time); padapter 533 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd_callback(pcmd->padapter, pcmd);/* need conider that free cmd_obj in rtw_cmd_callback */ padapter 550 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_unregister_cmd_alive(padapter); padapter 577 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_sitesurvey_cmd(struct adapter *padapter, struct ndis_802_11_ssid *ssid, int ssid_num, padapter 583 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 584 drivers/staging/rtl8723bs/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 587 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_SCAN, 1); padapter 600 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_free_network_queue(padapter, false); padapter 617 drivers/staging/rtl8723bs/core/rtw_cmd.c DBG_871X(FUNC_ADPT_FMT" ssid:(%s, %d)\n", FUNC_ADPT_ARG(padapter), padapter 631 drivers/staging/rtl8723bs/core/rtw_cmd.c DBG_871X(FUNC_ADPT_FMT" ch:%u\n", FUNC_ADPT_ARG(padapter), padapter 651 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_setdatarate_cmd(struct adapter *padapter, u8 *rateset) padapter 655 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 680 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_getbbrfreg_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd) padapter 687 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_createbss_cmd(struct adapter *padapter) padapter 690 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 691 drivers/staging/rtl8723bs/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 692 drivers/staging/rtl8723bs/core/rtw_cmd.c struct wlan_bssid_ex *pdev_network = &padapter->registrypriv.dev_network; padapter 722 drivers/staging/rtl8723bs/core/rtw_cmd.c int rtw_startbss_cmd(struct adapter *padapter, int flags) padapter 725 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 731 drivers/staging/rtl8723bs/core/rtw_cmd.c start_bss_network(padapter, (u8 *)&(padapter->mlmepriv.cur_network.network)); padapter 768 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network *pnetwork) padapter 774 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 775 drivers/staging/rtl8723bs/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 777 drivers/staging/rtl8723bs/core/rtw_cmd.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 778 drivers/staging/rtl8723bs/core/rtw_cmd.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 781 drivers/staging/rtl8723bs/core/rtw_cmd.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 845 drivers/staging/rtl8723bs/core/rtw_cmd.c psecnetwork->IELength = rtw_restruct_sec_ie(padapter, &pnetwork->network.IEs[0], &psecnetwork->IEs[0], pnetwork->network.IELength); padapter 851 drivers/staging/rtl8723bs/core/rtw_cmd.c tmp_len = rtw_restruct_wmm_ie(padapter, &pnetwork->network.IEs[0], &psecnetwork->IEs[0], pnetwork->network.IELength, psecnetwork->IELength); padapter 867 drivers/staging/rtl8723bs/core/rtw_cmd.c if ((padapter->securitypriv.dot11PrivacyAlgrthm != _WEP40_) && padapter 868 drivers/staging/rtl8723bs/core/rtw_cmd.c (padapter->securitypriv.dot11PrivacyAlgrthm != _WEP104_) && padapter 869 drivers/staging/rtl8723bs/core/rtw_cmd.c (padapter->securitypriv.dot11PrivacyAlgrthm != _TKIP_)) { padapter 870 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_ht_use_default_setting(padapter); padapter 872 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_build_wmm_ie_ht(padapter, &psecnetwork->IEs[12], &psecnetwork->IELength); padapter 875 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_restructure_ht_ie(padapter, &pnetwork->network.IEs[12], &psecnetwork->IEs[0], padapter 881 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_append_exented_cap(padapter, &psecnetwork->IEs[0], &psecnetwork->IELength); padapter 899 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_disassoc_cmd(struct adapter *padapter, u32 deauth_timeout_ms, bool enqueue) /* for sta_mode */ padapter 903 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *cmdpriv = &padapter->cmdpriv; padapter 928 drivers/staging/rtl8723bs/core/rtw_cmd.c if (H2C_SUCCESS != disconnect_hdl(padapter, (u8 *)param)) padapter 937 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_setopmode_cmd(struct adapter *padapter, enum NDIS_802_11_NETWORK_INFRASTRUCTURE networktype, bool enqueue) padapter 942 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 964 drivers/staging/rtl8723bs/core/rtw_cmd.c setopmode_hdl(padapter, (u8 *)psetop); padapter 971 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_setstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 unicast_key, bool enqueue) padapter 975 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 978 drivers/staging/rtl8723bs/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 979 drivers/staging/rtl8723bs/core/rtw_cmd.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 1003 drivers/staging/rtl8723bs/core/rtw_cmd.c padapter->securitypriv.busetkipkey = true; padapter 1026 drivers/staging/rtl8723bs/core/rtw_cmd.c set_stakey_hdl(padapter, (u8 *)psetstakey_para); padapter 1033 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_clearstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 enqueue) padapter 1037 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1043 drivers/staging/rtl8723bs/core/rtw_cmd.c while ((cam_id = rtw_camid_search(padapter, sta->hwaddr, -1)) >= 0) { padapter 1045 drivers/staging/rtl8723bs/core/rtw_cmd.c clear_cam_entry(padapter, cam_id); padapter 1046 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_camid_free(padapter, cam_id); padapter 1086 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_addbareq_cmd(struct adapter *padapter, u8 tid, u8 *addr) padapter 1088 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1121 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_reset_securitypriv_cmd(struct adapter *padapter) padapter 1125 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1156 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_free_assoc_resources_cmd(struct adapter *padapter) padapter 1160 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1191 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_dynamic_chk_wk_cmd(struct adapter *padapter) padapter 1195 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1226 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_set_chplan_cmd(struct adapter *padapter, u8 chplan, u8 enqueue, u8 swconfig) padapter 1230 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1237 drivers/staging/rtl8723bs/core/rtw_cmd.c if (swconfig && rtw_hal_is_disable_sw_channel_plan(padapter) == true) { padapter 1269 drivers/staging/rtl8723bs/core/rtw_cmd.c if (H2C_SUCCESS != set_chplan_hdl(padapter, (unsigned char *)setChannelPlan_param)) padapter 1277 drivers/staging/rtl8723bs/core/rtw_cmd.c padapter->mlmepriv.ChannelPlan = chplan; padapter 1283 drivers/staging/rtl8723bs/core/rtw_cmd.c static void collect_traffic_statistics(struct adapter *padapter) padapter 1285 drivers/staging/rtl8723bs/core/rtw_cmd.c struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter); padapter 1288 drivers/staging/rtl8723bs/core/rtw_cmd.c pdvobjpriv->traffic_stat.tx_bytes = padapter->xmitpriv.tx_bytes; padapter 1289 drivers/staging/rtl8723bs/core/rtw_cmd.c pdvobjpriv->traffic_stat.tx_pkts = padapter->xmitpriv.tx_pkts; padapter 1290 drivers/staging/rtl8723bs/core/rtw_cmd.c pdvobjpriv->traffic_stat.tx_drop = padapter->xmitpriv.tx_drop; padapter 1293 drivers/staging/rtl8723bs/core/rtw_cmd.c pdvobjpriv->traffic_stat.rx_bytes = padapter->recvpriv.rx_bytes; padapter 1294 drivers/staging/rtl8723bs/core/rtw_cmd.c pdvobjpriv->traffic_stat.rx_pkts = padapter->recvpriv.rx_pkts; padapter 1295 drivers/staging/rtl8723bs/core/rtw_cmd.c pdvobjpriv->traffic_stat.rx_drop = padapter->recvpriv.rx_drop; padapter 1307 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 traffic_status_watchdog(struct adapter *padapter, u8 from_timer) padapter 1316 drivers/staging/rtl8723bs/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1318 drivers/staging/rtl8723bs/core/rtw_cmd.c collect_traffic_statistics(padapter); padapter 1383 drivers/staging/rtl8723bs/core/rtw_cmd.c LPS_Enter(padapter, "TRAFFIC_IDLE"); padapter 1386 drivers/staging/rtl8723bs/core/rtw_cmd.c LPS_Leave(padapter, "TRAFFIC_BUSY"); padapter 1388 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_TRAFFIC_BUSY, 1); padapter 1391 drivers/staging/rtl8723bs/core/rtw_cmd.c struct dvobj_priv *dvobj = adapter_to_dvobj(padapter); padapter 1398 drivers/staging/rtl8723bs/core/rtw_cmd.c LPS_Leave(padapter, "NON_LINKED"); padapter 1415 drivers/staging/rtl8723bs/core/rtw_cmd.c static void dynamic_chk_wk_hdl(struct adapter *padapter) padapter 1418 drivers/staging/rtl8723bs/core/rtw_cmd.c pmlmepriv = &(padapter->mlmepriv); padapter 1421 drivers/staging/rtl8723bs/core/rtw_cmd.c expire_timeout_chk(padapter); padapter 1425 drivers/staging/rtl8723bs/core/rtw_cmd.c _linked_info_dump(padapter); padapter 1430 drivers/staging/rtl8723bs/core/rtw_cmd.c linked_status_chk(padapter); padapter 1431 drivers/staging/rtl8723bs/core/rtw_cmd.c traffic_status_watchdog(padapter, 0); padapter 1434 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_hal_dm_watchdog(padapter); padapter 1441 drivers/staging/rtl8723bs/core/rtw_cmd.c hal_btcoex_Handler(padapter); padapter 1445 drivers/staging/rtl8723bs/core/rtw_cmd.c if (is_primary_adapter(padapter)) padapter 1446 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_ps_processor(padapter); padapter 1449 drivers/staging/rtl8723bs/core/rtw_cmd.c void lps_ctrl_wk_hdl(struct adapter *padapter, u8 lps_ctrl_type); padapter 1450 drivers/staging/rtl8723bs/core/rtw_cmd.c void lps_ctrl_wk_hdl(struct adapter *padapter, u8 lps_ctrl_type) padapter 1452 drivers/staging/rtl8723bs/core/rtw_cmd.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 1453 drivers/staging/rtl8723bs/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1464 drivers/staging/rtl8723bs/core/rtw_cmd.c hal_btcoex_ScanNotify(padapter, true); padapter 1468 drivers/staging/rtl8723bs/core/rtw_cmd.c LPS_Leave(padapter, "LPS_CTRL_SCAN"); padapter 1473 drivers/staging/rtl8723bs/core/rtw_cmd.c LPS_Leave(padapter, "LPS_CTRL_JOINBSS"); padapter 1480 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_JOINBSSRPT, (u8 *)(&mstatus)); padapter 1481 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_btcoex_MediaStatusNotify(padapter, mstatus); padapter 1486 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_btcoex_MediaStatusNotify(padapter, mstatus); padapter 1487 drivers/staging/rtl8723bs/core/rtw_cmd.c LPS_Leave(padapter, "LPS_CTRL_DISCONNECT"); padapter 1488 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_JOINBSSRPT, (u8 *)(&mstatus)); padapter 1493 drivers/staging/rtl8723bs/core/rtw_cmd.c hal_btcoex_SpecialPacketNotify(padapter, PACKET_DHCP); padapter 1494 drivers/staging/rtl8723bs/core/rtw_cmd.c LPS_Leave(padapter, "LPS_CTRL_SPECIAL_PACKET"); padapter 1498 drivers/staging/rtl8723bs/core/rtw_cmd.c LPS_Leave(padapter, "LPS_CTRL_LEAVE"); padapter 1501 drivers/staging/rtl8723bs/core/rtw_cmd.c LPS_Leave(padapter, "LPS_CTRL_TRAFFIC_BUSY"); padapter 1507 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_lps_ctrl_wk_cmd(struct adapter *padapter, u8 lps_ctrl_type, u8 enqueue) padapter 1511 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1541 drivers/staging/rtl8723bs/core/rtw_cmd.c lps_ctrl_wk_hdl(padapter, lps_ctrl_type); padapter 1548 drivers/staging/rtl8723bs/core/rtw_cmd.c static void rtw_dm_in_lps_hdl(struct adapter *padapter) padapter 1550 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_hal_set_hwreg(padapter, HW_VAR_DM_IN_LPS, NULL); padapter 1553 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_dm_in_lps_wk_cmd(struct adapter *padapter) padapter 1557 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1589 drivers/staging/rtl8723bs/core/rtw_cmd.c static void rtw_lps_change_dtim_hdl(struct adapter *padapter, u8 dtim) padapter 1591 drivers/staging/rtl8723bs/core/rtw_cmd.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 1596 drivers/staging/rtl8723bs/core/rtw_cmd.c if (hal_btcoex_IsBtControlLps(padapter) == true) padapter 1613 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_PWRMODE, (u8 *)(&ps_mode)); padapter 1619 drivers/staging/rtl8723bs/core/rtw_cmd.c static void rtw_dm_ra_mask_hdl(struct adapter *padapter, struct sta_info *psta) padapter 1622 drivers/staging/rtl8723bs/core/rtw_cmd.c set_sta_rate(padapter, psta); padapter 1626 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_dm_ra_mask_wk_cmd(struct adapter *padapter, u8 *psta) padapter 1630 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1662 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_ps_cmd(struct adapter *padapter) padapter 1666 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1696 drivers/staging/rtl8723bs/core/rtw_cmd.c static void rtw_chk_hi_queue_hdl(struct adapter *padapter) padapter 1699 drivers/staging/rtl8723bs/core/rtw_cmd.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1703 drivers/staging/rtl8723bs/core/rtw_cmd.c psta_bmc = rtw_get_bcmc_stainfo(padapter); padapter 1707 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_hal_get_hwreg(padapter, HW_VAR_CHK_HI_QUEUE_EMPTY, &empty); padapter 1711 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_hal_get_hwreg(padapter, HW_VAR_CHK_HI_QUEUE_EMPTY, &empty); padapter 1725 drivers/staging/rtl8723bs/core/rtw_cmd.c update_beacon(padapter, _TIM_IE_, NULL, true); padapter 1727 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_chk_hi_queue_cmd(padapter); padapter 1734 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_chk_hi_queue_cmd(struct adapter *padapter) padapter 1738 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1828 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_c2h_packet_wk_cmd(struct adapter *padapter, u8 *pbuf, u16 length) padapter 1832 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1863 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_c2h_wk_cmd(struct adapter *padapter, u8 *c2h_evt) padapter 1867 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1944 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_drvextra_cmd_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 1955 drivers/staging/rtl8723bs/core/rtw_cmd.c dynamic_chk_wk_hdl(padapter); padapter 1958 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_ps_processor(padapter); padapter 1961 drivers/staging/rtl8723bs/core/rtw_cmd.c lps_ctrl_wk_hdl(padapter, (u8)pdrvextra_cmd->type); padapter 1964 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_dm_in_lps_hdl(padapter); padapter 1967 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_lps_change_dtim_hdl(padapter, (u8)pdrvextra_cmd->type); padapter 1970 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_chk_hi_queue_hdl(padapter); padapter 1974 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_reset_securitypriv(padapter); padapter 1977 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_free_assoc_resources(padapter, 1); padapter 1980 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_hal_set_hwreg_with_buf(padapter, HW_VAR_C2H_HANDLE, pdrvextra_cmd->pbuf, pdrvextra_cmd->size); padapter 1983 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_dm_ra_mask_hdl(padapter, (struct sta_info *)pdrvextra_cmd->pbuf); padapter 1986 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_btinfo_hdl(padapter, pdrvextra_cmd->pbuf, pdrvextra_cmd->size); padapter 1999 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_survey_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) padapter 2001 drivers/staging/rtl8723bs/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2016 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_disassoc_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) padapter 2018 drivers/staging/rtl8723bs/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2032 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_joinbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) padapter 2034 drivers/staging/rtl8723bs/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2047 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_createbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) padapter 2052 drivers/staging/rtl8723bs/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2070 drivers/staging/rtl8723bs/core/rtw_cmd.c psta = rtw_get_stainfo(&padapter->stapriv, pnetwork->MacAddress); padapter 2072 drivers/staging/rtl8723bs/core/rtw_cmd.c psta = rtw_alloc_stainfo(&padapter->stapriv, pnetwork->MacAddress); padapter 2079 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_indicate_connect(padapter); padapter 2123 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_setstaKey_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd) padapter 2126 drivers/staging/rtl8723bs/core/rtw_cmd.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2138 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_setassocsta_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd) padapter 2140 drivers/staging/rtl8723bs/core/rtw_cmd.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2141 drivers/staging/rtl8723bs/core/rtw_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 13 drivers/staging/rtl8723bs/core/rtw_eeprom.c void up_clk(_adapter *padapter, u16 *x) padapter 17 drivers/staging/rtl8723bs/core/rtw_eeprom.c rtw_write8(padapter, EE_9346CR, (u8)*x); padapter 24 drivers/staging/rtl8723bs/core/rtw_eeprom.c void down_clk(_adapter *padapter, u16 *x) padapter 28 drivers/staging/rtl8723bs/core/rtw_eeprom.c rtw_write8(padapter, EE_9346CR, (u8)*x); padapter 33 drivers/staging/rtl8723bs/core/rtw_eeprom.c void shift_out_bits(_adapter *padapter, u16 data, u16 count) padapter 38 drivers/staging/rtl8723bs/core/rtw_eeprom.c if (padapter->bSurpriseRemoved == true) { padapter 43 drivers/staging/rtl8723bs/core/rtw_eeprom.c x = rtw_read8(padapter, EE_9346CR); padapter 51 drivers/staging/rtl8723bs/core/rtw_eeprom.c if (padapter->bSurpriseRemoved == true) { padapter 55 drivers/staging/rtl8723bs/core/rtw_eeprom.c rtw_write8(padapter, EE_9346CR, (u8)x); padapter 57 drivers/staging/rtl8723bs/core/rtw_eeprom.c up_clk(padapter, &x); padapter 58 drivers/staging/rtl8723bs/core/rtw_eeprom.c down_clk(padapter, &x); padapter 61 drivers/staging/rtl8723bs/core/rtw_eeprom.c if (padapter->bSurpriseRemoved == true) { padapter 66 drivers/staging/rtl8723bs/core/rtw_eeprom.c rtw_write8(padapter, EE_9346CR, (u8)x); padapter 71 drivers/staging/rtl8723bs/core/rtw_eeprom.c u16 shift_in_bits(_adapter *padapter) padapter 75 drivers/staging/rtl8723bs/core/rtw_eeprom.c if (padapter->bSurpriseRemoved == true) { padapter 79 drivers/staging/rtl8723bs/core/rtw_eeprom.c x = rtw_read8(padapter, EE_9346CR); padapter 86 drivers/staging/rtl8723bs/core/rtw_eeprom.c up_clk(padapter, &x); padapter 87 drivers/staging/rtl8723bs/core/rtw_eeprom.c if (padapter->bSurpriseRemoved == true) { padapter 91 drivers/staging/rtl8723bs/core/rtw_eeprom.c x = rtw_read8(padapter, EE_9346CR); padapter 97 drivers/staging/rtl8723bs/core/rtw_eeprom.c down_clk(padapter, &x); padapter 105 drivers/staging/rtl8723bs/core/rtw_eeprom.c void standby(_adapter *padapter) padapter 109 drivers/staging/rtl8723bs/core/rtw_eeprom.c x = rtw_read8(padapter, EE_9346CR); padapter 112 drivers/staging/rtl8723bs/core/rtw_eeprom.c rtw_write8(padapter, EE_9346CR, x); padapter 116 drivers/staging/rtl8723bs/core/rtw_eeprom.c rtw_write8(padapter, EE_9346CR, x); padapter 121 drivers/staging/rtl8723bs/core/rtw_eeprom.c void eeprom_clean(_adapter *padapter) padapter 125 drivers/staging/rtl8723bs/core/rtw_eeprom.c if (padapter->bSurpriseRemoved == true) { padapter 129 drivers/staging/rtl8723bs/core/rtw_eeprom.c x = rtw_read8(padapter, EE_9346CR); padapter 130 drivers/staging/rtl8723bs/core/rtw_eeprom.c if (padapter->bSurpriseRemoved == true) { padapter 135 drivers/staging/rtl8723bs/core/rtw_eeprom.c rtw_write8(padapter, EE_9346CR, (u8)x); padapter 136 drivers/staging/rtl8723bs/core/rtw_eeprom.c if (padapter->bSurpriseRemoved == true) { padapter 140 drivers/staging/rtl8723bs/core/rtw_eeprom.c up_clk(padapter, &x); padapter 141 drivers/staging/rtl8723bs/core/rtw_eeprom.c if (padapter->bSurpriseRemoved == true) { padapter 145 drivers/staging/rtl8723bs/core/rtw_eeprom.c down_clk(padapter, &x); padapter 150 drivers/staging/rtl8723bs/core/rtw_eeprom.c u16 eeprom_read16(_adapter *padapter, u16 reg) /*ReadEEprom*/ padapter 158 drivers/staging/rtl8723bs/core/rtw_eeprom.c if (padapter->bSurpriseRemoved == true) { padapter 163 drivers/staging/rtl8723bs/core/rtw_eeprom.c x = rtw_read8(padapter, EE_9346CR); padapter 165 drivers/staging/rtl8723bs/core/rtw_eeprom.c if (padapter->bSurpriseRemoved == true) { padapter 172 drivers/staging/rtl8723bs/core/rtw_eeprom.c rtw_write8(padapter, EE_9346CR, (unsigned char)x); padapter 176 drivers/staging/rtl8723bs/core/rtw_eeprom.c shift_out_bits(padapter, EEPROM_READ_OPCODE, 3); padapter 177 drivers/staging/rtl8723bs/core/rtw_eeprom.c shift_out_bits(padapter, reg, padapter->EepromAddressSize); padapter 180 drivers/staging/rtl8723bs/core/rtw_eeprom.c data = shift_in_bits(padapter); padapter 182 drivers/staging/rtl8723bs/core/rtw_eeprom.c eeprom_clean(padapter); padapter 191 drivers/staging/rtl8723bs/core/rtw_eeprom.c u8 eeprom_read(_adapter *padapter, u32 addr_off, u8 sz, u8 *rbuf) padapter 201 drivers/staging/rtl8723bs/core/rtw_eeprom.c stmp = eeprom_read16(padapter, reg); padapter 210 drivers/staging/rtl8723bs/core/rtw_eeprom.c stmp = eeprom_read16(padapter, reg+i); padapter 217 drivers/staging/rtl8723bs/core/rtw_eeprom.c stmp = eeprom_read16(padapter, reg); padapter 37 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 42 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 59 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 64 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 99 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 103 drivers/staging/rtl8723bs/core/rtw_efuse.c padapter->HalFunc.EfusePowerSwitch(padapter, bWrite, PwrState); padapter 124 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 128 drivers/staging/rtl8723bs/core/rtw_efuse.c return padapter->HalFunc.EfuseGetCurrentSize(padapter, efuseType, padapter 190 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 197 drivers/staging/rtl8723bs/core/rtw_efuse.c padapter->HalFunc.EFUSEGetEfuseDefinition(padapter, efuseType, type, pOut, bPseudoTest); padapter 261 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 274 drivers/staging/rtl8723bs/core/rtw_efuse.c bResult = Efuse_Read1ByteFromFakeContent(padapter, addr, data); padapter 281 drivers/staging/rtl8723bs/core/rtw_efuse.c rtw_write16(padapter, 0x34, rtw_read16(padapter, 0x34) & (~BIT11)); padapter 285 drivers/staging/rtl8723bs/core/rtw_efuse.c rtw_write8(padapter, EFUSE_CTRL+1, (u8)(addr&0xff)); padapter 286 drivers/staging/rtl8723bs/core/rtw_efuse.c rtw_write8(padapter, EFUSE_CTRL+2, ((u8)((addr>>8) & 0x03)) | padapter 287 drivers/staging/rtl8723bs/core/rtw_efuse.c (rtw_read8(padapter, EFUSE_CTRL+2)&0xFC)); padapter 291 drivers/staging/rtl8723bs/core/rtw_efuse.c readbyte = rtw_read8(padapter, EFUSE_CTRL+3); padapter 292 drivers/staging/rtl8723bs/core/rtw_efuse.c rtw_write8(padapter, EFUSE_CTRL+3, (readbyte & 0x7f)); padapter 294 drivers/staging/rtl8723bs/core/rtw_efuse.c while (!(0x80 & rtw_read8(padapter, EFUSE_CTRL+3)) && (tmpidx < 1000)) { padapter 299 drivers/staging/rtl8723bs/core/rtw_efuse.c *data = rtw_read8(padapter, EFUSE_CTRL); padapter 305 drivers/staging/rtl8723bs/core/rtw_efuse.c DBG_871X("%s: [ERROR] EFUSE_CTRL = 0x%08x !!!\n", __func__, rtw_read32(padapter, EFUSE_CTRL)); padapter 314 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 327 drivers/staging/rtl8723bs/core/rtw_efuse.c bResult = Efuse_Write1ByteToFakeContent(padapter, addr, data); padapter 336 drivers/staging/rtl8723bs/core/rtw_efuse.c efuseValue = rtw_read32(padapter, EFUSE_CTRL); padapter 347 drivers/staging/rtl8723bs/core/rtw_efuse.c rtw_write16(padapter, 0x34, rtw_read16(padapter, 0x34) | (BIT11)); padapter 348 drivers/staging/rtl8723bs/core/rtw_efuse.c rtw_write32(padapter, EFUSE_CTRL, 0x90600000|((addr<<8 | data))); padapter 350 drivers/staging/rtl8723bs/core/rtw_efuse.c while ((0x80 & rtw_read8(padapter, EFUSE_CTRL+3)) && (tmpidx < 100)) { padapter 361 drivers/staging/rtl8723bs/core/rtw_efuse.c DBG_871X("%s: [ERROR] EFUSE_CTRL = 0x%08x !!!\n", __func__, rtw_read32(padapter, EFUSE_CTRL)); padapter 365 drivers/staging/rtl8723bs/core/rtw_efuse.c PHY_SetMacReg(padapter, EFUSE_TEST, BIT(11), 0); padapter 371 drivers/staging/rtl8723bs/core/rtw_efuse.c Efuse_PgPacketRead(struct adapter *padapter, padapter 376 drivers/staging/rtl8723bs/core/rtw_efuse.c return padapter->HalFunc.Efuse_PgPacketRead(padapter, offset, data, padapter 381 drivers/staging/rtl8723bs/core/rtw_efuse.c Efuse_PgPacketWrite(struct adapter *padapter, padapter 387 drivers/staging/rtl8723bs/core/rtw_efuse.c return padapter->HalFunc.Efuse_PgPacketWrite(padapter, offset, word_en, padapter 433 drivers/staging/rtl8723bs/core/rtw_efuse.c Efuse_WordEnableDataWrite(struct adapter *padapter, padapter 439 drivers/staging/rtl8723bs/core/rtw_efuse.c return padapter->HalFunc.Efuse_WordEnableDataWrite(padapter, efuse_addr, padapter 462 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 468 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 475 drivers/staging/rtl8723bs/core/rtw_efuse.c Efuse_PowerSwitch(padapter, false, true); padapter 477 drivers/staging/rtl8723bs/core/rtw_efuse.c EFUSE_GetEfuseDefinition(padapter, efuseType, TYPE_EFUSE_MAP_LEN, (void *)&mapLen, bPseudoTest); padapter 479 drivers/staging/rtl8723bs/core/rtw_efuse.c efuse_ReadEFuse(padapter, efuseType, 0, mapLen, Efuse, bPseudoTest); padapter 481 drivers/staging/rtl8723bs/core/rtw_efuse.c Efuse_PowerSwitch(padapter, false, false); padapter 504 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 508 drivers/staging/rtl8723bs/core/rtw_efuse.c struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter); padapter 517 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 521 drivers/staging/rtl8723bs/core/rtw_efuse.c struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter); padapter 531 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 535 drivers/staging/rtl8723bs/core/rtw_efuse.c struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter); padapter 561 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 565 drivers/staging/rtl8723bs/core/rtw_efuse.c struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter); padapter 568 drivers/staging/rtl8723bs/core/rtw_efuse.c EFUSE_GetEfuseDefinition(padapter, efuseType, TYPE_EFUSE_MAP_LEN, (void *)&mapLen, bPseudoTest); padapter 573 drivers/staging/rtl8723bs/core/rtw_efuse.c Efuse_ReadAllMap(padapter, efuseType, pEEPROM->efuse_eeprom_data, bPseudoTest); padapter 598 drivers/staging/rtl8723bs/core/rtw_efuse.c struct adapter *padapter, padapter 604 drivers/staging/rtl8723bs/core/rtw_efuse.c efuse_ShadowRead1Byte(padapter, Offset, (u8 *)Value); padapter 606 drivers/staging/rtl8723bs/core/rtw_efuse.c efuse_ShadowRead2Byte(padapter, Offset, (u16 *)Value); padapter 608 drivers/staging/rtl8723bs/core/rtw_efuse.c efuse_ShadowRead4Byte(padapter, Offset, (u32 *)Value); padapter 154 drivers/staging/rtl8723bs/core/rtw_io.c int rtw_init_io_priv(struct adapter *padapter, void (*set_intf_ops)(struct adapter *padapter, struct _io_ops *pops)) padapter 156 drivers/staging/rtl8723bs/core/rtw_io.c struct io_priv *piopriv = &padapter->iopriv; padapter 162 drivers/staging/rtl8723bs/core/rtw_io.c piopriv->padapter = padapter; padapter 163 drivers/staging/rtl8723bs/core/rtw_io.c pintf->padapter = padapter; padapter 164 drivers/staging/rtl8723bs/core/rtw_io.c pintf->pintf_dev = adapter_to_dvobj(padapter); padapter 166 drivers/staging/rtl8723bs/core/rtw_io.c set_intf_ops(padapter, &pintf->io_ops); padapter 51 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c u8 rtw_do_join(struct adapter *padapter); padapter 52 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c u8 rtw_do_join(struct adapter *padapter) padapter 56 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 82 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c || rtw_to_roam(padapter) > 0 padapter 86 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c ret = rtw_sitesurvey_cmd(padapter, &pmlmepriv->assoc_ssid, 1, NULL, 0); padapter 109 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c struct wlan_bssid_ex *pdev_network = &(padapter->registrypriv.dev_network); padapter 113 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c pibss = padapter->registrypriv.dev_network.MacAddress; padapter 117 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_update_registrypriv_dev_network(padapter); padapter 121 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c if (rtw_createbss_cmd(padapter) != _SUCCESS) { padapter 138 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c || rtw_to_roam(padapter) > 0 padapter 141 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c ret = rtw_sitesurvey_cmd(padapter, &pmlmepriv->assoc_ssid, 1, NULL, 0); padapter 160 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c u8 rtw_set_802_11_bssid(struct adapter *padapter, u8 *bssid) padapter 164 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 195 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_disassoc_cmd(padapter, 0, true); padapter 198 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_indicate_disconnect(padapter); padapter 200 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_free_assoc_resources(padapter, 1); padapter 210 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c if (rtw_handle_tkip_countermeasure(padapter, __func__) == _FAIL) { padapter 222 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c status = rtw_do_join(padapter); padapter 235 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c u8 rtw_set_802_11_ssid(struct adapter *padapter, struct ndis_802_11_ssid *ssid) padapter 239 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 245 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c if (padapter->hw_init_completed == false) { padapter 272 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c if (rtw_is_same_ibss(padapter, pnetwork) == false) { padapter 274 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_disassoc_cmd(padapter, 0, true); padapter 277 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_indicate_disconnect(padapter); padapter 279 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_free_assoc_resources(padapter, 1); padapter 289 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_JOINBSS, 1); padapter 296 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_disassoc_cmd(padapter, 0, true); padapter 299 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_indicate_disconnect(padapter); padapter 301 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_free_assoc_resources(padapter, 1); padapter 311 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c if (rtw_handle_tkip_countermeasure(padapter, __func__) == _FAIL) { padapter 327 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c status = rtw_do_join(padapter); padapter 340 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c u8 rtw_set_802_11_connect(struct adapter *padapter, u8 *bssid, struct ndis_802_11_ssid *ssid) padapter 345 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 355 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c FUNC_ADPT_ARG(padapter), ssid, ssid_valid, bssid, bssid_valid); padapter 360 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c if (padapter->hw_init_completed == false) { padapter 370 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c FUNC_ADPT_ARG(padapter), get_fwstate(pmlmepriv)); padapter 379 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c if (rtw_handle_tkip_countermeasure(padapter, __func__) == _FAIL) { padapter 399 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c status = rtw_do_join(padapter); padapter 409 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c u8 rtw_set_802_11_infrastructure_mode(struct adapter *padapter, padapter 412 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 428 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c stop_ap_mode(padapter); padapter 434 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_disassoc_cmd(padapter, 0, true); padapter 438 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_free_assoc_resources(padapter, 1); padapter 442 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_indicate_disconnect(padapter); /* will clr Linked_state; before this function, we must have chked whether issue dis-assoc_cmd or not */ padapter 461 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c start_ap_mode(padapter); padapter 482 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c u8 rtw_set_802_11_disassociate(struct adapter *padapter) padapter 484 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 491 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_disassoc_cmd(padapter, 0, true); padapter 492 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_indicate_disconnect(padapter); padapter 494 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c rtw_free_assoc_resources_cmd(padapter); padapter 495 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c if (_FAIL == rtw_pwr_wakeup(padapter)) padapter 504 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c u8 rtw_set_802_11_bssid_list_scan(struct adapter *padapter, struct ndis_802_11_ssid *pssid, int ssid_max_num) padapter 506 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 511 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c if (padapter == NULL) { padapter 515 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c if (padapter->hw_init_completed == false) { padapter 533 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c if (rtw_is_scan_deny(padapter)) { padapter 534 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c DBG_871X(FUNC_ADPT_FMT": scan deny\n", FUNC_ADPT_ARG(padapter)); padapter 535 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c indicate_wx_scan_complete_event(padapter); padapter 541 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c res = rtw_sitesurvey_cmd(padapter, pssid, ssid_max_num, NULL, 0); padapter 550 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c u8 rtw_set_802_11_authentication_mode(struct adapter *padapter, enum NDIS_802_11_AUTHENTICATION_MODE authmode) padapter 552 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 565 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c res = rtw_set_auth(padapter, psecuritypriv); padapter 575 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep *wep) padapter 579 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c struct security_priv *psecuritypriv = &(padapter->securitypriv); padapter 622 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c res = rtw_set_key(padapter, psecuritypriv, keyid, 1, true); padapter 15 drivers/staging/rtl8723bs/core/rtw_mlme.c extern u8 rtw_do_join(struct adapter *padapter); padapter 17 drivers/staging/rtl8723bs/core/rtw_mlme.c int rtw_init_mlme_priv(struct adapter *padapter) padapter 22 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 25 drivers/staging/rtl8723bs/core/rtw_mlme.c pmlmepriv->nic_hdl = (u8 *)padapter; padapter 61 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_clear_scan_deny(padapter); padapter 79 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_init_mlme_timer(padapter); padapter 279 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_free_network_queue(struct adapter *padapter, u8 isfreeall) padapter 283 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 307 drivers/staging/rtl8723bs/core/rtw_mlme.c sint rtw_if_up(struct adapter *padapter) padapter 312 drivers/staging/rtl8723bs/core/rtw_mlme.c if (padapter->bDriverStopped || padapter->bSurpriseRemoved || padapter 313 drivers/staging/rtl8723bs/core/rtw_mlme.c (check_fwstate(&padapter->mlmepriv, _FW_LINKED) == false)) { padapter 314 drivers/staging/rtl8723bs/core/rtw_mlme.c RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("rtw_if_up:bDriverStopped(%d) OR bSurpriseRemoved(%d)", padapter->bDriverStopped, padapter->bSurpriseRemoved)); padapter 371 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_free_network_nolock(struct adapter *padapter, struct wlan_network *pnetwork); padapter 372 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_free_network_nolock(struct adapter *padapter, struct wlan_network *pnetwork) padapter 375 drivers/staging/rtl8723bs/core/rtw_mlme.c _rtw_free_network_nolock(&(padapter->mlmepriv), pnetwork); padapter 376 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_cfg80211_unlink_bss(padapter, pnetwork); padapter 497 drivers/staging/rtl8723bs/core/rtw_mlme.c struct adapter *padapter, bool update_ie) padapter 510 drivers/staging/rtl8723bs/core/rtw_mlme.c , FUNC_ADPT_ARG(padapter) padapter 519 drivers/staging/rtl8723bs/core/rtw_mlme.c if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) && is_same_network(&(padapter->mlmepriv.cur_network.network), src, 0)) { padapter 521 drivers/staging/rtl8723bs/core/rtw_mlme.c ss_final = padapter->recvpriv.signal_strength; padapter 522 drivers/staging/rtl8723bs/core/rtw_mlme.c sq_final = padapter->recvpriv.signal_qual; padapter 555 drivers/staging/rtl8723bs/core/rtw_mlme.c , FUNC_ADPT_ARG(padapter) padapter 1066 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_indicate_connect(struct adapter *padapter) padapter 1068 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1074 drivers/staging/rtl8723bs/core/rtw_mlme.c if (!check_fwstate(&padapter->mlmepriv, _FW_LINKED)) { padapter 1078 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_os_indicate_connect(padapter); padapter 1081 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_set_to_roam(padapter, 0); padapter 1082 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_set_scan_deny(padapter, 3000); padapter 1090 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_indicate_disconnect(struct adapter *padapter) padapter 1092 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1100 drivers/staging/rtl8723bs/core/rtw_mlme.c if (rtw_to_roam(padapter) > 0) padapter 1103 drivers/staging/rtl8723bs/core/rtw_mlme.c if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) padapter 1104 drivers/staging/rtl8723bs/core/rtw_mlme.c || (rtw_to_roam(padapter) <= 0) padapter 1106 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_os_indicate_disconnect(padapter); padapter 1109 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_set_ips_deny(padapter, 3000); padapter 1113 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_clear_scan_deny(padapter); padapter 1116 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_DISCONNECT, 1); padapter 1119 drivers/staging/rtl8723bs/core/rtw_mlme.c inline void rtw_indicate_scan_done(struct adapter *padapter, bool aborted) padapter 1121 drivers/staging/rtl8723bs/core/rtw_mlme.c DBG_871X(FUNC_ADPT_FMT"\n", FUNC_ADPT_ARG(padapter)); padapter 1123 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_os_indicate_scan_done(padapter, aborted); padapter 1125 drivers/staging/rtl8723bs/core/rtw_mlme.c if (is_primary_adapter(padapter) && padapter 1126 drivers/staging/rtl8723bs/core/rtw_mlme.c (!adapter_to_pwrctl(padapter)->bInSuspend) && padapter 1127 drivers/staging/rtl8723bs/core/rtw_mlme.c (!check_fwstate(&padapter->mlmepriv, padapter 1131 drivers/staging/rtl8723bs/core/rtw_mlme.c pwrpriv = adapter_to_pwrctl(padapter); padapter 1132 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_set_ips_deny(padapter, 0); padapter 1133 drivers/staging/rtl8723bs/core/rtw_mlme.c _set_timer(&padapter->mlmepriv.dynamic_chk_timer, 1); padapter 1163 drivers/staging/rtl8723bs/core/rtw_mlme.c static struct sta_info *rtw_joinbss_update_stainfo(struct adapter *padapter, struct wlan_network *pnetwork) padapter 1168 drivers/staging/rtl8723bs/core/rtw_mlme.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1169 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1182 drivers/staging/rtl8723bs/core/rtw_mlme.c update_sta_info(padapter, psta); padapter 1187 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_update_sta_rate_mask(padapter, psta); padapter 1190 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->raid = networktype_to_raid_ex(padapter, psta); padapter 1194 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, true); padapter 1197 drivers/staging/rtl8723bs/core/rtw_mlme.c if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { padapter 1198 drivers/staging/rtl8723bs/core/rtw_mlme.c padapter->securitypriv.binstallGrpkey = false; padapter 1199 drivers/staging/rtl8723bs/core/rtw_mlme.c padapter->securitypriv.busetkipkey = false; padapter 1200 drivers/staging/rtl8723bs/core/rtw_mlme.c padapter->securitypriv.bgrpkey_handshake = false; padapter 1203 drivers/staging/rtl8723bs/core/rtw_mlme.c psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; padapter 1219 drivers/staging/rtl8723bs/core/rtw_mlme.c if (padapter->securitypriv.wps_ie_len != 0) { padapter 1221 drivers/staging/rtl8723bs/core/rtw_mlme.c padapter->securitypriv.wps_ie_len = 0; padapter 1242 drivers/staging/rtl8723bs/core/rtw_mlme.c bmc_sta = rtw_get_bcmc_stainfo(padapter); padapter 1265 drivers/staging/rtl8723bs/core/rtw_mlme.c static void rtw_joinbss_update_network(struct adapter *padapter, struct wlan_network *ptarget_wlan, struct wlan_network *pnetwork) padapter 1267 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1285 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_set_signal_stat_timer(&padapter->recvpriv); padapter 1287 drivers/staging/rtl8723bs/core/rtw_mlme.c padapter->recvpriv.signal_strength = ptarget_wlan->network.PhyInfo.SignalStrength; padapter 1288 drivers/staging/rtl8723bs/core/rtw_mlme.c padapter->recvpriv.signal_qual = ptarget_wlan->network.PhyInfo.SignalQuality; padapter 1290 drivers/staging/rtl8723bs/core/rtw_mlme.c padapter->recvpriv.rssi = translate_percentage_to_dbm(ptarget_wlan->network.PhyInfo.SignalStrength); padapter 1294 drivers/staging/rtl8723bs/core/rtw_mlme.c , FUNC_ADPT_ARG(padapter) padapter 1295 drivers/staging/rtl8723bs/core/rtw_mlme.c , padapter->recvpriv.signal_strength padapter 1296 drivers/staging/rtl8723bs/core/rtw_mlme.c , padapter->recvpriv.rssi padapter 1297 drivers/staging/rtl8723bs/core/rtw_mlme.c , padapter->recvpriv.signal_qual padapter 1301 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_set_signal_stat_timer(&padapter->recvpriv); padapter 1322 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_update_protection(padapter, (cur_network->network.IEs) + sizeof(struct ndis_802_11_fix_ie), padapter 1325 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_update_ht_cap(padapter, cur_network->network.IEs, cur_network->network.IELength, (u8) cur_network->network.Configuration.DSConfig); padapter 1743 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_cpwm_event_callback(struct adapter *padapter, u8 *pbuf) padapter 1749 drivers/staging/rtl8723bs/core/rtw_mlme.c preportpwrstate->state |= (u8)(adapter_to_pwrctl(padapter)->cpwm_tog + 0x80); padapter 1750 drivers/staging/rtl8723bs/core/rtw_mlme.c cpwm_int_hdl(padapter, preportpwrstate); padapter 1754 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_wmm_event_callback(struct adapter *padapter, u8 *pbuf) padapter 1756 drivers/staging/rtl8723bs/core/rtw_mlme.c WMMOnAssocRsp(padapter); padapter 1847 drivers/staging/rtl8723bs/core/rtw_mlme.c static void rtw_auto_scan_handler(struct adapter *padapter) padapter 1849 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1851 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_mlme_reset_auto_scan_int(padapter); padapter 1856 drivers/staging/rtl8723bs/core/rtw_mlme.c if (!padapter->registrypriv.wifi_spec) { padapter 1858 drivers/staging/rtl8723bs/core/rtw_mlme.c DBG_871X(FUNC_ADPT_FMT" _FW_UNDER_SURVEY|_FW_UNDER_LINKING\n", FUNC_ADPT_ARG(padapter)); padapter 1863 drivers/staging/rtl8723bs/core/rtw_mlme.c DBG_871X(FUNC_ADPT_FMT" exit BusyTraffic\n", FUNC_ADPT_ARG(padapter)); padapter 1868 drivers/staging/rtl8723bs/core/rtw_mlme.c DBG_871X(FUNC_ADPT_FMT"\n", FUNC_ADPT_ARG(padapter)); padapter 1870 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_set_802_11_bssid_list_scan(padapter, NULL, 0); padapter 2553 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_joinbss_reset(struct adapter *padapter) padapter 2556 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2571 drivers/staging/rtl8723bs/core/rtw_mlme.c if (padapter->registrypriv.wifi_spec == 1) padapter 2575 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_set_hwreg(padapter, HW_VAR_RXDMA_AGG_PG_TH, (u8 *)(&threshold)); padapter 2578 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_set_hwreg(padapter, HW_VAR_RXDMA_AGG_PG_TH, (u8 *)(&threshold)); padapter 2582 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_ht_use_default_setting(struct adapter *padapter) padapter 2584 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2586 drivers/staging/rtl8723bs/core/rtw_mlme.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 2599 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_get_def_var(padapter, HAL_DEF_RX_LDPC, (u8 *)&bHwLDPCSupport); padapter 2605 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_get_def_var(padapter, HAL_DEF_TX_LDPC, (u8 *)&bHwLDPCSupport); padapter 2614 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_get_def_var(padapter, HAL_DEF_TX_STBC, (u8 *)&bHwSTBCSupport); padapter 2620 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_get_def_var(padapter, HAL_DEF_RX_STBC, (u8 *)&bHwSTBCSupport); padapter 2629 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_get_def_var(padapter, HAL_DEF_EXPLICIT_BEAMFORMER, (u8 *)&bHwSupportBeamformer); padapter 2630 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_get_def_var(padapter, HAL_DEF_EXPLICIT_BEAMFORMEE, (u8 *)&bHwSupportBeamformee); padapter 2642 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_build_wmm_ie_ht(struct adapter *padapter, u8 *out_ie, uint *pout_len) padapter 2648 drivers/staging/rtl8723bs/core/rtw_mlme.c if (padapter->mlmepriv.qospriv.qos_option == 0) { padapter 2653 drivers/staging/rtl8723bs/core/rtw_mlme.c padapter->mlmepriv.qospriv.qos_option = 1; padapter 2658 drivers/staging/rtl8723bs/core/rtw_mlme.c unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_ie, uint in_len, uint *pout_len, u8 channel) padapter 2665 drivers/staging/rtl8723bs/core/rtw_mlme.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 2666 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2668 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2685 drivers/staging/rtl8723bs/core/rtw_mlme.c operation_bw = padapter->mlmeextpriv.cur_bwmode; padapter 2744 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_get_hwreg(padapter, HW_VAR_RF_TYPE, (u8 *)(&rf_type)); padapter 2773 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_get_def_var(padapter, HAL_DEF_RX_PACKET_OFFSET, &rx_packet_offset); padapter 2774 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_get_def_var(padapter, HAL_DEF_MAX_RECVBUF_SZ, &max_recvbuf_sz); padapter 2777 drivers/staging/rtl8723bs/core/rtw_mlme.c if (padapter->driver_rx_ampdu_factor != 0xFF) padapter 2779 drivers/staging/rtl8723bs/core/rtw_mlme.c (enum HT_CAP_AMPDU_FACTOR)padapter->driver_rx_ampdu_factor; padapter 2781 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_get_def_var(padapter, HW_VAR_MAX_RX_AMPDU_FACTOR, padapter 2787 drivers/staging/rtl8723bs/core/rtw_mlme.c if (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_) padapter 2810 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_update_ht_cap(struct adapter *padapter, u8 *pie, uint ie_len, u8 channel) padapter 2818 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2821 drivers/staging/rtl8723bs/core/rtw_mlme.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 2823 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2887 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_hal_get_hwreg(padapter, HW_VAR_RF_TYPE, (u8 *)(&rf_type)); padapter 2943 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_issue_addbareq_cmd(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 2953 drivers/staging/rtl8723bs/core/rtw_mlme.c if (bmcst || (padapter->mlmepriv.LinkDetectInfo.NumTxOkInPeriod < 100)) padapter 2958 drivers/staging/rtl8723bs/core/rtw_mlme.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); padapter 2984 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_addbareq_cmd(padapter, (u8) priority, pattrib->ra); padapter 2990 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_append_exented_cap(struct adapter *padapter, u8 *out_ie, uint *pout_len) padapter 2992 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 3023 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_roaming(struct adapter *padapter, struct wlan_network *tgt_network) padapter 3025 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 3028 drivers/staging/rtl8723bs/core/rtw_mlme.c _rtw_roaming(padapter, tgt_network); padapter 3031 drivers/staging/rtl8723bs/core/rtw_mlme.c void _rtw_roaming(struct adapter *padapter, struct wlan_network *tgt_network) padapter 3033 drivers/staging/rtl8723bs/core/rtw_mlme.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 3037 drivers/staging/rtl8723bs/core/rtw_mlme.c if (0 < rtw_to_roam(padapter)) { padapter 3046 drivers/staging/rtl8723bs/core/rtw_mlme.c do_join_r = rtw_do_join(padapter); padapter 3051 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_dec_to_roam(padapter); padapter 3053 drivers/staging/rtl8723bs/core/rtw_mlme.c if (rtw_to_roam(padapter) > 0) { padapter 3057 drivers/staging/rtl8723bs/core/rtw_mlme.c rtw_indicate_disconnect(padapter); padapter 3066 drivers/staging/rtl8723bs/core/rtw_mlme.c sint rtw_linked_check(struct adapter *padapter) padapter 3068 drivers/staging/rtl8723bs/core/rtw_mlme.c if ((check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == true) || padapter 3069 drivers/staging/rtl8723bs/core/rtw_mlme.c (check_fwstate(&padapter->mlmepriv, WIFI_ADHOC_STATE|WIFI_ADHOC_MASTER_STATE) == true)) { padapter 3070 drivers/staging/rtl8723bs/core/rtw_mlme.c if (padapter->stapriv.asoc_sta_count > 2) padapter 3073 drivers/staging/rtl8723bs/core/rtw_mlme.c if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) == true) padapter 256 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c int init_hw_mlme_ext(struct adapter *padapter) padapter 258 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 260 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c set_channel_bwmode(padapter, pmlmeext->cur_channel, pmlmeext->cur_ch_offset, pmlmeext->cur_bwmode); padapter 264 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void init_mlme_default_rate_set(struct adapter *padapter) padapter 266 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 278 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static void init_mlme_ext_priv_value(struct adapter *padapter) padapter 280 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 288 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeext->cur_channel = padapter->registrypriv.channel; padapter 294 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeext->cur_wireless_mode = padapter->registrypriv.wireless_mode; padapter 296 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c init_mlme_default_rate_set(padapter); padapter 342 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static void init_channel_list(struct adapter *padapter, RT_CHANNEL_INFO *channel_set, padapter 373 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if ((0 == padapter->registrypriv.ht_enable) && (8 == o->inc)) padapter 376 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if ((0 < (padapter->registrypriv.bw_mode & 0xf0)) && padapter 394 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static u8 init_channel_set(struct adapter *padapter, u8 ChannelPlan, RT_CHANNEL_INFO *channel_set) padapter 407 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (IsSupported24G(padapter->registrypriv.wireless_mode)) { padapter 458 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void init_mlme_ext_priv(struct adapter *padapter) padapter 460 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 461 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 462 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 465 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeext->padapter = padapter; padapter 469 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c init_mlme_ext_priv_value(padapter); padapter 472 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c init_mlme_ext_timer(padapter); padapter 474 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c init_mlme_ap_info(padapter); padapter 476 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeext->max_chan_nums = init_channel_set(padapter, pmlmepriv->ChannelPlan, pmlmeext->channel_set); padapter 477 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c init_channel_list(padapter, pmlmeext->channel_set, pmlmeext->max_chan_nums, &pmlmeext->channel_list); padapter 490 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct adapter *padapter = pmlmeext->padapter; padapter 492 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (!padapter) padapter 495 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->bDriverStopped) { padapter 502 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static void _mgt_dispatcher(struct adapter *padapter, struct mlme_handler *ptable, union recv_frame *precv_frame) padapter 509 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && padapter 513 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ptable->func(padapter, precv_frame); padapter 517 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void mgt_dispatcher(struct adapter *padapter, union recv_frame *precv_frame) padapter 521 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 524 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(pframe)); padapter 525 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct dvobj_priv *psdpriv = padapter->dvobj; padapter 538 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && padapter 574 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c _mgt_dispatcher(padapter, ptable, precv_frame); padapter 577 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c _mgt_dispatcher(padapter, ptable, precv_frame); padapter 580 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c _mgt_dispatcher(padapter, ptable, precv_frame); padapter 584 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c _mgt_dispatcher(padapter, ptable, precv_frame); padapter 587 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c _mgt_dispatcher(padapter, ptable, precv_frame); padapter 598 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int OnProbeReq(struct adapter *padapter, union recv_frame *precv_frame) padapter 602 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 603 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 626 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 669 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c mac_addr = myid(&(padapter->eeprompriv)); padapter 706 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, true); padapter 714 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_add_sta_event(padapter, psta->hwaddr, psta->aid); padapter 718 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_probersp(padapter, get_sa(pframe), false); padapter 748 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_probersp(padapter, get_sa(pframe), is_valid_p2p_probereq); padapter 757 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int OnProbeRsp(struct adapter *padapter, union recv_frame *precv_frame) padapter 759 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 762 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_survey_event(padapter, precv_frame); padapter 770 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int OnBeacon(struct adapter *padapter, union recv_frame *precv_frame) padapter 774 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 776 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 777 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 795 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_survey_event(padapter, precv_frame); padapter 804 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (collect_bss_info(padapter, precv_frame, pbss) == _SUCCESS) { padapter 805 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_network(&(pmlmepriv->cur_network.network), pbss, padapter, true); padapter 826 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c start_clnt_auth(padapter); padapter 834 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ret = rtw_check_bcn_info(padapter, pframe, len); padapter 837 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c receive_disconnect(padapter, pmlmeinfo->network.MacAddress, 0); padapter 844 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_beacon_info(padapter, pframe, len, psta); padapter 855 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_beacon_info(padapter, pframe, len, psta); padapter 859 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c cam_idx = allocate_fw_sta_entry(padapter); padapter 864 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (update_sta_support_rate(padapter, (pframe + WLAN_HDR_A3_LEN + _BEACON_IE_OFFSET_), (len - WLAN_HDR_A3_LEN - _BEACON_IE_OFFSET_), cam_idx) == _FAIL) { padapter 873 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_add_sta_event(padapter, GetAddr2Ptr(pframe), cam_idx); padapter 884 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int OnAuth(struct adapter *padapter, union recv_frame *precv_frame) padapter 892 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 893 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 894 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 922 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_wep_decrypt(padapter, (u8 *)precv_frame); padapter 947 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (rtw_access_ctrl(padapter, sa) == false) { padapter 1061 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_auth(padapter, pstat, (unsigned short)(_STATS_SUCCESSFUL_)); padapter 1072 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_free_stainfo(padapter, pstat); padapter 1079 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_auth(padapter, pstat, (unsigned short)status); padapter 1085 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int OnAuthClient(struct adapter *padapter, union recv_frame *precv_frame) padapter 1090 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1098 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(myid(&(padapter->eeprompriv)), get_da(pframe), ETH_ALEN)) padapter 1137 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_auth(padapter, NULL, 0); padapter 1159 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c start_clnt_assoc(padapter); padapter 1171 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int OnAssocReq(struct adapter *padapter, union recv_frame *precv_frame) padapter 1183 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1184 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 1185 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1188 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1600 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c bss_cap_update_on_sta_join(padapter, pstat); padapter 1601 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c sta_info_update(padapter, pstat); padapter 1605 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_asocrsp(padapter, status, pstat, WIFI_ASSOCRSP); padapter 1607 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_asocrsp(padapter, status, pstat, WIFI_REASSOCRSP); padapter 1624 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_add_sta_event(padapter, pstat->hwaddr, pstat->aid); padapter 1631 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_deauth(padapter, (void *)GetAddr2Ptr(pframe), status); padapter 1639 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_asocrsp(padapter, status, pstat, WIFI_ASSOCRSP); padapter 1641 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_asocrsp(padapter, status, pstat, WIFI_REASSOCRSP); padapter 1646 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int OnAssocRsp(struct adapter *padapter, union recv_frame *precv_frame) padapter 1652 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1653 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1662 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(myid(&(padapter->eeprompriv)), get_da(pframe), ETH_ALEN)) padapter 1700 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c WMM_param_handler(padapter, pIE); padapter 1704 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c HT_caps_handler(padapter, pIE); padapter 1708 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c HT_info_handler(padapter, pIE); padapter 1712 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ERP_IE_handler(padapter, pIE); padapter 1725 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c UpdateBrateTbl(padapter, pmlmeinfo->network.SupportedRates); padapter 1734 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_join_res(padapter, res); padapter 1739 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int OnDeAuth(struct adapter *padapter, union recv_frame *precv_frame) padapter 1742 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1743 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1757 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1774 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c updated = ap_free_sta(padapter, psta, false, reason); padapter 1779 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c associated_clients_update(padapter, updated); padapter 1806 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c receive_disconnect(padapter, GetAddr3Ptr(pframe), reason); padapter 1814 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int OnDisassoc(struct adapter *padapter, union recv_frame *precv_frame) padapter 1817 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1818 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1832 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1849 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c updated = ap_free_sta(padapter, psta, false, reason); padapter 1854 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c associated_clients_update(padapter, updated); padapter 1862 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c receive_disconnect(padapter, GetAddr3Ptr(pframe), reason); padapter 1869 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int OnAtim(struct adapter *padapter, union recv_frame *precv_frame) padapter 1875 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int on_action_spct(struct adapter *padapter, union recv_frame *precv_frame) padapter 1878 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1884 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X(FUNC_NDEV_FMT"\n", FUNC_NDEV_ARG(padapter->pnetdev)); padapter 1911 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int OnAction_back(struct adapter *padapter, union recv_frame *precv_frame) padapter 1919 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1922 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1927 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN))/* for if1, sta/ap mode */ padapter 1954 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c process_addba_req(padapter, (u8 *)&(pmlmeinfo->ADDBA_req), addr); padapter 1957 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_action_BA(padapter, addr, RTW_WLAN_ACTION_ADDBA_RESP, 0); padapter 1959 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_action_BA(padapter, addr, RTW_WLAN_ACTION_ADDBA_RESP, 37);/* reject ADDBA Req */ padapter 2106 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int on_action_public(struct adapter *padapter, union recv_frame *precv_frame) padapter 2114 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) padapter 2135 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int OnAction_ht(struct adapter *padapter, union recv_frame *precv_frame) padapter 2142 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) padapter 2162 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int OnAction_sa_query(struct adapter *padapter, union recv_frame *precv_frame) padapter 2166 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 2176 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_action_SA_Query(padapter, GetAddr2Ptr(pframe), 1, tid); padapter 2197 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int OnAction(struct adapter *padapter, union recv_frame *precv_frame) padapter 2213 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ptable->func(padapter, precv_frame); padapter 2221 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int DoReserved(struct adapter *padapter, union recv_frame *precv_frame) padapter 2272 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void update_mgnt_tx_rate(struct adapter *padapter, u8 rate) padapter 2274 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 2280 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void update_mgntframe_attrib(struct adapter *padapter, struct pkt_attrib *pattrib) padapter 2283 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 2299 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pattrib->raid = rtw_get_mgntframe_raid(padapter, wireless_mode); padapter 2319 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void update_mgntframe_attrib_addr(struct adapter *padapter, struct xmit_frame *pmgntframe) padapter 2330 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void dump_mgntframe(struct adapter *padapter, struct xmit_frame *pmgntframe) padapter 2332 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->bSurpriseRemoved || padapter 2333 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c padapter->bDriverStopped) { padapter 2334 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_free_xmitbuf(&padapter->xmitpriv, pmgntframe->pxmitbuf); padapter 2335 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_free_xmitframe(&padapter->xmitpriv, pmgntframe); padapter 2339 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_mgnt_xmit(padapter, pmgntframe); padapter 2342 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c s32 dump_mgntframe_and_wait(struct adapter *padapter, struct xmit_frame *pmgntframe, int timeout_ms) padapter 2346 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 2350 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->bSurpriseRemoved || padapter 2351 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c padapter->bDriverStopped) { padapter 2352 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_free_xmitbuf(&padapter->xmitpriv, pmgntframe->pxmitbuf); padapter 2353 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_free_xmitframe(&padapter->xmitpriv, pmgntframe); padapter 2360 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ret = rtw_hal_mgnt_xmit(padapter, pmgntframe); padapter 2372 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c s32 dump_mgntframe_and_wait_ack(struct adapter *padapter, struct xmit_frame *pmgntframe) padapter 2377 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 2379 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->bSurpriseRemoved || padapter 2380 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c padapter->bDriverStopped) { padapter 2381 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_free_xmitbuf(&padapter->xmitpriv, pmgntframe->pxmitbuf); padapter 2382 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_free_xmitframe(&padapter->xmitpriv, pmgntframe); padapter 2390 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (rtw_hal_mgnt_xmit(padapter, pmgntframe) == _SUCCESS) padapter 2436 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void issue_beacon(struct adapter *padapter, int timeout_ms) padapter 2444 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 2445 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2446 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 2463 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 2476 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 2586 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c dump_mgntframe_and_wait(padapter, pmgntframe, timeout_ms); padapter 2588 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 2592 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void issue_probersp(struct adapter *padapter, unsigned char *da, u8 is_valid_p2p_probereq) padapter 2600 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 2604 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2605 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 2624 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 2631 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c mac = myid(&(padapter->eeprompriv)); padapter 2708 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X_LEVEL(_drv_warning_, FUNC_ADPT_FMT" remainder_ielen > MAX_IE_SZ\n", FUNC_ADPT_ARG(padapter)); padapter 2778 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2808 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 2814 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static int _issue_probereq(struct adapter *padapter, padapter 2826 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 2827 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2828 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 2840 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 2848 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c mac = myid(&(padapter->eeprompriv)); padapter 2877 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c get_rate_set(padapter, bssrate, &bssrate_len); padapter 2903 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ret = dump_mgntframe_and_wait_ack(padapter, pmgntframe); padapter 2905 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 2913 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c inline void issue_probereq(struct adapter *padapter, struct ndis_802_11_ssid *pssid, u8 *da) padapter 2915 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c _issue_probereq(padapter, pssid, da, 0, 1, false); padapter 2918 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c int issue_probereq_ex(struct adapter *padapter, struct ndis_802_11_ssid *pssid, u8 *da, u8 ch, bool append_wps, padapter 2925 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ret = _issue_probereq(padapter, pssid, da, ch, append_wps, wait_ms > 0?true:false); padapter 2929 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->bDriverStopped || padapter->bSurpriseRemoved) padapter 2947 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), MAC_ARG(da), rtw_get_oper_ch(padapter), padapter 2951 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), rtw_get_oper_ch(padapter), padapter 2959 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void issue_auth(struct adapter *padapter, struct sta_info *psta, unsigned short status) padapter 2969 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 2970 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 2980 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 3000 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 3001 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pwlanhdr->addr3, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 3032 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pwlanhdr->addr2, myid(&padapter->eeprompriv), ETH_ALEN); padapter 3086 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_wep_encrypt(padapter, (u8 *)pmgntframe); padapter 3088 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 3094 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void issue_asocrsp(struct adapter *padapter, unsigned short status, struct sta_info *pstat, int pkt_type) padapter 3102 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 3103 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 3104 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 3118 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 3130 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy((void *)GetAddr2Ptr(pwlanhdr), myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 3222 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 3225 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void issue_assocreq(struct adapter *padapter) padapter 3237 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 3238 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 3239 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 3250 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 3260 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 3289 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c get_rate_set(padapter, sta_bssrate, &sta_bssrate_len); padapter 3359 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if ((!padapter->registrypriv.wifi_spec) && (!memcmp(pIE->data, WPS_OUI, 4))) { padapter 3375 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->mlmepriv.htpriv.ht_option) { padapter 3376 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (!(is_ap_in_tkip(padapter))) { padapter 3384 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->mlmepriv.htpriv.ht_option) padapter 3399 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 3413 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static int _issue_nulldata(struct adapter *padapter, unsigned char *da, padapter 3428 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (!padapter) padapter 3431 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pxmitpriv = &(padapter->xmitpriv); padapter 3432 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeext = &(padapter->mlmeextpriv); padapter 3441 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 3461 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 3474 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ret = dump_mgntframe_and_wait_ack(padapter, pmgntframe); padapter 3476 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 3490 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c int issue_nulldata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms) padapter 3494 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 3503 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(&padapter->stapriv, da); padapter 3506 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_macid_sleep(padapter, psta->mac_id); padapter 3508 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_macid_wakeup(padapter, psta->mac_id); padapter 3511 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), MAC_ARG(da), power_mode?"sleep":"wakeup"); padapter 3516 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0?true:false); padapter 3520 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->bDriverStopped || padapter->bSurpriseRemoved) padapter 3538 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), MAC_ARG(da), rtw_get_oper_ch(padapter), padapter 3542 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), rtw_get_oper_ch(padapter), padapter 3555 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c s32 issue_nulldata_in_interrupt(struct adapter *padapter, u8 *da) padapter 3561 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeext = &padapter->mlmeextpriv; padapter 3568 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c return _issue_nulldata(padapter, da, 0, false); padapter 3572 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static int _issue_qos_nulldata(struct adapter *padapter, unsigned char *da, padapter 3582 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 3583 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 3594 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 3627 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 3640 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ret = dump_mgntframe_and_wait_ack(padapter, pmgntframe); padapter 3642 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 3652 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c int issue_qos_nulldata(struct adapter *padapter, unsigned char *da, u16 tid, int try_cnt, int wait_ms) padapter 3656 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 3664 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ret = _issue_qos_nulldata(padapter, da, tid, wait_ms > 0?true:false); padapter 3668 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->bDriverStopped || padapter->bSurpriseRemoved) padapter 3686 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), MAC_ARG(da), rtw_get_oper_ch(padapter), padapter 3690 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), rtw_get_oper_ch(padapter), padapter 3697 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static int _issue_deauth(struct adapter *padapter, unsigned char *da, padapter 3705 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 3706 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 3720 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 3732 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 3749 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ret = dump_mgntframe_and_wait_ack(padapter, pmgntframe); padapter 3751 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 3759 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c int issue_deauth(struct adapter *padapter, unsigned char *da, unsigned short reason) padapter 3762 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c return _issue_deauth(padapter, da, reason, false); padapter 3765 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c int issue_deauth_ex(struct adapter *padapter, u8 *da, unsigned short reason, int try_cnt, padapter 3772 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ret = _issue_deauth(padapter, da, reason, wait_ms > 0?true:false); padapter 3776 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->bDriverStopped || padapter->bSurpriseRemoved) padapter 3794 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), MAC_ARG(da), rtw_get_oper_ch(padapter), padapter 3798 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), rtw_get_oper_ch(padapter), padapter 3805 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void issue_action_SA_Query(struct adapter *padapter, unsigned char *raddr, unsigned char action, unsigned short tid) padapter 3813 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 3814 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 3828 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 3842 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 3873 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 3876 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void issue_action_BA(struct adapter *padapter, unsigned char *raddr, unsigned char action, unsigned short status) padapter 3890 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 3891 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 3894 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 3895 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct registry_priv *pregpriv = &padapter->registrypriv; padapter 3906 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 3918 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 3939 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (hal_btcoex_IsBTCoexCtrlAMPDUSize(padapter)) { padapter 3977 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->driver_rx_ampdu_factor != 0xFF) padapter 3979 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c (enum HT_CAP_AMPDU_FACTOR)padapter->driver_rx_ampdu_factor; padapter 3981 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_get_def_var(padapter, padapter 3995 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (hal_btcoex_IsBTCoexCtrlAMPDUSize(padapter) && padapter 3996 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c padapter->driver_rx_ampdu_factor == 0xFF) { padapter 4028 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 4031 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static void issue_action_BSSCoexistPacket(struct adapter *padapter) padapter 4041 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 4042 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 4043 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 4069 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_mgntframe_attrib(padapter, pattrib); padapter 4080 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 4176 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c dump_mgntframe(padapter, pmgntframe); padapter 4179 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int send_delba(struct adapter *padapter, u8 initiator, u8 *addr) padapter 4181 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 4184 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4202 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_action_BA(padapter, addr, RTW_WLAN_ACTION_DELBA, (((tid << 1) | initiator)&0x1F)); padapter 4216 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_action_BA(padapter, addr, RTW_WLAN_ACTION_DELBA, (((tid << 1) | initiator)&0x1F)); padapter 4228 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int send_beacon(struct adapter *padapter) padapter 4235 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BCN_VALID, NULL); padapter 4236 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_DL_BCN_SEL, NULL); padapter 4238 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_beacon(padapter, 100); padapter 4242 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_get_hwreg(padapter, HW_VAR_BCN_VALID, (u8 *)(&bxmitok)); padapter 4244 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c } while ((poll%10) != 0 && false == bxmitok && !padapter->bSurpriseRemoved && !padapter->bDriverStopped); padapter 4246 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c } while (false == bxmitok && issue < 100 && !padapter->bSurpriseRemoved && !padapter->bDriverStopped); padapter 4248 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->bSurpriseRemoved || padapter->bDriverStopped) { padapter 4274 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void site_survey(struct adapter *padapter) padapter 4278 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4293 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c , FUNC_ADPT_ARG(padapter) padapter 4296 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c , jiffies_to_msecs(jiffies - padapter->mlmepriv.scan_start_time) padapter 4312 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c set_channel_bwmode(padapter, pmlmeext->fixed_chan, HAL_PRIME_CHNL_OFFSET_DONT_CARE, CHANNEL_WIDTH_20); padapter 4315 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c set_channel_bwmode(padapter, survey_channel, HAL_PRIME_CHNL_OFFSET_DONT_CARE, CHANNEL_WIDTH_20); padapter 4319 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c SelectChannel(padapter, pmlmeext->fixed_chan); padapter 4322 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c SelectChannel(padapter, survey_channel); padapter 4331 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->registrypriv.wifi_spec) padapter 4332 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_probereq(padapter, &(pmlmeext->sitesurvey_res.ssid[i]), NULL); padapter 4334 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_probereq_ex(padapter, &(pmlmeext->sitesurvey_res.ssid[i]), NULL, 0, 0, 0, 0); padapter 4335 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_probereq(padapter, &(pmlmeext->sitesurvey_res.ssid[i]), NULL); padapter 4341 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->registrypriv.wifi_spec) padapter 4342 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_probereq(padapter, NULL, NULL); padapter 4344 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_probereq_ex(padapter, NULL, NULL, 0, 0, 0, 0); padapter 4345 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_probereq(padapter, NULL, NULL); padapter 4360 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_odm_var(padapter, HAL_ODM_NOISE_MONITOR, &info, false); padapter 4374 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c set_channel_bwmode(padapter, pmlmeext->cur_channel, pmlmeext->cur_ch_offset, pmlmeext->cur_bwmode); padapter 4381 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Set_MSR(padapter, (pmlmeinfo->state & 0x3)); padapter 4384 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_INITIAL_GAIN, (u8 *)(&initialgain)); padapter 4386 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Restore_DM_Func_Flag(padapter); padapter 4389 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (is_client_associated_to_ap(padapter)) padapter 4390 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_nulldata(padapter, NULL, 0, 3, 500); padapter 4393 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_SITESURVEY, (u8 *)(&val8)); padapter 4395 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_surveydone_event(padapter); padapter 4400 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_action_BSSCoexistPacket(padapter); padapter 4401 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_action_BSSCoexistPacket(padapter); padapter 4402 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_action_BSSCoexistPacket(padapter); padapter 4411 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 collect_bss_info(struct adapter *padapter, union recv_frame *precv_frame, struct wlan_bssid_ex *bssid) padapter 4420 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 4421 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4525 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c bssid->Configuration.DSConfig = rtw_get_oper_ch(padapter); padapter 4551 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 4568 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c , rtw_get_oper_ch(padapter) padapter 4575 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (bssid->Configuration.DSConfig != rtw_get_oper_ch(padapter)) padapter 4581 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void start_create_ibss(struct adapter *padapter) padapter 4586 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4593 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_wireless_mode(padapter); padapter 4597 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_capinfo(padapter, caps); padapter 4600 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); padapter 4602 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_DO_IQK, NULL); padapter 4606 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c set_channel_bwmode(padapter, pmlmeext->cur_channel, HAL_PRIME_CHNL_OFFSET_DONT_CARE, CHANNEL_WIDTH_20); padapter 4608 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c beacon_timing_control(padapter); padapter 4612 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Set_MSR(padapter, (pmlmeinfo->state & 0x3)); padapter 4615 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (send_beacon(padapter) == _FAIL) { padapter 4618 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_join_res(padapter, -1); padapter 4621 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BSSID, padapter->registrypriv.dev_network.MacAddress); padapter 4623 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_JOIN, (u8 *)(&join_type)); padapter 4625 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_join_res(padapter, 1); padapter 4627 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_indicate_connect(padapter); padapter 4634 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_bmc_sta(padapter); padapter 4638 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void start_clnt_join(struct adapter *padapter) padapter 4642 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4648 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_wireless_mode(padapter); padapter 4652 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_capinfo(padapter, caps); padapter 4654 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Set_MSR(padapter, WIFI_FW_STATION_STATE); padapter 4658 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); padapter 4668 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_deauth_ex(padapter, pnetwork->MacAddress, WLAN_REASON_DEAUTH_LEAVING, 1, 100); padapter 4675 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c _set_timer(&padapter->mlmepriv.assoc_timer, padapter 4680 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Set_MSR(padapter, WIFI_FW_ADHOC_STATE); padapter 4683 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); padapter 4685 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c beacon_timing_control(padapter); padapter 4689 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_join_res(padapter, 1); padapter 4697 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void start_clnt_auth(struct adapter *padapter) padapter 4699 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4715 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_auth(padapter, NULL, 0); padapter 4722 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void start_clnt_assoc(struct adapter *padapter) padapter 4724 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4732 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_assocreq(padapter); padapter 4737 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int receive_disconnect(struct adapter *padapter, unsigned char *MacAddr, unsigned short reason) padapter 4739 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4751 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_del_sta_event(padapter, MacAddr, reason); padapter 4755 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_join_res(padapter, -2); padapter 4762 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static void process_80211d(struct adapter *padapter, struct wlan_bssid_ex *bssid) padapter 4771 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pregistrypriv = &padapter->registrypriv; padapter 4772 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeext = &padapter->mlmeextpriv; padapter 5006 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void report_survey_event(struct adapter *padapter, union recv_frame *precv_frame) padapter 5018 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (!padapter) padapter 5021 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeext = &padapter->mlmeextpriv; padapter 5022 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pcmdpriv = &padapter->cmdpriv; padapter 5051 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (collect_bss_info(padapter, precv_frame, (struct wlan_bssid_ex *)&psurvey_evt->bss) == _FAIL) { padapter 5057 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c process_80211d(padapter, &psurvey_evt->bss); padapter 5067 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void report_surveydone_event(struct adapter *padapter) padapter 5074 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5075 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 5105 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X("survey done event(%x) band:%d for "ADPT_FMT"\n", psurveydone_evt->bss_cnt, padapter->setband, ADPT_ARG(padapter)); padapter 5113 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void report_join_res(struct adapter *padapter, int res) padapter 5120 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5122 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 5156 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_joinbss_event_prehandle(padapter, (u8 *)&pjoinbss_evt->network); padapter 5165 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void report_wmm_edca_update(struct adapter *padapter) padapter 5172 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5173 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 5209 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void report_del_sta_event(struct adapter *padapter, unsigned char *MacAddr, unsigned short reason) padapter 5218 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5219 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 5252 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(&padapter->stapriv, MacAddr); padapter 5267 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void report_add_sta_event(struct adapter *padapter, unsigned char *MacAddr, int cam_idx) padapter 5274 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5275 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 5320 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void update_sta_info(struct adapter *padapter, struct sta_info *psta) padapter 5322 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 5323 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5327 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c VCS_update(padapter, psta); padapter 5337 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (support_short_GI(padapter, &(pmlmeinfo->HT_caps), CHANNEL_WIDTH_20)) padapter 5340 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (support_short_GI(padapter, &(pmlmeinfo->HT_caps), CHANNEL_WIDTH_40)) padapter 5380 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static void rtw_mlmeext_disconnect(struct adapter *padapter) padapter 5382 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 5383 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5398 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta = rtw_get_stainfo(&padapter->stapriv, get_my_bssid(pnetwork)); padapter 5400 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_macid_wakeup(padapter, psta->mac_id); padapter 5403 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_DISCONNECT, NULL); padapter 5404 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BSSID, null_addr); padapter 5407 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Set_MSR(padapter, _HW_STATE_STATION_); padapter 5415 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c set_channel_bwmode(padapter, pmlmeext->cur_channel, pmlmeext->cur_ch_offset, pmlmeext->cur_bwmode); padapter 5417 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c flush_all_cam_entry(padapter); padapter 5427 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void mlmeext_joinbss_event_callback(struct adapter *padapter, int join_res) padapter 5429 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5432 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 5437 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_JOIN, (u8 *)(&join_type)); padapter 5438 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BSSID, null_addr); padapter 5445 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_bmc_sta(padapter); padapter 5449 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Switch_DM_Func(padapter, DYNAMIC_ALL_FUNC_ENABLE, true); padapter 5452 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_IOT_info(padapter); padapter 5454 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BASIC_RATE, cur_network->SupportedRates); padapter 5457 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BEACON_INTERVAL, (u8 *)(&pmlmeinfo->bcn_interval)); padapter 5460 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_capinfo(padapter, pmlmeinfo->capability); padapter 5463 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c WMMOnAssocRsp(padapter); padapter 5466 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c HTOnAssocRsp(padapter); padapter 5469 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c set_channel_bwmode(padapter, pmlmeext->cur_channel, pmlmeext->cur_ch_offset, pmlmeext->cur_bwmode); padapter 5481 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c set_sta_rate(padapter, psta); padapter 5483 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_sta_media_status_rpt(padapter, psta, 1); padapter 5487 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_macid_wakeup(padapter, psta->mac_id); padapter 5491 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_JOIN, (u8 *)(&join_type)); padapter 5495 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c correct_TSF(padapter, pmlmeext); padapter 5500 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (get_iface_type(padapter) == IFACE_PORT0) padapter 5501 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_CONNECT, 0); padapter 5510 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void mlmeext_sta_add_event_callback(struct adapter *padapter, struct sta_info *psta) padapter 5512 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 5527 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c correct_TSF(padapter, pmlmeext); padapter 5530 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (send_beacon(padapter) == _FAIL) { padapter 5543 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_JOIN, (u8 *)(&join_type)); padapter 5552 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c update_sta_info(padapter, psta); padapter 5554 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_update_sta_rate_mask(padapter, psta); padapter 5558 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta->raid = networktype_to_raid_ex(padapter, psta); padapter 5561 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Update_RA_Entry(padapter, psta); padapter 5564 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void mlmeext_sta_del_event_callback(struct adapter *padapter) padapter 5566 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (is_client_associated_to_ap(padapter) || is_IBSS_empty(padapter)) padapter 5567 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_mlmeext_disconnect(padapter); padapter 5575 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void _linked_info_dump(struct adapter *padapter) padapter 5578 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5581 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct dvobj_priv *pdvobj = adapter_to_dvobj(padapter); padapter 5583 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (padapter->bLinkInfoDump) { padapter 5585 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X("\n ============["ADPT_FMT"] linked status check ===================\n", ADPT_ARG(padapter)); padapter 5588 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_get_def_var(padapter, HAL_DEF_UNDERCORATEDSMOOTHEDPWDB, &UndecoratedSmoothedPWDB); padapter 5591 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c MAC_ARG(padapter->mlmepriv.cur_network.network.MacAddress), UndecoratedSmoothedPWDB); padapter 5596 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 5615 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_get_def_var(padapter, HW_DEF_RA_INFO_DUMP, &i); padapter 5618 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_def_var(padapter, HAL_DEF_DBG_RX_INFO_DUMP, NULL); padapter 5626 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static u8 chk_ap_is_alive(struct adapter *padapter, struct sta_info *psta) padapter 5634 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c , FUNC_ADPT_ARG(padapter) padapter 5645 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X(FUNC_ADPT_FMT" tx_pkts:%llu, link_count:%u\n", FUNC_ADPT_ARG(padapter) padapter 5646 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c , padapter->xmitpriv.tx_pkts padapter 5665 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void linked_status_chk(struct adapter *padapter) padapter 5669 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 5670 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5672 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 5675 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (is_client_associated_to_ap(padapter)) { padapter 5694 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (chk_ap_is_alive(padapter, psta) == false) padapter 5706 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_probereq_ex(padapter, &pmlmeinfo->network.Ssid, pmlmeinfo->network.MacAddress, 0, 0, 0, 0); padapter 5707 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_probereq_ex(padapter, &pmlmeinfo->network.Ssid, pmlmeinfo->network.MacAddress, 0, 0, 0, 0); padapter 5708 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_probereq_ex(padapter, &pmlmeinfo->network.Ssid, pmlmeinfo->network.MacAddress, 0, 0, 0, 0); padapter 5716 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c tx_chk = issue_nulldata_in_interrupt(padapter, NULL); padapter 5724 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter)); padapter 5725 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c receive_disconnect(padapter, pmlmeinfo->network.MacAddress padapter 5741 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c } else if (is_client_associated_to_ibss(padapter)) { padapter 5758 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_del_sta_event(padapter, psta->hwaddr padapter 5777 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct adapter *padapter = padapter 5778 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c from_timer(padapter, t, mlmeextpriv.survey_timer); padapter 5781 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 5782 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5826 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct adapter *padapter = padapter 5827 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c from_timer(padapter, t, mlmeextpriv.link_timer); padapter 5831 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 5839 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_join_res(padapter, -3); padapter 5846 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_join_res(padapter, -1); padapter 5858 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_auth(padapter, NULL, 0); padapter 5864 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_join_res(padapter, -2); padapter 5869 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_assocreq(padapter); padapter 5895 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct adapter *padapter = padapter 5896 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c from_timer(padapter, t, mlmeextpriv.sa_query_timer); padapter 5897 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 5902 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_disassoc_cmd(padapter, 0, true); padapter 5903 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_indicate_disconnect(padapter); padapter 5904 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_free_assoc_resources(padapter, 1); padapter 5911 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 NULL_hdl(struct adapter *padapter, u8 *pbuf) padapter 6009 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 setopmode_hdl(struct adapter *padapter, u8 *pbuf) padapter 6012 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 6030 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SET_OPMODE, (u8 *)(&type)); padapter 6036 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_auto_ap_start_beacon(padapter); padapter 6042 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_btcoex_MediaStatusNotify(padapter, 1); /* connect */ padapter 6049 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 createbss_hdl(struct adapter *padapter, u8 *pbuf) padapter 6051 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 6058 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct wlan_bssid_ex *network = &padapter->mlmepriv.cur_network.network; padapter 6059 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c start_bss_network(padapter, (u8 *)network); padapter 6065 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_joinbss_reset(padapter); padapter 6078 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Save_DM_Func_Flag(padapter); padapter 6079 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Switch_DM_Func(padapter, DYNAMIC_FUNC_DISABLE, false); padapter 6089 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c flush_all_cam_entry(padapter); padapter 6099 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c start_create_ibss(padapter); padapter 6107 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 join_cmd_hdl(struct adapter *padapter, u8 *pbuf) padapter 6111 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct registry_priv *pregpriv = &padapter->registrypriv; padapter 6112 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 6124 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_deauth_ex(padapter, pnetwork->MacAddress, WLAN_REASON_DEAUTH_LEAVING, 1, 100); padapter 6129 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c flush_all_cam_entry(padapter); padapter 6135 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Set_MSR(padapter, _HW_STATE_STATION_); padapter 6138 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_DISCONNECT, NULL); padapter 6141 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_joinbss_reset(padapter); padapter 6177 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c WMM_param_handler(padapter, pIE); padapter 6229 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (rtw_chk_start_clnt_join(padapter, &ch, &bw, &offset) == _FAIL) { padapter 6230 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c report_join_res(padapter, (-4)); padapter 6241 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BSSID, pmlmeinfo->network.MacAddress); padapter 6243 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_JOIN, (u8 *)(&join_type)); padapter 6244 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_DO_IQK, NULL); padapter 6246 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c set_channel_bwmode(padapter, ch, offset, bw); padapter 6251 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c start_clnt_join(padapter); padapter 6257 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 disconnect_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 6260 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 6265 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (is_client_associated_to_ap(padapter)) { padapter 6266 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_deauth_ex(padapter, pnetwork->MacAddress, WLAN_REASON_DEAUTH_LEAVING, param->deauth_timeout_ms/100, 100); padapter 6272 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BCN_FUNC, (u8 *)(&val8)); padapter 6275 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_mlmeext_disconnect(padapter); padapter 6277 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_free_uc_swdec_pending_queue(padapter); padapter 6282 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static int rtw_scan_ch_decision(struct adapter *padapter, struct rtw_ieee80211_channel *out, padapter 6287 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 6296 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X(FUNC_ADPT_FMT" "CHAN_FMT"\n", FUNC_ADPT_ARG(padapter), CHAN_ARG(&in[i])); padapter 6301 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c && rtw_mlme_band_check(padapter, in[i].hw_value) padapter 6305 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), out_num); padapter 6324 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X(FUNC_ADPT_FMT" ch:%u\n", FUNC_ADPT_ARG(padapter), pmlmeext->channel_set[i].ChannelNum); padapter 6326 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (rtw_mlme_band_check(padapter, pmlmeext->channel_set[i].ChannelNum)) { padapter 6330 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), out_num); padapter 6347 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 sitesurvey_cmd_hdl(struct adapter *padapter, u8 *pbuf) padapter 6349 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 6370 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeext->sitesurvey_res.ch_num = rtw_scan_ch_decision(padapter padapter 6378 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (is_client_associated_to_ap(padapter)) { padapter 6381 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_nulldata(padapter, NULL, 1, 3, 500); padapter 6394 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Save_DM_Func_Flag(padapter); padapter 6395 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Switch_DM_Func(padapter, DYNAMIC_FUNC_DISABLE, false); padapter 6400 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_INITIAL_GAIN, (u8 *)(&initialgain)); padapter 6403 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c Set_MSR(padapter, _HW_STATE_NOLINK_); padapter 6406 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_SITESURVEY, (u8 *)(&val8)); padapter 6411 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c site_survey(padapter); padapter 6417 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 setauth_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 6420 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 6429 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 setkey_hdl(struct adapter *padapter, u8 *pbuf) padapter 6434 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 6443 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c cam_id = rtw_camid_alloc(padapter, NULL, pparm->keyid); padapter 6448 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c addr = get_bssid(&padapter->mlmepriv); padapter 6453 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c write_cam(padapter, cam_id, ctrl, addr, pparm->key); padapter 6459 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_DK_CFG, (u8 *)true); padapter 6462 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c padapter->HalFunc.SetHwRegHandler(padapter, HW_VAR_ON_RCR_AM, null_addr); padapter 6467 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 set_stakey_hdl(struct adapter *padapter, u8 *pbuf) padapter 6472 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 6475 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 6489 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c cam_id = rtw_camid_alloc(padapter, psta, 0); padapter 6495 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c while ((cam_id = rtw_camid_search(padapter, pparm->addr, -1)) >= 0) { padapter 6497 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c clear_cam_entry(padapter, cam_id); padapter 6498 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_camid_free(padapter, cam_id); padapter 6504 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c write_cam(padapter, cam_id, ctrl, pparm->addr, pparm->key); padapter 6512 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 add_ba_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 6515 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 6518 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, pparm->addr); padapter 6528 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c issue_action_BA(padapter, pparm->addr, RTW_WLAN_ACTION_ADDBA_REQ, (u16)pparm->tid); padapter 6538 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 chk_bmc_sleepq_cmd(struct adapter *padapter) padapter 6541 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); padapter 6558 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 set_tx_beacon_cmd(struct adapter *padapter) padapter 6562 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); padapter 6563 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 6599 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 mlme_evt_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 6605 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct evt_priv *pevt_priv = &(padapter->evtpriv); padapter 6651 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c event_callback(padapter, (u8 *)peventbuf); padapter 6664 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 h2c_msg_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 6672 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 chk_bmc_sleepq_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 6677 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 6678 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 6681 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c psta_bmc = rtw_get_bcmc_stainfo(padapter); padapter 6712 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_xmitframe_enqueue(padapter, pxmitframe); padapter 6719 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_chk_hi_queue_cmd(padapter); padapter 6725 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 tx_beacon_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 6727 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (send_beacon(padapter) == _FAIL) { padapter 6733 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c chk_bmc_sleepq_hdl(padapter, NULL); padapter 6738 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c int rtw_chk_start_clnt_join(struct adapter *padapter, u8 *ch, u8 *bw, u8 *offset) padapter 6740 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 6782 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 set_ch_hdl(struct adapter *padapter, u8 *pbuf) padapter 6785 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 6793 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c FUNC_NDEV_ARG(padapter->pnetdev), padapter 6800 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c set_channel_bwmode(padapter, set_ch_parm->ch, set_ch_parm->ch_offset, set_ch_parm->bw); padapter 6805 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 set_chplan_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 6808 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 6815 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeext->max_chan_nums = init_channel_set(padapter, setChannelPlan_param->channel_plan, pmlmeext->channel_set); padapter 6816 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c init_channel_list(padapter, pmlmeext->channel_set, pmlmeext->max_chan_nums, &pmlmeext->channel_list); padapter 6818 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if ((padapter->rtw_wdev != NULL) && (padapter->rtw_wdev->wiphy)) { padapter 6821 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_reg_notifier(padapter->rtw_wdev->wiphy, &request); padapter 6827 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 led_blink_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 6838 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 set_csa_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 6853 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 tdls_hdl(struct adapter *padapter, unsigned char *pbuf) padapter 6858 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 run_in_thread_hdl(struct adapter *padapter, u8 *pbuf) padapter 15 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c void _ips_enter(struct adapter *padapter) padapter 17 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 34 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_ips_pwr_down(padapter); padapter 41 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c void ips_enter(struct adapter *padapter) padapter 43 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 46 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c hal_btcoex_IpsNotify(padapter, pwrpriv->ips_mode_req); padapter 49 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c _ips_enter(padapter); padapter 53 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c int _ips_leave(struct adapter *padapter) padapter 55 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 64 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c result = rtw_ips_pwr_up(padapter); padapter 70 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c DBG_871X("==> ips_leave.....LED(0x%08x)...\n", rtw_read32(padapter, 0x4c)); padapter 80 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c int ips_leave(struct adapter *padapter) padapter 82 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 85 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (!is_primary_adapter(padapter)) padapter 89 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c ret = _ips_leave(padapter); padapter 93 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c hal_btcoex_IpsNotify(padapter, IPS_NONE); padapter 154 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c void rtw_ps_processor(struct adapter *padapter) padapter 156 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 157 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct dvobj_priv *psdpriv = padapter->dvobj; padapter 161 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c mutex_lock(&adapter_to_pwrctl(padapter)->lock); padapter 162 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c ps_deny = rtw_ps_deny_get(padapter); padapter 163 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c mutex_unlock(&adapter_to_pwrctl(padapter)->lock); padapter 166 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c FUNC_ADPT_ARG(padapter), ps_deny); padapter 181 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (!rtw_pwr_unassociated_idle(padapter)) padapter 188 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c ips_enter(padapter); padapter 200 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct adapter *padapter = pwrctrlpriv->adapter; padapter 202 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_ps_cmd(padapter); padapter 205 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c void traffic_check_for_leave_lps(struct adapter *padapter, u8 tx, u32 tx_packets) padapter 210 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 222 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (adapter_to_pwrctl(padapter)->bLeisurePs padapter 223 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c && (adapter_to_pwrctl(padapter)->pwr_mode != PS_MODE_ACTIVE) padapter 224 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c && !(hal_btcoex_IsBtControlLps(padapter))) { padapter 236 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (adapter_to_pwrctl(padapter)->bLeisurePs padapter 237 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c && (adapter_to_pwrctl(padapter)->pwr_mode != PS_MODE_ACTIVE) padapter 238 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c && !(hal_btcoex_IsBtControlLps(padapter))) { padapter 248 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_LEAVE, tx?0:1); padapter 260 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c void rtw_set_rpwm(struct adapter *padapter, u8 pslv) padapter 263 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 279 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if ((padapter->bSurpriseRemoved) || !(padapter->hw_init_completed)) { padapter 282 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c __func__, padapter->bSurpriseRemoved, padapter->hw_init_completed)); padapter 289 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (padapter->bDriverStopped) { padapter 311 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_hal_get_hwreg(padapter, HW_VAR_CPWM, &cpwm_orig); padapter 315 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_hal_set_hwreg(padapter, HW_VAR_SET_RPWM, (u8 *)(&rpwm)); padapter 331 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_hal_get_hwreg(padapter, HW_VAR_CPWM, &cpwm_now); padapter 348 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c static u8 PS_RDY_CHECK(struct adapter *padapter) padapter 351 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 352 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 377 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c || rtw_is_scan_deny(padapter) padapter 381 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if ((padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) && !(padapter->securitypriv.binstallGrpkey)) { padapter 386 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (!rtw_cfg80211_pwr_mgmt(padapter)) padapter 392 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_ant_mode, const char *msg) padapter 394 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 396 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct debug_priv *pdbgpriv = &padapter->dvobj->drv_dbg; padapter 417 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (!(hal_btcoex_IsBtControlLps(padapter)) padapter 418 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c || (hal_btcoex_IsBtControlLps(padapter) padapter 419 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c && !(hal_btcoex_IsLpsOn(padapter)))) { padapter 421 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c FUNC_ADPT_ARG(padapter), msg); padapter 424 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_set_rpwm(padapter, PS_STATE_S4); padapter 434 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_hal_get_hwreg(padapter, HW_VAR_SYS_CLKR, &val8); padapter 449 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_PWRMODE, (u8 *)(&ps_mode)); padapter 452 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c hal_btcoex_LpsNotify(padapter, ps_mode); padapter 455 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if ((PS_RDY_CHECK(padapter) && check_fwstate(&padapter->mlmepriv, WIFI_ASOC_STATE)) padapter 456 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c || ((hal_btcoex_IsBtControlLps(padapter)) padapter 457 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c && (hal_btcoex_IsLpsOn(padapter))) padapter 462 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c FUNC_ADPT_ARG(padapter), msg); padapter 464 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c hal_btcoex_LpsNotify(padapter, ps_mode); padapter 470 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_PWRMODE, (u8 *)(&ps_mode)); padapter 476 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (!(hal_btcoex_IsBtDisabled(padapter)) padapter 477 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c && (hal_btcoex_IsBtControlLps(padapter))) { padapter 480 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c val8 = hal_btcoex_LpsVal(padapter); padapter 485 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_set_rpwm(padapter, pslv); padapter 498 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c s32 LPS_RF_ON_check(struct adapter *padapter, u32 delay_ms) padapter 507 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_hal_get_hwreg(padapter, HW_VAR_FWLPS_RF_ON, &bAwake); padapter 511 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (padapter->bSurpriseRemoved) { padapter 532 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c void LPS_Enter(struct adapter *padapter, const char *msg) padapter 534 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct dvobj_priv *dvobj = adapter_to_dvobj(padapter); padapter 539 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (hal_btcoex_IsBtControlLps(padapter)) padapter 549 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (get_iface_type(padapter) != IFACE_PORT0) padapter 561 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_set_ps_mode(padapter, pwrpriv->power_mgnt, padapter->registrypriv.smart_ps, 0, buf); padapter 574 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c void LPS_Leave(struct adapter *padapter, const char *msg) padapter 578 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct dvobj_priv *dvobj = adapter_to_dvobj(padapter); padapter 584 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (hal_btcoex_IsBtControlLps(padapter)) padapter 590 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_set_ps_mode(padapter, PS_MODE_ACTIVE, 0, 0, buf); padapter 593 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c LPS_RF_ON_check(padapter, LPS_LEAVE_TIMEOUT_MS); padapter 677 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct adapter *padapter) padapter 683 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrpriv = adapter_to_pwrctl(padapter); padapter 693 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (padapter->bSurpriseRemoved padapter 694 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c || !(padapter->hw_init_completed) padapter 719 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct adapter *padapter, padapter 724 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrpriv = adapter_to_pwrctl(padapter); padapter 738 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c complete(&padapter->cmdpriv.cmd_queue_comp); padapter 741 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c complete(&padapter->xmitpriv.xmit_comp); padapter 766 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct adapter *padapter; padapter 773 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c padapter = dvobj->if1; padapter 783 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (rtw_read8(padapter, 0x100) != 0xEA) { padapter 788 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c cpwm_int_hdl(padapter, &report); padapter 800 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_set_rpwm(padapter, pwrpriv->rpwm); padapter 850 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c s32 rtw_register_task_alive(struct adapter *padapter, u32 task) padapter 857 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrctrl = adapter_to_pwrctl(padapter); padapter 873 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_set_rpwm(padapter, pslv); padapter 896 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c void rtw_unregister_task_alive(struct adapter *padapter, u32 task) padapter 901 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrctrl = adapter_to_pwrctl(padapter); padapter 904 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (!(hal_btcoex_IsBtDisabled(padapter)) padapter 905 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c && hal_btcoex_IsBtControlLps(padapter)) { padapter 908 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c val8 = hal_btcoex_LpsVal(padapter); padapter 925 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_set_rpwm(padapter, pslv); padapter 945 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c s32 rtw_register_tx_alive(struct adapter *padapter) padapter 952 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrctrl = adapter_to_pwrctl(padapter); padapter 968 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_set_rpwm(padapter, pslv); padapter 994 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c s32 rtw_register_cmd_alive(struct adapter *padapter) padapter 1001 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrctrl = adapter_to_pwrctl(padapter); padapter 1017 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_set_rpwm(padapter, pslv); padapter 1037 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c void rtw_unregister_tx_alive(struct adapter *padapter) padapter 1042 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrctrl = adapter_to_pwrctl(padapter); padapter 1045 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (!(hal_btcoex_IsBtDisabled(padapter)) padapter 1046 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c && hal_btcoex_IsBtControlLps(padapter)) { padapter 1049 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c val8 = hal_btcoex_LpsVal(padapter); padapter 1066 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_set_rpwm(padapter, pslv); padapter 1079 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c void rtw_unregister_cmd_alive(struct adapter *padapter) padapter 1084 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrctrl = adapter_to_pwrctl(padapter); padapter 1087 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (!(hal_btcoex_IsBtDisabled(padapter)) padapter 1088 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c && hal_btcoex_IsBtControlLps(padapter)) { padapter 1091 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c val8 = hal_btcoex_LpsVal(padapter); padapter 1108 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_set_rpwm(padapter, pslv); padapter 1115 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c void rtw_init_pwrctrl_priv(struct adapter *padapter) padapter 1117 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); padapter 1125 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrctrlpriv->ips_mode = padapter->registrypriv.ips_mode; padapter 1126 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrctrlpriv->ips_mode_req = padapter->registrypriv.ips_mode; padapter 1135 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrctrlpriv->power_mgnt = padapter->registrypriv.power_mgnt;/* PS_MODE_MIN; */ padapter 1144 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrctrlpriv->smart_ps = padapter->registrypriv.smart_ps; padapter 1150 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_hal_set_hwreg(padapter, HW_VAR_SET_RPWM, (u8 *)(&pwrctrlpriv->rpwm)); padapter 1155 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrctrlpriv->adapter = padapter; padapter 1188 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c inline void rtw_set_ips_deny(struct adapter *padapter, u32 ms) padapter 1190 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 1201 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c int _rtw_pwr_wakeup(struct adapter *padapter, u32 ips_deffer_ms, const char *caller) padapter 1203 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct dvobj_priv *dvobj = adapter_to_dvobj(padapter); padapter 1211 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c LeaveAllPowerSaveMode(padapter); padapter 1214 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c padapter = GET_PRIMARY_ADAPTER(padapter); padapter 1215 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pmlmepriv = &padapter->mlmepriv; padapter 1251 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (pwrpriv->bInternalAutoSuspend && padapter->net_closed) { padapter 1265 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (_FAIL == ips_leave(padapter)) { padapter 1274 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (padapter->bDriverStopped padapter 1275 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c || !padapter->bup padapter 1276 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c || !padapter->hw_init_completed padapter 1280 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c , padapter->bDriverStopped padapter 1281 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c , padapter->bup padapter 1282 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c , padapter->hw_init_completed); padapter 1295 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c int rtw_pm_set_lps(struct adapter *padapter, u8 mode) padapter 1298 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); padapter 1303 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c LeaveAllPowerSaveMode(padapter); padapter 1317 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c int rtw_pm_set_ips(struct adapter *padapter, u8 mode) padapter 1319 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); padapter 1328 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if ((padapter->bSurpriseRemoved == 0) && (_FAIL == rtw_pwr_wakeup(padapter))) padapter 1340 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c void rtw_ps_deny(struct adapter *padapter, enum PS_DENY_REASON reason) padapter 1347 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrpriv = adapter_to_pwrctl(padapter); padapter 1352 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c FUNC_ADPT_ARG(padapter), reason); padapter 1365 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c void rtw_ps_deny_cancel(struct adapter *padapter, enum PS_DENY_REASON reason) padapter 1373 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c pwrpriv = adapter_to_pwrctl(padapter); padapter 1378 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c FUNC_ADPT_ARG(padapter), reason); padapter 1392 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c u32 rtw_ps_deny_get(struct adapter *padapter) padapter 1397 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c deny = adapter_to_pwrctl(padapter)->ps_deny; padapter 35 drivers/staging/rtl8723bs/core/rtw_recv.c sint _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter) padapter 47 drivers/staging/rtl8723bs/core/rtw_recv.c precvpriv->adapter = padapter; padapter 70 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_os_recv_resource_alloc(padapter, precvframe); padapter 74 drivers/staging/rtl8723bs/core/rtw_recv.c precvframe->u.hdr.adapter = padapter; padapter 79 drivers/staging/rtl8723bs/core/rtw_recv.c res = rtw_hal_init_recv_priv(padapter); padapter 94 drivers/staging/rtl8723bs/core/rtw_recv.c struct adapter *padapter = precvpriv->adapter; padapter 96 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_free_uc_swdec_pending_queue(padapter); padapter 103 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_hal_free_recv_priv(padapter); padapter 111 drivers/staging/rtl8723bs/core/rtw_recv.c struct adapter *padapter; padapter 124 drivers/staging/rtl8723bs/core/rtw_recv.c padapter = precvframe->u.hdr.adapter; padapter 125 drivers/staging/rtl8723bs/core/rtw_recv.c if (padapter) { padapter 126 drivers/staging/rtl8723bs/core/rtw_recv.c precvpriv = &padapter->recvpriv; padapter 149 drivers/staging/rtl8723bs/core/rtw_recv.c struct adapter *padapter = precvframe->u.hdr.adapter; padapter 150 drivers/staging/rtl8723bs/core/rtw_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 163 drivers/staging/rtl8723bs/core/rtw_recv.c if (padapter) { padapter 177 drivers/staging/rtl8723bs/core/rtw_recv.c struct adapter *padapter = precvframe->u.hdr.adapter; padapter 178 drivers/staging/rtl8723bs/core/rtw_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 186 drivers/staging/rtl8723bs/core/rtw_recv.c if (padapter) padapter 442 drivers/staging/rtl8723bs/core/rtw_recv.c union recv_frame *decryptor(struct adapter *padapter, union recv_frame *precv_frame); padapter 443 drivers/staging/rtl8723bs/core/rtw_recv.c union recv_frame *decryptor(struct adapter *padapter, union recv_frame *precv_frame) padapter 447 drivers/staging/rtl8723bs/core/rtw_recv.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 451 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_post_decrypt); padapter 491 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_post_decrypt_wep); padapter 492 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_wep_decrypt(padapter, (u8 *)precv_frame); padapter 495 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_post_decrypt_tkip); padapter 496 drivers/staging/rtl8723bs/core/rtw_recv.c res = rtw_tkip_decrypt(padapter, (u8 *)precv_frame); padapter 499 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_post_decrypt_aes); padapter 500 drivers/staging/rtl8723bs/core/rtw_recv.c res = rtw_aes_decrypt(padapter, (u8 *)precv_frame); padapter 509 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_post_decrypt_hw); padapter 522 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_post_decrypt_unknown); padapter 534 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_free_recvframe(return_packet, &padapter->recvpriv.free_recv_queue); padapter 649 drivers/staging/rtl8723bs/core/rtw_recv.c void process_pwrbit_data(struct adapter *padapter, union recv_frame *precv_frame); padapter 650 drivers/staging/rtl8723bs/core/rtw_recv.c void process_pwrbit_data(struct adapter *padapter, union recv_frame *precv_frame) padapter 655 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 668 drivers/staging/rtl8723bs/core/rtw_recv.c stop_sta_xmit(padapter, psta); padapter 677 drivers/staging/rtl8723bs/core/rtw_recv.c wakeup_sta_to_xmit(padapter, psta); padapter 686 drivers/staging/rtl8723bs/core/rtw_recv.c void process_wmmps_data(struct adapter *padapter, union recv_frame *precv_frame); padapter 687 drivers/staging/rtl8723bs/core/rtw_recv.c void process_wmmps_data(struct adapter *padapter, union recv_frame *precv_frame) padapter 690 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 730 drivers/staging/rtl8723bs/core/rtw_recv.c xmit_delivery_enabled_frames(padapter, psta); padapter 733 drivers/staging/rtl8723bs/core/rtw_recv.c issue_qos_nulldata(padapter, psta->hwaddr, (u16)pattrib->priority, 0, 0); padapter 738 drivers/staging/rtl8723bs/core/rtw_recv.c void count_rx_stats(struct adapter *padapter, union recv_frame *prframe, struct sta_info *sta); padapter 739 drivers/staging/rtl8723bs/core/rtw_recv.c void count_rx_stats(struct adapter *padapter, union recv_frame *prframe, struct sta_info *sta) padapter 745 drivers/staging/rtl8723bs/core/rtw_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 750 drivers/staging/rtl8723bs/core/rtw_recv.c padapter->mlmepriv.LinkDetectInfo.NumRxOkInPeriod++; padapter 753 drivers/staging/rtl8723bs/core/rtw_recv.c padapter->mlmepriv.LinkDetectInfo.NumRxUnicastOkInPeriod++; padapter 768 drivers/staging/rtl8723bs/core/rtw_recv.c traffic_check_for_leave_lps(padapter, false, 0); padapter 1083 drivers/staging/rtl8723bs/core/rtw_recv.c sint validate_recv_ctrl_frame(struct adapter *padapter, union recv_frame *precv_frame); padapter 1084 drivers/staging/rtl8723bs/core/rtw_recv.c sint validate_recv_ctrl_frame(struct adapter *padapter, union recv_frame *precv_frame) padapter 1087 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1098 drivers/staging/rtl8723bs/core/rtw_recv.c if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) padapter 1149 drivers/staging/rtl8723bs/core/rtw_recv.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1175 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_hal_xmitframe_enqueue(padapter, pxmitframe); padapter 1184 drivers/staging/rtl8723bs/core/rtw_recv.c update_beacon(padapter, _TIM_IE_, NULL, true); padapter 1200 drivers/staging/rtl8723bs/core/rtw_recv.c issue_nulldata_in_interrupt(padapter, psta->hwaddr); padapter 1210 drivers/staging/rtl8723bs/core/rtw_recv.c update_beacon(padapter, _TIM_IE_, NULL, true); padapter 1220 drivers/staging/rtl8723bs/core/rtw_recv.c union recv_frame *recvframe_chk_defrag(struct adapter *padapter, union recv_frame *precv_frame); padapter 1221 drivers/staging/rtl8723bs/core/rtw_recv.c sint validate_recv_mgnt_frame(struct adapter *padapter, union recv_frame *precv_frame); padapter 1222 drivers/staging/rtl8723bs/core/rtw_recv.c sint validate_recv_mgnt_frame(struct adapter *padapter, union recv_frame *precv_frame) padapter 1228 drivers/staging/rtl8723bs/core/rtw_recv.c precv_frame = recvframe_chk_defrag(padapter, precv_frame); padapter 1236 drivers/staging/rtl8723bs/core/rtw_recv.c struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(precv_frame->u.hdr.rx_data)); padapter 1244 drivers/staging/rtl8723bs/core/rtw_recv.c if (!memcmp(padapter->eeprompriv.mac_addr, GetAddr1Ptr(precv_frame->u.hdr.rx_data), ETH_ALEN)) padapter 1255 drivers/staging/rtl8723bs/core/rtw_recv.c mgt_dispatcher(padapter, precv_frame); padapter 1547 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_pre_mgmt_err_80211w); padapter 1790 drivers/staging/rtl8723bs/core/rtw_recv.c union recv_frame *recvframe_chk_defrag(struct adapter *padapter, union recv_frame *precv_frame) padapter 1802 drivers/staging/rtl8723bs/core/rtw_recv.c pstapriv = &padapter->stapriv; padapter 1806 drivers/staging/rtl8723bs/core/rtw_recv.c pfree_recv_queue = &padapter->recvpriv.free_recv_queue; padapter 1817 drivers/staging/rtl8723bs/core/rtw_recv.c psta = rtw_get_bcmc_stainfo(padapter); padapter 1869 drivers/staging/rtl8723bs/core/rtw_recv.c precv_frame = recvframe_defrag(padapter, pdefrag_q); padapter 1884 drivers/staging/rtl8723bs/core/rtw_recv.c if (recvframe_chkmic(padapter, prtnframe) == _FAIL) { padapter 1893 drivers/staging/rtl8723bs/core/rtw_recv.c static int amsdu_to_msdu(struct adapter *padapter, union recv_frame *prframe) padapter 1900 drivers/staging/rtl8723bs/core/rtw_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 1963 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_os_recv_indicate_pkt(padapter, sub_pkt, &prframe->u.hdr.attrib); padapter 1976 drivers/staging/rtl8723bs/core/rtw_recv.c struct adapter *padapter = preorder_ctrl->padapter; padapter 1977 drivers/staging/rtl8723bs/core/rtw_recv.c struct dvobj_priv *psdpriv = padapter->dvobj; padapter 2104 drivers/staging/rtl8723bs/core/rtw_recv.c int recv_indicatepkts_in_order(struct adapter *padapter, struct recv_reorder_ctrl *preorder_ctrl, int bforced); padapter 2105 drivers/staging/rtl8723bs/core/rtw_recv.c int recv_indicatepkts_in_order(struct adapter *padapter, struct recv_reorder_ctrl *preorder_ctrl, int bforced) padapter 2112 drivers/staging/rtl8723bs/core/rtw_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 2114 drivers/staging/rtl8723bs/core/rtw_recv.c struct dvobj_priv *psdpriv = padapter->dvobj; padapter 2117 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_post_indicate_in_oder); padapter 2183 drivers/staging/rtl8723bs/core/rtw_recv.c if ((padapter->bDriverStopped == false) && padapter 2184 drivers/staging/rtl8723bs/core/rtw_recv.c (padapter->bSurpriseRemoved == false)) padapter 2185 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_recv_indicatepkt(padapter, prframe);/* indicate this recv_frame */ padapter 2188 drivers/staging/rtl8723bs/core/rtw_recv.c if (amsdu_to_msdu(padapter, prframe) != _SUCCESS) padapter 2214 drivers/staging/rtl8723bs/core/rtw_recv.c int recv_indicatepkt_reorder(struct adapter *padapter, union recv_frame *prframe); padapter 2215 drivers/staging/rtl8723bs/core/rtw_recv.c int recv_indicatepkt_reorder(struct adapter *padapter, union recv_frame *prframe) padapter 2221 drivers/staging/rtl8723bs/core/rtw_recv.c struct dvobj_priv *psdpriv = padapter->dvobj; padapter 2224 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_post_indicate_reoder); padapter 2231 drivers/staging/rtl8723bs/core/rtw_recv.c if ((padapter->bDriverStopped == false) && padapter 2232 drivers/staging/rtl8723bs/core/rtw_recv.c (padapter->bSurpriseRemoved == false)) { padapter 2235 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_recv_indicatepkt(padapter, prframe); padapter 2256 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_recv_indicatepkt(padapter, prframe); padapter 2274 drivers/staging/rtl8723bs/core/rtw_recv.c retval = amsdu_to_msdu(padapter, prframe); padapter 2331 drivers/staging/rtl8723bs/core/rtw_recv.c if (recv_indicatepkts_in_order(padapter, preorder_ctrl, false) == true) { padapter 2352 drivers/staging/rtl8723bs/core/rtw_recv.c struct adapter *padapter = preorder_ctrl->padapter; padapter 2356 drivers/staging/rtl8723bs/core/rtw_recv.c if (padapter->bDriverStopped || padapter->bSurpriseRemoved) padapter 2363 drivers/staging/rtl8723bs/core/rtw_recv.c if (recv_indicatepkts_in_order(padapter, preorder_ctrl, true) == true) padapter 2370 drivers/staging/rtl8723bs/core/rtw_recv.c int process_recv_indicatepkts(struct adapter *padapter, union recv_frame *prframe); padapter 2371 drivers/staging/rtl8723bs/core/rtw_recv.c int process_recv_indicatepkts(struct adapter *padapter, union recv_frame *prframe) padapter 2376 drivers/staging/rtl8723bs/core/rtw_recv.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2379 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_post_indicate); padapter 2384 drivers/staging/rtl8723bs/core/rtw_recv.c if (recv_indicatepkt_reorder(padapter, prframe) != _SUCCESS) { /* including perform A-MPDU Rx Ordering Buffer Control */ padapter 2389 drivers/staging/rtl8723bs/core/rtw_recv.c if ((padapter->bDriverStopped == false) && padapter 2390 drivers/staging/rtl8723bs/core/rtw_recv.c (padapter->bSurpriseRemoved == false)) { padapter 2405 drivers/staging/rtl8723bs/core/rtw_recv.c if ((padapter->bDriverStopped == false) && (padapter->bSurpriseRemoved == false)) { padapter 2408 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_recv_indicatepkt(padapter, prframe); padapter 2414 drivers/staging/rtl8723bs/core/rtw_recv.c RT_TRACE(_module_rtl871x_recv_c_, _drv_notice_, ("recv_func:bDriverStopped(%d) OR bSurpriseRemoved(%d)", padapter->bDriverStopped, padapter->bSurpriseRemoved)); padapter 2425 drivers/staging/rtl8723bs/core/rtw_recv.c static int recv_func_prehandle(struct adapter *padapter, union recv_frame *rframe) padapter 2428 drivers/staging/rtl8723bs/core/rtw_recv.c struct __queue *pfree_recv_queue = &padapter->recvpriv.free_recv_queue; padapter 2430 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_pre); padapter 2433 drivers/staging/rtl8723bs/core/rtw_recv.c ret = validate_recv_frame(padapter, rframe); padapter 2444 drivers/staging/rtl8723bs/core/rtw_recv.c static int recv_func_posthandle(struct adapter *padapter, union recv_frame *prframe) padapter 2448 drivers/staging/rtl8723bs/core/rtw_recv.c struct recv_priv *precvpriv = &padapter->recvpriv; padapter 2449 drivers/staging/rtl8723bs/core/rtw_recv.c struct __queue *pfree_recv_queue = &padapter->recvpriv.free_recv_queue; padapter 2451 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_post); padapter 2453 drivers/staging/rtl8723bs/core/rtw_recv.c prframe = decryptor(padapter, prframe); padapter 2460 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_post_decrypt_err); padapter 2464 drivers/staging/rtl8723bs/core/rtw_recv.c prframe = recvframe_chk_defrag(padapter, prframe); padapter 2470 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_post_defrag_err); padapter 2474 drivers/staging/rtl8723bs/core/rtw_recv.c prframe = portctrl(padapter, prframe); padapter 2481 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_post_portctrl_err); padapter 2485 drivers/staging/rtl8723bs/core/rtw_recv.c count_rx_stats(padapter, prframe, NULL); padapter 2487 drivers/staging/rtl8723bs/core/rtw_recv.c ret = process_recv_indicatepkts(padapter, prframe); padapter 2494 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_post_indicate_err); padapter 2504 drivers/staging/rtl8723bs/core/rtw_recv.c int recv_func(struct adapter *padapter, union recv_frame *rframe); padapter 2505 drivers/staging/rtl8723bs/core/rtw_recv.c int recv_func(struct adapter *padapter, union recv_frame *rframe) padapter 2509 drivers/staging/rtl8723bs/core/rtw_recv.c struct recv_priv *recvpriv = &padapter->recvpriv; padapter 2510 drivers/staging/rtl8723bs/core/rtw_recv.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 2511 drivers/staging/rtl8723bs/core/rtw_recv.c struct mlme_priv *mlmepriv = &padapter->mlmepriv; padapter 2518 drivers/staging/rtl8723bs/core/rtw_recv.c while ((pending_frame = rtw_alloc_recvframe(&padapter->recvpriv.uc_swdec_pending_queue))) { padapter 2520 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_dequeue); padapter 2521 drivers/staging/rtl8723bs/core/rtw_recv.c recv_func_posthandle(padapter, pending_frame); padapter 2526 drivers/staging/rtl8723bs/core/rtw_recv.c FUNC_ADPT_ARG(padapter), cnt); padapter 2529 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx); padapter 2530 drivers/staging/rtl8723bs/core/rtw_recv.c ret = recv_func_prehandle(padapter, rframe); padapter 2540 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_COUNTER(padapter->rx_logs.core_rx_enqueue); padapter 2541 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_enqueue_recvframe(rframe, &padapter->recvpriv.uc_swdec_pending_queue); padapter 2546 drivers/staging/rtl8723bs/core/rtw_recv.c rframe = rtw_alloc_recvframe(&padapter->recvpriv.uc_swdec_pending_queue); padapter 2554 drivers/staging/rtl8723bs/core/rtw_recv.c ret = recv_func_posthandle(padapter, rframe); padapter 2564 drivers/staging/rtl8723bs/core/rtw_recv.c struct adapter *padapter; padapter 2570 drivers/staging/rtl8723bs/core/rtw_recv.c padapter = precvframe->u.hdr.adapter; padapter 2572 drivers/staging/rtl8723bs/core/rtw_recv.c precvpriv = &padapter->recvpriv; padapter 2574 drivers/staging/rtl8723bs/core/rtw_recv.c ret = recv_func(padapter, precvframe); padapter 213 drivers/staging/rtl8723bs/core/rtw_security.c void rtw_wep_encrypt(struct adapter *padapter, u8 *pxmitframe) padapter 226 drivers/staging/rtl8723bs/core/rtw_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 227 drivers/staging/rtl8723bs/core/rtw_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 271 drivers/staging/rtl8723bs/core/rtw_security.c void rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe) padapter 281 drivers/staging/rtl8723bs/core/rtw_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 650 drivers/staging/rtl8723bs/core/rtw_security.c u32 rtw_tkip_encrypt(struct adapter *padapter, u8 *pxmitframe) padapter 666 drivers/staging/rtl8723bs/core/rtw_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 667 drivers/staging/rtl8723bs/core/rtw_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 759 drivers/staging/rtl8723bs/core/rtw_security.c u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe) padapter 774 drivers/staging/rtl8723bs/core/rtw_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 782 drivers/staging/rtl8723bs/core/rtw_security.c stainfo = rtw_get_stainfo(&padapter->stapriv, &prxattrib->ta[0]); padapter 803 drivers/staging/rtl8723bs/core/rtw_security.c FUNC_ADPT_ARG(padapter), no_gkey_bc_cnt, no_gkey_mc_cnt); padapter 814 drivers/staging/rtl8723bs/core/rtw_security.c FUNC_ADPT_ARG(padapter), no_gkey_bc_cnt, no_gkey_mc_cnt); padapter 1519 drivers/staging/rtl8723bs/core/rtw_security.c u32 rtw_aes_encrypt(struct adapter *padapter, u8 *pxmitframe) padapter 1533 drivers/staging/rtl8723bs/core/rtw_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 1534 drivers/staging/rtl8723bs/core/rtw_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1848 drivers/staging/rtl8723bs/core/rtw_security.c u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe) padapter 1863 drivers/staging/rtl8723bs/core/rtw_security.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 1870 drivers/staging/rtl8723bs/core/rtw_security.c stainfo = rtw_get_stainfo(&padapter->stapriv, &prxattrib->ta[0]); padapter 1895 drivers/staging/rtl8723bs/core/rtw_security.c FUNC_ADPT_ARG(padapter), no_gkey_bc_cnt, no_gkey_mc_cnt); padapter 1907 drivers/staging/rtl8723bs/core/rtw_security.c FUNC_ADPT_ARG(padapter), no_gkey_bc_cnt, no_gkey_mc_cnt); padapter 1938 drivers/staging/rtl8723bs/core/rtw_security.c u32 rtw_BIP_verify(struct adapter *padapter, u8 *precvframe) padapter 1947 drivers/staging/rtl8723bs/core/rtw_security.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1981 drivers/staging/rtl8723bs/core/rtw_security.c if (keyid != padapter->securitypriv.dot11wBIPKeyid) { padapter 1996 drivers/staging/rtl8723bs/core/rtw_security.c if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey padapter 218 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c psta->padapter = pstapriv->padapter; padapter 265 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c init_addba_retry_timer(pstapriv->padapter, psta); padapter 271 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c preorder_ctrl->padapter = pstapriv->padapter; padapter 298 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c rtw_alloc_macid(pstapriv->padapter, psta); padapter 309 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c u32 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta) padapter 315 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 316 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 406 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct __queue *pfree_recv_queue = &padapter->recvpriv.free_recv_queue; padapter 435 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c rtw_hal_set_odm_var(padapter, HAL_ODM_STA_INFO, psta, false); padapter 438 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c rtw_release_macid(pstapriv->padapter, psta); padapter 483 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c void rtw_free_all_stainfo(struct adapter *padapter) padapter 488 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 489 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct sta_info *pbcmc_stainfo = rtw_get_bcmc_stainfo(padapter); padapter 506 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c rtw_free_stainfo(padapter, psta); padapter 555 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c u32 rtw_init_bcmc_stainfo(struct adapter *padapter) padapter 563 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 582 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct sta_info *rtw_get_bcmc_stainfo(struct adapter *padapter) padapter 584 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 590 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c u8 rtw_access_ctrl(struct adapter *padapter, u8 *mac_addr) padapter 596 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 173 drivers/staging/rtl8723bs/core/rtw_wlan_util.c int is_basicrate(struct adapter *padapter, unsigned char rate); padapter 174 drivers/staging/rtl8723bs/core/rtw_wlan_util.c int is_basicrate(struct adapter *padapter, unsigned char rate) padapter 178 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 191 drivers/staging/rtl8723bs/core/rtw_wlan_util.c unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset); padapter 192 drivers/staging/rtl8723bs/core/rtw_wlan_util.c unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset) padapter 197 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 212 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (is_basicrate(padapter, rate) == true) padapter 223 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void get_rate_set(struct adapter *padapter, unsigned char *pbssrate, int *bssrate_len) padapter 228 drivers/staging/rtl8723bs/core/rtw_wlan_util.c *bssrate_len = ratetbl2rateset(padapter, supportedrates); padapter 285 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void Save_DM_Func_Flag(struct adapter *padapter) padapter 288 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_DM_FUNC_OP, (u8 *)(&bSaveFlag)); padapter 291 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void Restore_DM_Func_Flag(struct adapter *padapter) padapter 294 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_DM_FUNC_OP, (u8 *)(&bSaveFlag)); padapter 297 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void Switch_DM_Func(struct adapter *padapter, u32 mode, u8 enable) padapter 300 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_DM_FUNC_SET, (u8 *)(&mode)); padapter 302 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_DM_FUNC_CLR, (u8 *)(&mode)); padapter 305 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void Set_MSR(struct adapter *padapter, u8 type) padapter 307 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_MEDIA_STATUS, (u8 *)(&type)); padapter 409 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void SelectChannel(struct adapter *padapter, unsigned char channel) padapter 411 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (mutex_lock_interruptible(&(adapter_to_dvobj(padapter)->setch_mutex))) padapter 415 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_set_oper_ch(padapter, channel); padapter 417 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_chan(padapter, channel); padapter 419 drivers/staging/rtl8723bs/core/rtw_wlan_util.c mutex_unlock(&(adapter_to_dvobj(padapter)->setch_mutex)); padapter 422 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void set_channel_bwmode(struct adapter *padapter, unsigned char channel, unsigned char channel_offset, unsigned short bwmode) padapter 426 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (padapter->bNotifyChannelChange) padapter 441 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (mutex_lock_interruptible(&(adapter_to_dvobj(padapter)->setch_mutex))) padapter 445 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_set_oper_ch(padapter, channel); padapter 446 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_set_oper_bw(padapter, bwmode); padapter 447 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_set_oper_choffset(padapter, channel_offset); padapter 449 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_chnl_bw(padapter, center_ch, bwmode, channel_offset, chnl_offset80); /* set center channel */ padapter 451 drivers/staging/rtl8723bs/core/rtw_wlan_util.c mutex_unlock(&(adapter_to_dvobj(padapter)->setch_mutex)); padapter 467 drivers/staging/rtl8723bs/core/rtw_wlan_util.c int is_client_associated_to_ap(struct adapter *padapter) padapter 472 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (!padapter) padapter 475 drivers/staging/rtl8723bs/core/rtw_wlan_util.c pmlmeext = &padapter->mlmeextpriv; padapter 484 drivers/staging/rtl8723bs/core/rtw_wlan_util.c int is_client_associated_to_ibss(struct adapter *padapter) padapter 486 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 495 drivers/staging/rtl8723bs/core/rtw_wlan_util.c int is_IBSS_empty(struct adapter *padapter) padapter 498 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 519 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void invalidate_cam_all(struct adapter *padapter) padapter 521 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct dvobj_priv *dvobj = adapter_to_dvobj(padapter); padapter 524 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_CAM_INVALID_ALL, NULL); padapter 532 drivers/staging/rtl8723bs/core/rtw_wlan_util.c static u32 _ReadCAM(struct adapter *padapter, u32 addr) padapter 536 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_write32(padapter, RWCAM, cmd); padapter 539 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (0 == (rtw_read32(padapter, REG_CAMCMD) & CAM_POLLINIG)) padapter 543 drivers/staging/rtl8723bs/core/rtw_wlan_util.c return rtw_read32(padapter, REG_CAMREAD); padapter 545 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void read_cam(struct adapter *padapter, u8 entry, u8 *get_key) padapter 552 drivers/staging/rtl8723bs/core/rtw_wlan_util.c cmd = _ReadCAM(padapter, addr+j); padapter 560 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void _write_cam(struct adapter *padapter, u8 entry, u16 ctrl, u8 *mac, u8 *key) padapter 585 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_CAM_WRITE, (u8 *)cam_val); padapter 589 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void _clear_cam_entry(struct adapter *padapter, u8 entry) padapter 594 drivers/staging/rtl8723bs/core/rtw_wlan_util.c _write_cam(padapter, entry, 0, null_sta, null_key); padapter 791 drivers/staging/rtl8723bs/core/rtw_wlan_util.c int allocate_fw_sta_entry(struct adapter *padapter) padapter 794 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 808 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void flush_all_cam_entry(struct adapter *padapter) padapter 810 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 813 drivers/staging/rtl8723bs/core/rtw_wlan_util.c invalidate_cam_all(padapter); padapter 815 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_DK_CFG, (u8 *)false); padapter 820 drivers/staging/rtl8723bs/core/rtw_wlan_util.c int WMM_param_handler(struct adapter *padapter, struct ndis_80211_var_ie *pIE) padapter 823 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 824 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 841 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void WMMOnAssocRsp(struct adapter *padapter) padapter 848 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 850 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 851 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct registry_priv *pregpriv = &padapter->registrypriv; padapter 861 drivers/staging/rtl8723bs/core/rtw_wlan_util.c padapter->mlmepriv.acm_mask = 0; padapter 878 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_BE, (u8 *)(&acParm)); padapter 879 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_BK, (u8 *)(&acParm)); padapter 880 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_VI, (u8 *)(&acParm)); padapter 886 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_VO, (u8 *)(&acParm)); padapter 905 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_BE, (u8 *)(&acParm)); padapter 911 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_BK, (u8 *)(&acParm)); padapter 917 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_VI, (u8 *)(&acParm)); padapter 923 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AC_PARAM_VO, (u8 *)(&acParm)); padapter 932 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (padapter->registrypriv.acm_method == 1) padapter 933 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_ACM_CTRL, (u8 *)(&acm_mask)); padapter 935 drivers/staging/rtl8723bs/core/rtw_wlan_util.c padapter->mlmepriv.acm_mask = acm_mask; padapter 976 drivers/staging/rtl8723bs/core/rtw_wlan_util.c static void bwmode_update_check(struct adapter *padapter, struct ndis_80211_var_ie *pIE) padapter 981 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 982 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 984 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 1038 drivers/staging/rtl8723bs/core/rtw_wlan_util.c HT_info_handler(padapter, pIE); padapter 1045 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1063 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_dm_ra_mask_wk_cmd(padapter, (u8 *)psta); padapter 1068 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void HT_caps_handler(struct adapter *padapter, struct ndis_80211_var_ie *pIE) padapter 1074 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1076 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1107 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_get_hwreg(padapter, HW_VAR_RF_TYPE, (u8 *)(&rf_type)); padapter 1155 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void HT_info_handler(struct adapter *padapter, struct ndis_80211_var_ie *pIE) padapter 1157 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1159 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1177 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void HTOnAssocRsp(struct adapter *padapter) padapter 1182 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1204 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AMPDU_MIN_SPACE, (u8 *)(&min_MPDU_spacing)); padapter 1206 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_AMPDU_FACTOR, (u8 *)(&max_AMPDU_len)); padapter 1209 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void ERP_IE_handler(struct adapter *padapter, struct ndis_80211_var_ie *pIE) padapter 1211 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1221 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void VCS_update(struct adapter *padapter, struct sta_info *psta) padapter 1223 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct registry_priv *pregpriv = &padapter->registrypriv; padapter 1224 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 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) padapter 1523 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (WMM_param_handler(padapter, pIE)) padapter 1524 drivers/staging/rtl8723bs/core/rtw_wlan_util.c report_wmm_edca_update(padapter); padapter 1530 drivers/staging/rtl8723bs/core/rtw_wlan_util.c bwmode_update_check(padapter, pIE); padapter 1534 drivers/staging/rtl8723bs/core/rtw_wlan_util.c ERP_IE_handler(padapter, pIE); padapter 1535 drivers/staging/rtl8723bs/core/rtw_wlan_util.c VCS_update(padapter, psta); padapter 1546 drivers/staging/rtl8723bs/core/rtw_wlan_util.c unsigned int is_ap_in_tkip(struct adapter *padapter) padapter 1550 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1581 drivers/staging/rtl8723bs/core/rtw_wlan_util.c int support_short_GI(struct adapter *padapter, struct HT_caps_element *pHT_caps, u8 bwmode) padapter 1584 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1613 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void Update_RA_Entry(struct adapter *padapter, struct sta_info *psta) padapter 1618 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void set_sta_rate(struct adapter *padapter, struct sta_info *psta) padapter 1621 drivers/staging/rtl8723bs/core/rtw_wlan_util.c Update_RA_Entry(padapter, psta); padapter 1696 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void update_IOT_info(struct adapter *padapter) padapter 1698 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1711 drivers/staging/rtl8723bs/core/rtw_wlan_util.c Switch_DM_Func(padapter, (~DYNAMIC_BB_DYNAMIC_TXPWR), false); padapter 1717 drivers/staging/rtl8723bs/core/rtw_wlan_util.c Switch_DM_Func(padapter, (~DYNAMIC_BB_DYNAMIC_TXPWR), false); padapter 1775 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void update_wireless_mode(struct adapter *padapter) padapter 1779 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1810 drivers/staging/rtl8723bs/core/rtw_wlan_util.c pmlmeext->cur_wireless_mode = network_type & padapter->registrypriv.wireless_mode; padapter 1815 drivers/staging/rtl8723bs/core/rtw_wlan_util.c padapter->HalFunc.SetHwRegHandler(padapter, HW_VAR_RESP_SIFS, (u8 *)&SIFS_Timer); padapter 1817 drivers/staging/rtl8723bs/core/rtw_wlan_util.c padapter->HalFunc.SetHwRegHandler(padapter, HW_VAR_WIRELESS_MODE, (u8 *)&(pmlmeext->cur_wireless_mode)); padapter 1820 drivers/staging/rtl8723bs/core/rtw_wlan_util.c update_mgnt_tx_rate(padapter, IEEE80211_CCK_RATE_1MB); padapter 1822 drivers/staging/rtl8723bs/core/rtw_wlan_util.c update_mgnt_tx_rate(padapter, IEEE80211_OFDM_RATE_6MB); padapter 1837 drivers/staging/rtl8723bs/core/rtw_wlan_util.c int update_sta_support_rate(struct adapter *padapter, u8 *pvar_ie, uint var_ie_len, int cam_idx) padapter 1842 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 1859 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void process_addba_req(struct adapter *padapter, u8 *paddba_req, u8 *addr) padapter 1864 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1866 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1908 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void correct_TSF(struct adapter *padapter, struct mlme_ext_priv *pmlmeext) padapter 1910 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rtw_hal_set_hwreg(padapter, HW_VAR_CORRECT_TSF, NULL); padapter 1999 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void rtw_alloc_macid(struct adapter *padapter, struct sta_info *psta) padapter 2003 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct dvobj_priv *pdvobj = adapter_to_dvobj(padapter); padapter 2008 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (!memcmp(psta->hwaddr, myid(&padapter->eeprompriv), ETH_ALEN)) { padapter 2031 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void rtw_release_macid(struct adapter *padapter, struct sta_info *psta) padapter 2034 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct dvobj_priv *pdvobj = adapter_to_dvobj(padapter); padapter 2039 drivers/staging/rtl8723bs/core/rtw_wlan_util.c if (!memcmp(psta->hwaddr, myid(&padapter->eeprompriv), ETH_ALEN)) padapter 2053 drivers/staging/rtl8723bs/core/rtw_wlan_util.c u8 rtw_search_max_mac_id(struct adapter *padapter) padapter 2056 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct dvobj_priv *pdvobj = adapter_to_dvobj(padapter); padapter 2172 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void rtw_get_current_ip_address(struct adapter *padapter, u8 *pcurrentip) padapter 2174 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2176 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct in_device *my_ip_ptr = padapter->pnetdev->ip_ptr; padapter 2197 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void rtw_get_sec_iv(struct adapter *padapter, u8 *pcur_dot11txpn, u8 *StaAddr) padapter 2200 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct security_priv *psecpriv = &padapter->securitypriv; padapter 2205 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta = rtw_get_stainfo(&padapter->stapriv, StaAddr); padapter 2221 drivers/staging/rtl8723bs/core/rtw_wlan_util.c void rtw_set_sec_pn(struct adapter *padapter) padapter 2224 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 2226 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 2227 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct security_priv *psecpriv = &padapter->securitypriv; padapter 2229 drivers/staging/rtl8723bs/core/rtw_wlan_util.c psta = rtw_get_stainfo(&padapter->stapriv, padapter 39 drivers/staging/rtl8723bs/core/rtw_xmit.c s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter) padapter 55 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->adapter = padapter; padapter 94 drivers/staging/rtl8723bs/core/rtw_xmit.c pxframe->padapter = padapter; padapter 134 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitbuf->padapter = padapter; padapter 138 drivers/staging/rtl8723bs/core/rtw_xmit.c res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ), true); padapter 141 drivers/staging/rtl8723bs/core/rtw_xmit.c res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ), true); padapter 181 drivers/staging/rtl8723bs/core/rtw_xmit.c pxframe->padapter = padapter; padapter 216 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitbuf->padapter = padapter; padapter 219 drivers/staging/rtl8723bs/core/rtw_xmit.c res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, MAX_XMIT_EXTBUF_SZ + XMITBUF_ALIGN_SZ, true); padapter 246 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitbuf->padapter = padapter; padapter 249 drivers/staging/rtl8723bs/core/rtw_xmit.c res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, MAX_CMDBUF_SZ+XMITBUF_ALIGN_SZ, true); padapter 263 drivers/staging/rtl8723bs/core/rtw_xmit.c res = rtw_alloc_hwxmits(padapter); padapter 276 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_hal_init_xmit_priv(padapter); padapter 285 drivers/staging/rtl8723bs/core/rtw_xmit.c struct adapter *padapter = pxmitpriv->adapter; padapter 289 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_hal_free_xmit_priv(padapter); padapter 295 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_os_xmit_complete(padapter, pxmitframe); padapter 301 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_os_xmit_resource_free(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ), true); padapter 317 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_os_xmit_complete(padapter, pxmitframe); padapter 327 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_os_xmit_resource_free(padapter, pxmitbuf, (MAX_XMIT_EXTBUF_SZ + XMITBUF_ALIGN_SZ), true); padapter 339 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_os_xmit_resource_free(padapter, pxmitbuf, MAX_CMDBUF_SZ+XMITBUF_ALIGN_SZ, true); padapter 342 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_free_hwxmits(padapter); padapter 370 drivers/staging/rtl8723bs/core/rtw_xmit.c static void update_attrib_vcs_info(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 375 drivers/staging/rtl8723bs/core/rtw_xmit.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 379 drivers/staging/rtl8723bs/core/rtw_xmit.c sz = padapter->xmitpriv.frag_len; padapter 387 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pmlmeext->cur_wireless_mode < WIRELESS_11_24N || padapter->registrypriv.wifi_spec) { padapter 388 drivers/staging/rtl8723bs/core/rtw_xmit.c if (sz > padapter->registrypriv.rts_thresh) padapter 402 drivers/staging/rtl8723bs/core/rtw_xmit.c (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { padapter 429 drivers/staging/rtl8723bs/core/rtw_xmit.c if (sz > padapter->registrypriv.rts_thresh) { padapter 448 drivers/staging/rtl8723bs/core/rtw_xmit.c if (padapter->driver_vcs_en == 1) padapter 449 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->vcs_mode = padapter->driver_vcs_type; padapter 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) padapter 454 drivers/staging/rtl8723bs/core/rtw_xmit.c struct mlme_ext_priv *mlmeext = &padapter->mlmeextpriv; padapter 483 drivers/staging/rtl8723bs/core/rtw_xmit.c if (padapter->driver_ampdu_spacing != 0xFF) /* driver control AMPDU Density for peer sta's rx */ padapter 484 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->ampdu_spacing = padapter->driver_ampdu_spacing; padapter 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) padapter 507 drivers/staging/rtl8723bs/core/rtw_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 508 drivers/staging/rtl8723bs/core/rtw_xmit.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 607 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->encrypt, padapter->securitypriv.sw_encrypt)); padapter 610 drivers/staging/rtl8723bs/core/rtw_xmit.c ((padapter->securitypriv.sw_encrypt == true) || (psecuritypriv->hw_decrypted == false))) { padapter 614 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->encrypt, padapter->securitypriv.sw_encrypt)); padapter 676 drivers/staging/rtl8723bs/core/rtw_xmit.c static s32 update_attrib(struct adapter *padapter, _pkt *pkt, struct pkt_attrib *pattrib) padapter 684 drivers/staging/rtl8723bs/core/rtw_xmit.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 685 drivers/staging/rtl8723bs/core/rtw_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 689 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib); padapter 705 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_adhoc); padapter 709 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_sta); padapter 713 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_ap); padapter 715 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_unknown); padapter 736 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_dhcp); padapter 748 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_icmp); padapter 758 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_set_scan_deny(padapter, 3000); padapter 762 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_LEAVE, 1); padapter 764 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_active); padapter 765 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_lps_ctrl_wk_cmd(padapter, LPS_CTRL_SPECIAL_PACKET, 1); padapter 772 drivers/staging/rtl8723bs/core/rtw_xmit.c psta = rtw_get_bcmc_stainfo(padapter); padapter 776 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_err_ucast_sta); padapter 784 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_err_ucast_ap_link); padapter 792 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_err_sta); padapter 802 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_err_link); padapter 810 drivers/staging/rtl8723bs/core/rtw_xmit.c if (update_attrib_sec_info(padapter, pattrib, psta) == _FAIL) { padapter 811 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_err_sec); padapter 816 drivers/staging/rtl8723bs/core/rtw_xmit.c update_attrib_phy_info(padapter, pattrib, psta); padapter 852 drivers/staging/rtl8723bs/core/rtw_xmit.c static s32 xmitframe_addmic(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 859 drivers/staging/rtl8723bs/core/rtw_xmit.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 860 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 986 drivers/staging/rtl8723bs/core/rtw_xmit.c static s32 xmitframe_swencrypt(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 999 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_wep_encrypt(padapter, (u8 *)pxmitframe); padapter 1002 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_tkip_encrypt(padapter, (u8 *)pxmitframe); padapter 1005 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_aes_encrypt(padapter, (u8 *)pxmitframe); padapter 1017 drivers/staging/rtl8723bs/core/rtw_xmit.c s32 rtw_make_wlanhdr(struct adapter *padapter, u8 *hdr, struct pkt_attrib *pattrib) padapter 1022 drivers/staging/rtl8723bs/core/rtw_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1093 drivers/staging/rtl8723bs/core/rtw_xmit.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); padapter 1155 drivers/staging/rtl8723bs/core/rtw_xmit.c s32 rtw_txframes_pending(struct adapter *padapter) padapter 1157 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1195 drivers/staging/rtl8723bs/core/rtw_xmit.c s32 rtw_xmitframe_coalesce(struct adapter *padapter, _pkt *pkt, struct xmit_frame *pxmitframe) padapter 1209 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1252 drivers/staging/rtl8723bs/core/rtw_xmit.c if (rtw_make_wlanhdr(padapter, mem_start, pattrib) == _FAIL) { padapter 1283 drivers/staging/rtl8723bs/core/rtw_xmit.c padapter->securitypriv.dot11PrivacyKeyIndex, pattrib->iv[3], *pframe, *(pframe+1), *(pframe+2), *(pframe+3))); padapter 1336 drivers/staging/rtl8723bs/core/rtw_xmit.c if (xmitframe_addmic(padapter, pxmitframe) == _FAIL) { padapter 1343 drivers/staging/rtl8723bs/core/rtw_xmit.c xmitframe_swencrypt(padapter, pxmitframe); padapter 1346 drivers/staging/rtl8723bs/core/rtw_xmit.c update_attrib_vcs_info(padapter, pxmitframe); padapter 1355 drivers/staging/rtl8723bs/core/rtw_xmit.c s32 rtw_mgmt_xmitframe_coalesce(struct adapter *padapter, _pkt *pkt, struct xmit_frame *pxmitframe) padapter 1365 drivers/staging/rtl8723bs/core/rtw_xmit.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1366 drivers/staging/rtl8723bs/core/rtw_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1380 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_lock_bh(&padapter->security_key_mutex); padapter 1387 drivers/staging/rtl8723bs/core/rtw_xmit.c if (padapter->securitypriv.binstallBIPkey != true) { padapter 1406 drivers/staging/rtl8723bs/core/rtw_xmit.c MME[0] = padapter->securitypriv.dot11wBIPKeyid; padapter 1428 drivers/staging/rtl8723bs/core/rtw_xmit.c if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey padapter 1441 drivers/staging/rtl8723bs/core/rtw_xmit.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); padapter 1505 drivers/staging/rtl8723bs/core/rtw_xmit.c xmitframe_swencrypt(padapter, pxmitframe); padapter 1510 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_unlock_bh(&padapter->security_key_mutex); padapter 1515 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_unlock_bh(&padapter->security_key_mutex); padapter 1551 drivers/staging/rtl8723bs/core/rtw_xmit.c void rtw_update_protection(struct adapter *padapter, u8 *ie, uint ie_len) padapter 1557 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1558 drivers/staging/rtl8723bs/core/rtw_xmit.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 1589 drivers/staging/rtl8723bs/core/rtw_xmit.c void rtw_count_tx_stats(struct adapter *padapter, struct xmit_frame *pxmitframe, int sz) padapter 1593 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 1594 drivers/staging/rtl8723bs/core/rtw_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1934 drivers/staging/rtl8723bs/core/rtw_xmit.c pxframe->padapter = pxmitpriv->adapter; padapter 1953 drivers/staging/rtl8723bs/core/rtw_xmit.c struct adapter *padapter = pxmitpriv->adapter; padapter 1998 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_os_pkt_complete(padapter, pndis_pkt); padapter 2026 drivers/staging/rtl8723bs/core/rtw_xmit.c s32 rtw_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 2028 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_enqueue); padapter 2029 drivers/staging/rtl8723bs/core/rtw_xmit.c if (rtw_xmit_classifier(padapter, pxmitframe) == _FAIL) { padapter 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) padapter 2082 drivers/staging/rtl8723bs/core/rtw_xmit.c s32 rtw_xmit_classifier(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 2089 drivers/staging/rtl8723bs/core/rtw_xmit.c struct hw_xmit *phwxmits = padapter->xmitpriv.hwxmits; padapter 2092 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_enqueue_class); padapter 2103 drivers/staging/rtl8723bs/core/rtw_xmit.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); padapter 2105 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_enqueue_class_err_sta); padapter 2111 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_enqueue_class_err_nosta); padapter 2119 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_enqueue_class_err_fwlink); padapter 2124 drivers/staging/rtl8723bs/core/rtw_xmit.c ptxservq = rtw_get_sta_pending(padapter, psta, pattrib->priority, (u8 *)(&ac_index)); padapter 2147 drivers/staging/rtl8723bs/core/rtw_xmit.c s32 rtw_alloc_hwxmits(struct adapter *padapter) padapter 2150 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 2208 drivers/staging/rtl8723bs/core/rtw_xmit.c void rtw_free_hwxmits(struct adapter *padapter) padapter 2211 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 2269 drivers/staging/rtl8723bs/core/rtw_xmit.c static void do_queue_select(struct adapter *padapter, struct pkt_attrib *pattrib) padapter 2287 drivers/staging/rtl8723bs/core/rtw_xmit.c s32 rtw_xmit(struct adapter *padapter, _pkt **ppkt) padapter 2292 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 2297 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx); padapter 2314 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_err_pxmitframe); padapter 2318 drivers/staging/rtl8723bs/core/rtw_xmit.c res = update_attrib(padapter, *ppkt, &pxmitframe->attrib); padapter 2330 drivers/staging/rtl8723bs/core/rtw_xmit.c do_queue_select(padapter, &pxmitframe->attrib); padapter 2333 drivers/staging/rtl8723bs/core/rtw_xmit.c if (xmitframe_enqueue_for_sleeping_sta(padapter, pxmitframe) == true) { padapter 2335 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_ap_enqueue); padapter 2341 drivers/staging/rtl8723bs/core/rtw_xmit.c if (rtw_hal_xmit(padapter, pxmitframe) == false) padapter 2354 drivers/staging/rtl8723bs/core/rtw_xmit.c struct adapter *adapter = xmitframe->padapter; padapter 2365 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_871X(FUNC_ADPT_FMT" ether_type:0x%04x%s\n", FUNC_ADPT_ARG(xmitframe->padapter) padapter 2378 drivers/staging/rtl8723bs/core/rtw_xmit.c sint xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 2382 drivers/staging/rtl8723bs/core/rtw_xmit.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2384 drivers/staging/rtl8723bs/core/rtw_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2389 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_ap_enqueue_warn_fwstate); padapter 2403 drivers/staging/rtl8723bs/core/rtw_xmit.c psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); padapter 2405 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_ap_enqueue_warn_sta); padapter 2411 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_ap_enqueue_warn_nosta); padapter 2417 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_ap_enqueue_warn_link); padapter 2423 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_ap_enqueue_warn_trigger); padapter 2457 drivers/staging/rtl8723bs/core/rtw_xmit.c update_beacon(padapter, _TIM_IE_, NULL, true); padapter 2459 drivers/staging/rtl8723bs/core/rtw_xmit.c chk_bmc_sleepq_cmd(padapter); padapter 2466 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_ap_enqueue_mcast); padapter 2525 drivers/staging/rtl8723bs/core/rtw_xmit.c update_beacon(padapter, _TIM_IE_, NULL, true); padapter 2537 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_COUNTER(padapter->tx_logs.core_tx_ap_enqueue_ucast); padapter 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) padapter 2556 drivers/staging/rtl8723bs/core/rtw_xmit.c struct hw_xmit *phwxmits = padapter->xmitpriv.hwxmits; padapter 2570 drivers/staging/rtl8723bs/core/rtw_xmit.c ret = xmitframe_enqueue_for_sleeping_sta(padapter, pxmitframe); padapter 2573 drivers/staging/rtl8723bs/core/rtw_xmit.c ptxservq = rtw_get_sta_pending(padapter, psta, pattrib->priority, (u8 *)(&ac_index)); padapter 2585 drivers/staging/rtl8723bs/core/rtw_xmit.c void stop_sta_xmit(struct adapter *padapter, struct sta_info *psta) padapter 2589 drivers/staging/rtl8723bs/core/rtw_xmit.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2590 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 2595 drivers/staging/rtl8723bs/core/rtw_xmit.c psta_bmc = rtw_get_bcmc_stainfo(padapter); padapter 2606 drivers/staging/rtl8723bs/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, &pstaxmitpriv->vo_q.sta_pending); padapter 2610 drivers/staging/rtl8723bs/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, &pstaxmitpriv->vi_q.sta_pending); padapter 2614 drivers/staging/rtl8723bs/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, &pstaxmitpriv->be_q.sta_pending); padapter 2618 drivers/staging/rtl8723bs/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta, &pstaxmitpriv->bk_q.sta_pending); padapter 2623 drivers/staging/rtl8723bs/core/rtw_xmit.c dequeue_xmitframes_to_sleeping_queue(padapter, psta_bmc, &pstaxmitpriv->be_q.sta_pending); padapter 2629 drivers/staging/rtl8723bs/core/rtw_xmit.c void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta) padapter 2635 drivers/staging/rtl8723bs/core/rtw_xmit.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2636 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 2638 drivers/staging/rtl8723bs/core/rtw_xmit.c psta_bmc = rtw_get_bcmc_stainfo(padapter); padapter 2701 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_hal_xmitframe_enqueue(padapter, pxmitframe); padapter 2760 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_hal_xmitframe_enqueue(padapter, pxmitframe); padapter 2785 drivers/staging/rtl8723bs/core/rtw_xmit.c update_beacon(padapter, _TIM_IE_, NULL, true); padapter 2789 drivers/staging/rtl8723bs/core/rtw_xmit.c void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta) padapter 2794 drivers/staging/rtl8723bs/core/rtw_xmit.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2795 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 2846 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_hal_xmitframe_enqueue(padapter, pxmitframe); padapter 2854 drivers/staging/rtl8723bs/core/rtw_xmit.c update_beacon(padapter, _TIM_IE_, NULL, true); padapter 2984 drivers/staging/rtl8723bs/core/rtw_xmit.c struct adapter *padapter; padapter 2988 drivers/staging/rtl8723bs/core/rtw_xmit.c padapter = context; padapter 2993 drivers/staging/rtl8723bs/core/rtw_xmit.c err = rtw_hal_xmit_thread_handler(padapter); padapter 2997 drivers/staging/rtl8723bs/core/rtw_xmit.c complete(&padapter->xmitpriv.terminate_xmitthread_comp); padapter 431 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter, bool configPathB, u8 RF_Path padapter 437 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 543 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter, bool configPathB, u8 RF_Path padapter 548 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 758 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c static u8 phy_PathB_IQK_8723B(struct adapter *padapter) padapter 762 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 865 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c static u8 phy_PathB_RxIQK8723B(struct adapter *padapter, bool configPathB) padapter 869 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1083 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter, padapter 1092 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1163 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter, padapter 1172 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1285 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter, padapter 1292 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1295 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if (!ODM_CheckPowerStatus(padapter)) padapter 1306 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter, u32 *MACReg, u32 *MACBackup padapter 1310 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1323 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter, padapter 1330 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1340 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter, u32 *MACReg, u32 *MACBackup padapter 1346 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(padapter, MACReg[i], (u8)MACBackup[i]); padapter 1348 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write32(padapter, MACReg[i], MACBackup[i]); padapter 1353 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter, padapter 1360 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1380 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter, u32 *MACReg, u32 *MACBackup padapter 1384 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1399 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter, padapter 1487 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter, padapter 1494 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1552 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_SaveADDARegisters8723B(padapter, ADDA_REG, pDM_Odm->RFCalibrateInfo.ADDA_backup, IQK_ADDA_REG_NUM); padapter 1553 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_SaveMACRegisters8723B(padapter, IQK_MAC_REG, pDM_Odm->RFCalibrateInfo.IQK_MAC_backup); padapter 1554 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_SaveADDARegisters8723B(padapter, IQK_BB_REG_92C, pDM_Odm->RFCalibrateInfo.IQK_BB_backup, IQK_BB_REG_NUM); padapter 1558 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_PathADDAOn8723B(padapter, ADDA_REG, is2T); padapter 1567 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_MACSettingCalibration8723B(padapter, IQK_MAC_REG, pDM_Odm->RFCalibrateInfo.IQK_MAC_backup); padapter 1595 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PathAOK = phy_PathA_IQK_8723B(padapter, is2T, RF_Path); padapter 1611 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PathAOK = phy_PathA_RxIQK8723B(padapter, is2T, RF_Path); padapter 1633 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PathBOK = phy_PathB_IQK_8723B(padapter); padapter 1648 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PathBOK = phy_PathB_RxIQK8723B(padapter, is2T); padapter 1673 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_ReloadADDARegisters8723B(padapter, ADDA_REG, pDM_Odm->RFCalibrateInfo.ADDA_backup, IQK_ADDA_REG_NUM); padapter 1676 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_ReloadMACRegisters8723B(padapter, IQK_MAC_REG, pDM_Odm->RFCalibrateInfo.IQK_MAC_backup); padapter 1678 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_ReloadADDARegisters8723B(padapter, IQK_BB_REG_92C, pDM_Odm->RFCalibrateInfo.IQK_BB_backup, IQK_BB_REG_NUM); padapter 1707 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter = pDM_Odm->Adapter; padapter 1720 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c RF_Amode = PHY_QueryRFReg(padapter, ODM_RF_PATH_A, RF_AC, bMask12Bits); padapter 1724 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c RF_Bmode = PHY_QueryRFReg(padapter, ODM_RF_PATH_B, RF_AC, bMask12Bits); padapter 1736 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c LC_Cal = PHY_QueryRFReg(padapter, ODM_RF_PATH_A, RF_CHNLBW, bMask12Bits); padapter 1781 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter, padapter 1788 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1814 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if (!ODM_CheckPowerStatus(padapter)) padapter 1888 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_ReloadADDARegisters8723B(padapter, IQK_BB_REG_92C, pDM_Odm->RFCalibrateInfo.IQK_BB_backup_recover, 9); padapter 1921 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c phy_IQCalibrate_8723B(padapter, result, i, Is2ant, RF_Path); padapter 1924 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c is12simular = phy_SimularityCompare_8723B(padapter, result, 0, 1); padapter 1933 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c is13simular = phy_SimularityCompare_8723B(padapter, result, 0, 2); padapter 1941 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c is23simular = phy_SimularityCompare_8723B(padapter, result, 1, 2); padapter 1991 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_PathAFillIQKMatrix8723B(padapter, bPathAOK, result, final_candidate, (RegEA4 == 0)); padapter 1995 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_PathBFillIQKMatrix8723B(padapter, bPathBOK, result, final_candidate, (RegEC4 == 0)); padapter 2010 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_SaveADDARegisters8723B(padapter, IQK_BB_REG_92C, pDM_Odm->RFCalibrateInfo.IQK_BB_backup_recover, 9); padapter 54 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h void PHY_DigitalPredistortion_8723B(struct adapter *padapter); padapter 58 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h struct adapter *padapter, padapter 65 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h struct adapter *padapter, padapter 72 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h struct adapter *padapter, u32 *MACReg, u32 *MACBackup padapter 38 drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c struct adapter *padapter, padapter 101 drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c value = SdioLocalCmd52Read1Byte(padapter, offset); padapter 110 drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c SdioLocalCmd52Write1Byte(padapter, offset, value); padapter 113 drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c value = rtw_read8(padapter, offset); padapter 122 drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c rtw_write8(padapter, offset, value); padapter 137 drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c value = SdioLocalCmd52Read1Byte(padapter, offset); padapter 139 drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c value = rtw_read8(padapter, offset); padapter 149 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 152 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 157 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_btcoex_LPS_Leave(padapter); padapter 162 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 165 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 170 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_btcoex_LPS_Enter(padapter); padapter 175 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 180 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 184 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_btcoex_LPS_Leave(padapter); padapter 197 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 204 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 214 drivers/staging/rtl8723bs/hal/hal_btcoex.c ready = rtw_register_task_alive(padapter, BTCOEX_ALIVE); padapter 232 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 235 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 236 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_unregister_task_alive(padapter, BTCOEX_ALIVE); padapter 250 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 254 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 258 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_btcoex_RejectApAggregatedPacket(padapter, true); padapter 275 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_btcoex_RejectApAggregatedPacket(padapter, true); padapter 276 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_btcoex_RejectApAggregatedPacket(padapter, false); padapter 281 drivers/staging/rtl8723bs/hal/hal_btcoex.c static u8 halbtcoutsrc_IsWifiBusy(struct adapter *padapter) padapter 286 drivers/staging/rtl8723bs/hal/hal_btcoex.c pmlmepriv = &padapter->mlmepriv; padapter 298 drivers/staging/rtl8723bs/hal/hal_btcoex.c static u32 _halbtcoutsrc_GetWifiLinkStatus(struct adapter *padapter) padapter 305 drivers/staging/rtl8723bs/hal/hal_btcoex.c pmlmepriv = &padapter->mlmepriv; padapter 334 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 339 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 343 drivers/staging/rtl8723bs/hal/hal_btcoex.c retVal = _halbtcoutsrc_GetWifiLinkStatus(padapter); padapter 359 drivers/staging/rtl8723bs/hal/hal_btcoex.c static s32 halbtcoutsrc_GetWifiRssi(struct adapter *padapter) padapter 361 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 366 drivers/staging/rtl8723bs/hal/hal_btcoex.c static u8 halbtcoutsrc_GetWifiScanAPNum(struct adapter *padapter) padapter 371 drivers/staging/rtl8723bs/hal/hal_btcoex.c pmlmeext = &padapter->mlmeextpriv; padapter 386 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 399 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 400 drivers/staging/rtl8723bs/hal/hal_btcoex.c pHalData = GET_HAL_DATA(padapter); padapter 401 drivers/staging/rtl8723bs/hal/hal_btcoex.c mlmeext = &padapter->mlmeextpriv; padapter 419 drivers/staging/rtl8723bs/hal/hal_btcoex.c *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_ASOC_STATE); padapter 423 drivers/staging/rtl8723bs/hal/hal_btcoex.c *pu8 = halbtcoutsrc_IsWifiBusy(padapter); padapter 433 drivers/staging/rtl8723bs/hal/hal_btcoex.c *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_UNDER_LINKING); padapter 437 drivers/staging/rtl8723bs/hal/hal_btcoex.c *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_UNDER_LINKING); padapter 449 drivers/staging/rtl8723bs/hal/hal_btcoex.c *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE); padapter 453 drivers/staging/rtl8723bs/hal/hal_btcoex.c *pu8 = padapter->securitypriv.dot11PrivacyAlgrthm == 0 ? false : true; padapter 472 drivers/staging/rtl8723bs/hal/hal_btcoex.c *pS4Tmp = halbtcoutsrc_GetWifiRssi(padapter); padapter 492 drivers/staging/rtl8723bs/hal/hal_btcoex.c plinkinfo = &padapter->mlmepriv.LinkDetectInfo; padapter 515 drivers/staging/rtl8723bs/hal/hal_btcoex.c *pu8 = padapter->mlmeextpriv.cur_channel; padapter 535 drivers/staging/rtl8723bs/hal/hal_btcoex.c *pu8 = halbtcoutsrc_GetWifiScanAPNum(padapter); padapter 540 drivers/staging/rtl8723bs/hal/hal_btcoex.c *pu8 = padapter->dvobj->pwrctl_priv.pwr_mode; padapter 554 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 561 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 655 drivers/staging/rtl8723bs/hal/hal_btcoex.c if (check_fwstate(&padapter->mlmepriv, WIFI_ASOC_STATE) == true) { padapter 659 drivers/staging/rtl8723bs/hal/hal_btcoex.c cur_network = &padapter->mlmeextpriv.mlmext_info.network; padapter 660 drivers/staging/rtl8723bs/hal/hal_btcoex.c psta = rtw_get_stainfo(&padapter->stapriv, cur_network->MacAddress); padapter 705 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 709 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 711 drivers/staging/rtl8723bs/hal/hal_btcoex.c return rtw_read8(padapter, RegAddr); padapter 717 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 721 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 723 drivers/staging/rtl8723bs/hal/hal_btcoex.c return rtw_read16(padapter, RegAddr); padapter 729 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 733 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 735 drivers/staging/rtl8723bs/hal/hal_btcoex.c return rtw_read32(padapter, RegAddr); padapter 741 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 745 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 747 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_write8(padapter, RegAddr, Data); padapter 753 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 759 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 764 drivers/staging/rtl8723bs/hal/hal_btcoex.c originalValue = rtw_read8(padapter, regAddr); padapter 775 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_write8(padapter, regAddr, data1b); padapter 781 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 785 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 787 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_write16(padapter, RegAddr, Data); padapter 793 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 797 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 799 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_write32(padapter, RegAddr, Data); padapter 816 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 820 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 822 drivers/staging/rtl8723bs/hal/hal_btcoex.c PHY_SetBBReg(padapter, RegAddr, BitMask, Data); padapter 829 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 833 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 835 drivers/staging/rtl8723bs/hal/hal_btcoex.c return PHY_QueryBBReg(padapter, RegAddr, BitMask); padapter 841 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 845 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 847 drivers/staging/rtl8723bs/hal/hal_btcoex.c PHY_SetRFReg(padapter, eRFPath, RegAddr, BitMask, Data); padapter 853 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 857 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 859 drivers/staging/rtl8723bs/hal/hal_btcoex.c return PHY_QueryRFReg(padapter, eRFPath, RegAddr, BitMask); padapter 865 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 874 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 880 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_hal_fill_h2c_cmd(padapter, 0x67, 4, &(CmdBuffer1[0])); padapter 889 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_hal_fill_h2c_cmd(padapter, 0x67, 4, &(CmdBuffer2[0])); padapter 901 drivers/staging/rtl8723bs/hal/hal_btcoex.c struct adapter *padapter; padapter 905 drivers/staging/rtl8723bs/hal/hal_btcoex.c padapter = pBtCoexist->Adapter; padapter 907 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_hal_fill_h2c_cmd(padapter, elementId, cmdLen, pCmdBuffer); padapter 932 drivers/staging/rtl8723bs/hal/hal_btcoex.c static u8 EXhalbtcoutsrc_BindBtCoexWithAdapter(void *padapter) padapter 943 drivers/staging/rtl8723bs/hal/hal_btcoex.c pBtCoexist->Adapter = padapter; padapter 958 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_Initialize(void *padapter) padapter 972 drivers/staging/rtl8723bs/hal/hal_btcoex.c EXhalbtcoutsrc_BindBtCoexWithAdapter(padapter); padapter 1321 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_SetBTCoexist(struct adapter *padapter, u8 bBtExist) padapter 1326 drivers/staging/rtl8723bs/hal/hal_btcoex.c pHalData = GET_HAL_DATA(padapter); padapter 1338 drivers/staging/rtl8723bs/hal/hal_btcoex.c bool hal_btcoex_IsBtExist(struct adapter *padapter) padapter 1343 drivers/staging/rtl8723bs/hal/hal_btcoex.c pHalData = GET_HAL_DATA(padapter); padapter 1347 drivers/staging/rtl8723bs/hal/hal_btcoex.c bool hal_btcoex_IsBtDisabled(struct adapter *padapter) padapter 1349 drivers/staging/rtl8723bs/hal/hal_btcoex.c if (!hal_btcoex_IsBtExist(padapter)) padapter 1358 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_SetChipType(struct adapter *padapter, u8 chipType) padapter 1363 drivers/staging/rtl8723bs/hal/hal_btcoex.c pHalData = GET_HAL_DATA(padapter); padapter 1369 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_SetPgAntNum(struct adapter *padapter, u8 antNum) padapter 1374 drivers/staging/rtl8723bs/hal/hal_btcoex.c pHalData = GET_HAL_DATA(padapter); padapter 1380 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_SetSingleAntPath(struct adapter *padapter, u8 singleAntPath) padapter 1385 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_PowerOnSetting(struct adapter *padapter) padapter 1390 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_InitHwConfig(struct adapter *padapter, u8 bWifiOnly) padapter 1392 drivers/staging/rtl8723bs/hal/hal_btcoex.c if (!hal_btcoex_IsBtExist(padapter)) padapter 1399 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_IpsNotify(struct adapter *padapter, u8 type) padapter 1404 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_LpsNotify(struct adapter *padapter, u8 type) padapter 1409 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_ScanNotify(struct adapter *padapter, u8 type) padapter 1414 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_ConnectNotify(struct adapter *padapter, u8 action) padapter 1419 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_MediaStatusNotify(struct adapter *padapter, u8 mediaStatus) padapter 1424 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_SpecialPacketNotify(struct adapter *padapter, u8 pktType) padapter 1429 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_IQKNotify(struct adapter *padapter, u8 state) padapter 1434 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_BtInfoNotify(struct adapter *padapter, u8 length, u8 *tmpBuf) padapter 1442 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_SuspendNotify(struct adapter *padapter, u8 state) padapter 1452 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_HaltNotify(struct adapter *padapter) padapter 1457 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_Handler(struct adapter *padapter) padapter 1462 drivers/staging/rtl8723bs/hal/hal_btcoex.c s32 hal_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *padapter) padapter 1467 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_SetManualControl(struct adapter *padapter, u8 bmanual) padapter 1472 drivers/staging/rtl8723bs/hal/hal_btcoex.c bool hal_btcoex_IsBtControlLps(struct adapter *padapter) padapter 1474 drivers/staging/rtl8723bs/hal/hal_btcoex.c if (!hal_btcoex_IsBtExist(padapter)) padapter 1486 drivers/staging/rtl8723bs/hal/hal_btcoex.c bool hal_btcoex_IsLpsOn(struct adapter *padapter) padapter 1488 drivers/staging/rtl8723bs/hal/hal_btcoex.c if (!hal_btcoex_IsBtExist(padapter)) padapter 1500 drivers/staging/rtl8723bs/hal/hal_btcoex.c u8 hal_btcoex_RpwmVal(struct adapter *padapter) padapter 1505 drivers/staging/rtl8723bs/hal/hal_btcoex.c u8 hal_btcoex_LpsVal(struct adapter *padapter) padapter 1510 drivers/staging/rtl8723bs/hal/hal_btcoex.c u32 hal_btcoex_GetRaMask(struct adapter *padapter) padapter 1512 drivers/staging/rtl8723bs/hal/hal_btcoex.c if (!hal_btcoex_IsBtExist(padapter)) padapter 1524 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_RecordPwrMode(struct adapter *padapter, u8 *pCmdBuf, u8 cmdLen) padapter 1533 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_DisplayBtCoexInfo(struct adapter *padapter, u8 *pbuf, u32 bufsize) padapter 1544 drivers/staging/rtl8723bs/hal/hal_btcoex.c void hal_btcoex_SetDBG(struct adapter *padapter, u32 *pDbgModule) padapter 1556 drivers/staging/rtl8723bs/hal/hal_btcoex.c u32 hal_btcoex_GetDBG(struct adapter *padapter, u8 *pStrBuf, u32 bufSize) padapter 16 drivers/staging/rtl8723bs/hal/hal_com.c u8 rtw_hal_data_init(struct adapter *padapter) padapter 18 drivers/staging/rtl8723bs/hal/hal_com.c if (is_primary_adapter(padapter)) { /* if (padapter->isprimary) */ padapter 19 drivers/staging/rtl8723bs/hal/hal_com.c padapter->hal_data_sz = sizeof(struct hal_com_data); padapter 20 drivers/staging/rtl8723bs/hal/hal_com.c padapter->HalData = vzalloc(padapter->hal_data_sz); padapter 21 drivers/staging/rtl8723bs/hal/hal_com.c if (!padapter->HalData) { padapter 29 drivers/staging/rtl8723bs/hal/hal_com.c void rtw_hal_data_deinit(struct adapter *padapter) padapter 31 drivers/staging/rtl8723bs/hal/hal_com.c if (is_primary_adapter(padapter)) { /* if (padapter->isprimary) */ padapter 32 drivers/staging/rtl8723bs/hal/hal_com.c if (padapter->HalData) { padapter 33 drivers/staging/rtl8723bs/hal/hal_com.c phy_free_filebuf(padapter); padapter 34 drivers/staging/rtl8723bs/hal/hal_com.c vfree(padapter->HalData); padapter 35 drivers/staging/rtl8723bs/hal/hal_com.c padapter->HalData = NULL; padapter 36 drivers/staging/rtl8723bs/hal/hal_com.c padapter->hal_data_sz = 0; padapter 111 drivers/staging/rtl8723bs/hal/hal_com.c struct adapter *padapter, padapter 121 drivers/staging/rtl8723bs/hal/hal_com.c pHalData = GET_HAL_DATA(padapter); padapter 750 drivers/staging/rtl8723bs/hal/hal_com.c static void _OneOutPipeMapping(struct adapter *padapter) padapter 752 drivers/staging/rtl8723bs/hal/hal_com.c struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter); padapter 765 drivers/staging/rtl8723bs/hal/hal_com.c static void _TwoOutPipeMapping(struct adapter *padapter, bool bWIFICfg) padapter 767 drivers/staging/rtl8723bs/hal/hal_com.c struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter); padapter 806 drivers/staging/rtl8723bs/hal/hal_com.c static void _ThreeOutPipeMapping(struct adapter *padapter, bool bWIFICfg) padapter 808 drivers/staging/rtl8723bs/hal/hal_com.c struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter); padapter 846 drivers/staging/rtl8723bs/hal/hal_com.c bool Hal_MappingOutPipe(struct adapter *padapter, u8 NumOutPipe) padapter 848 drivers/staging/rtl8723bs/hal/hal_com.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 856 drivers/staging/rtl8723bs/hal/hal_com.c _TwoOutPipeMapping(padapter, bWIFICfg); padapter 860 drivers/staging/rtl8723bs/hal/hal_com.c _ThreeOutPipeMapping(padapter, bWIFICfg); padapter 863 drivers/staging/rtl8723bs/hal/hal_com.c _OneOutPipeMapping(padapter); padapter 971 drivers/staging/rtl8723bs/hal/hal_com.c void rtw_hal_update_sta_rate_mask(struct adapter *padapter, struct sta_info *psta) padapter 989 drivers/staging/rtl8723bs/hal/hal_com.c rtw_hal_get_hwreg(padapter, HW_VAR_RF_TYPE, (u8 *)(&rf_type)); padapter 1572 drivers/staging/rtl8723bs/hal/hal_com.c void linked_info_dump(struct adapter *padapter, u8 benable) padapter 1574 drivers/staging/rtl8723bs/hal/hal_com.c struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); padapter 1576 drivers/staging/rtl8723bs/hal/hal_com.c if (padapter->bLinkInfoDump == benable) padapter 1583 drivers/staging/rtl8723bs/hal/hal_com.c rtw_pm_set_lps(padapter, PS_MODE_ACTIVE); padapter 1586 drivers/staging/rtl8723bs/hal/hal_com.c rtw_pm_set_ips(padapter, IPS_NONE); padapter 1588 drivers/staging/rtl8723bs/hal/hal_com.c rtw_pm_set_ips(padapter, pwrctrlpriv->ips_org_mode); padapter 1590 drivers/staging/rtl8723bs/hal/hal_com.c rtw_pm_set_lps(padapter, pwrctrlpriv->ips_org_mode); padapter 1592 drivers/staging/rtl8723bs/hal/hal_com.c padapter->bLinkInfoDump = benable; padapter 1596 drivers/staging/rtl8723bs/hal/hal_com.c void rtw_get_raw_rssi_info(void *sel, struct adapter *padapter) padapter 1599 drivers/staging/rtl8723bs/hal/hal_com.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1600 drivers/staging/rtl8723bs/hal/hal_com.c struct rx_raw_rssi *psample_pkt_rssi = &padapter->recvpriv.raw_rssi_info; padapter 1633 drivers/staging/rtl8723bs/hal/hal_com.c void rtw_dump_raw_rssi_info(struct adapter *padapter) padapter 1636 drivers/staging/rtl8723bs/hal/hal_com.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1637 drivers/staging/rtl8723bs/hal/hal_com.c struct rx_raw_rssi *psample_pkt_rssi = &padapter->recvpriv.raw_rssi_info; padapter 1660 drivers/staging/rtl8723bs/hal/hal_com.c void rtw_store_phy_info(struct adapter *padapter, union recv_frame *prframe) padapter 1663 drivers/staging/rtl8723bs/hal/hal_com.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1667 drivers/staging/rtl8723bs/hal/hal_com.c struct rx_raw_rssi *psample_pkt_rssi = &padapter->recvpriv.raw_rssi_info; padapter 1699 drivers/staging/rtl8723bs/hal/hal_com.c void rtw_bb_rf_gain_offset(struct adapter *padapter) padapter 1701 drivers/staging/rtl8723bs/hal/hal_com.c u8 value = padapter->eeprompriv.EEPROMRFGainOffset; padapter 1709 drivers/staging/rtl8723bs/hal/hal_com.c DBG_871X("Offset RF Gain. padapter->eeprompriv.EEPROMRFGainVal = 0x%x\n", padapter->eeprompriv.EEPROMRFGainVal); padapter 1710 drivers/staging/rtl8723bs/hal/hal_com.c if (padapter->eeprompriv.EEPROMRFGainVal != 0xff) { padapter 1711 drivers/staging/rtl8723bs/hal/hal_com.c res = rtw_hal_read_rfreg(padapter, RF_PATH_A, 0x7f, 0xffffffff); padapter 1718 drivers/staging/rtl8723bs/hal/hal_com.c if (v1 == padapter->eeprompriv.EEPROMRFGainVal) { padapter 1724 drivers/staging/rtl8723bs/hal/hal_com.c DBG_871X("padapter->eeprompriv.EEPROMRFGainVal = 0x%x , Gain offset Target Value = 0x%x\n", padapter->eeprompriv.EEPROMRFGainVal, target); padapter 1725 drivers/staging/rtl8723bs/hal/hal_com.c PHY_SetRFReg(padapter, RF_PATH_A, REG_RF_BB_GAIN_OFFSET, BIT18|BIT17|BIT16|BIT15, target); padapter 1729 drivers/staging/rtl8723bs/hal/hal_com.c res = rtw_hal_read_rfreg(padapter, RF_PATH_A, 0x7f, 0xffffffff); padapter 1732 drivers/staging/rtl8723bs/hal/hal_com.c DBG_871X("Offset RF Gain. padapter->eeprompriv.EEPROMRFGainVal = 0x%x != 0xff, didn't run Kfree\n", padapter->eeprompriv.EEPROMRFGainVal); padapter 196 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct adapter *padapter padapter 204 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, path, RF_1TX, MGN_11M); padapter 205 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_2_4G, path, CCK, RF_1TX, base); padapter 208 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, path, RF_1TX, MGN_54M); padapter 209 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_2_4G, path, OFDM, RF_1TX, base); padapter 212 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, path, RF_1TX, MGN_MCS7); padapter 213 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_2_4G, path, HT_MCS0_MCS7, RF_1TX, base); padapter 216 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, path, RF_2TX, MGN_MCS15); padapter 217 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_2_4G, path, HT_MCS8_MCS15, RF_2TX, base); padapter 220 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, path, RF_3TX, MGN_MCS23); padapter 221 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_2_4G, path, HT_MCS16_MCS23, RF_3TX, base); padapter 224 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, path, RF_1TX, MGN_VHT1SS_MCS7); padapter 225 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_2_4G, path, VHT_1SSMCS0_1SSMCS9, RF_1TX, base); padapter 228 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, path, RF_2TX, MGN_VHT2SS_MCS7); padapter 229 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_2_4G, path, VHT_2SSMCS0_2SSMCS9, RF_2TX, base); padapter 232 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, path, RF_3TX, MGN_VHT3SS_MCS7); padapter 233 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_2_4G, path, VHT_3SSMCS0_3SSMCS9, RF_3TX, base); padapter 236 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_5G, path, RF_1TX, MGN_54M); padapter 237 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_5G, path, OFDM, RF_1TX, base); padapter 240 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_5G, path, RF_1TX, MGN_MCS7); padapter 241 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_5G, path, HT_MCS0_MCS7, RF_1TX, base); padapter 244 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_5G, path, RF_2TX, MGN_MCS15); padapter 245 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_5G, path, HT_MCS8_MCS15, RF_2TX, base); padapter 248 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_5G, path, RF_3TX, MGN_MCS23); padapter 249 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_5G, path, HT_MCS16_MCS23, RF_3TX, base); padapter 252 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_5G, path, RF_1TX, MGN_VHT1SS_MCS7); padapter 253 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_5G, path, VHT_1SSMCS0_1SSMCS9, RF_1TX, base); padapter 256 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_5G, path, RF_2TX, MGN_VHT2SS_MCS7); padapter 257 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_5G, path, VHT_2SSMCS0_2SSMCS9, RF_2TX, base); padapter 260 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, BAND_ON_5G, path, RF_3TX, MGN_VHT2SS_MCS7); padapter 261 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_SetTxPowerByRateBase(padapter, BAND_ON_5G, path, VHT_3SSMCS0_3SSMCS9, RF_3TX, base); padapter 269 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct adapter *padapter, u32 RegAddr, u32 BitMask padapter 272 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 338 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct adapter *padapter, padapter 724 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct adapter *padapter, padapter 733 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 737 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_GetRateValuesOfTxPowerByRate(padapter, RegAddr, BitMask, Data, rateIndex, PwrByRateVal, &rateNum); padapter 764 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct adapter *padapter, u32 RegAddr, u32 BitMask, u32 Data padapter 767 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 768 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c u8 index = PHY_GetRateSectionIndexOfTxPowerByRate(padapter, RegAddr, BitMask); padapter 775 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c void PHY_InitTxPowerByRate(struct adapter *padapter) padapter 777 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 788 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct adapter *padapter, padapter 797 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 801 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_StoreTxPowerByRateNew(padapter, Band, RfPath, TxNum, RegAddr, BitMask, Data); padapter 803 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_StoreTxPowerByRateOld(padapter, RegAddr, BitMask, Data); padapter 816 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct adapter *padapter padapter 854 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_11M); padapter 856 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, cckRates[i]); padapter 857 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, cckRates[i], value - base); padapter 861 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_54M); padapter 863 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, ofdmRates[i]); padapter 864 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, ofdmRates[i], value - base); padapter 868 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_MCS7); padapter 870 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, mcs0_7Rates[i]); padapter 871 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, mcs0_7Rates[i], value - base); padapter 875 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_MCS15); padapter 877 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, mcs8_15Rates[i]); padapter 878 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, mcs8_15Rates[i], value - base); padapter 882 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_MCS23); padapter 884 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, mcs16_23Rates[i]); padapter 885 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, mcs16_23Rates[i], value - base); padapter 889 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_VHT1SS_MCS7); padapter 891 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, vht1ssRates[i]); padapter 892 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, vht1ssRates[i], value - base); padapter 896 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_VHT2SS_MCS7); padapter 898 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, vht2ssRates[i]); padapter 899 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, vht2ssRates[i], value - base); padapter 903 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c base = PHY_GetTxPowerByRate(padapter, band, path, txNum, MGN_VHT3SS_MCS7); padapter 905 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c value = PHY_GetTxPowerByRate(padapter, band, path, txNum, vht3ssRates[i]); padapter 906 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerByRate(padapter, band, path, txNum, vht3ssRates[i], value - base); padapter 919 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c void PHY_TxPowerByRateConfiguration(struct adapter *padapter) padapter 921 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_StoreTxPowerByRateBase(padapter); padapter 922 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c phy_ConvertTxPowerByRateInDbmToRelativeValues(padapter); padapter 926 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct adapter *padapter, u8 RFPath, u8 Channel, u8 RateSection padapter 929 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 934 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerIndexByRateArray(padapter, RFPath, padapter 941 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerIndexByRateArray(padapter, RFPath, padapter 948 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerIndexByRateArray(padapter, RFPath, padapter 955 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerIndexByRateArray(padapter, RFPath, padapter 962 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerIndexByRateArray(padapter, RFPath, padapter 969 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerIndexByRateArray(padapter, RFPath, padapter 977 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerIndexByRateArray(padapter, RFPath, padapter 986 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerIndexByRateArray(padapter, RFPath, padapter 994 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerIndexByRateArray(padapter, RFPath, padapter 1002 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerIndexByRateArray(padapter, RFPath, padapter 1039 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct adapter *padapter, padapter 1047 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1052 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c if (HAL_IsLegalChannel(padapter, Channel) == false) { padapter 1188 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c s8 PHY_GetTxPowerTrackingOffset(struct adapter *padapter, u8 RFPath, u8 Rate) padapter 1190 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1473 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct adapter *padapter, u8 Band, u8 RFPath, u8 TxNum, u8 Rate padapter 1476 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1480 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c if ((padapter->registrypriv.RegEnableTxPowerByRate == 2 && pHalData->EEPROMRegulatory == 2) || padapter 1481 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c padapter->registrypriv.RegEnableTxPowerByRate == 0) padapter 1508 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct adapter *padapter, padapter 1516 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1559 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct adapter *padapter, padapter 1571 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c powerIndex = PHY_GetTxPowerIndex(padapter, RFPath, Rates[i], BandWidth, Channel); padapter 1572 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PHY_SetTxPowerIndex(padapter, powerIndex, RFPath, Rates[i]); padapter 1814 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c static void phy_CrossReferenceHTAndVHTTxPowerLimit(struct adapter *padapter) padapter 1816 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 3257 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c void phy_free_filebuf(struct adapter *padapter) padapter 3259 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 14 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_chip_configure(struct adapter *padapter) padapter 16 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.intf_chip_configure) padapter 17 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.intf_chip_configure(padapter); padapter 20 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_read_chip_info(struct adapter *padapter) padapter 22 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.read_adapter_info) padapter 23 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.read_adapter_info(padapter); padapter 26 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_read_chip_version(struct adapter *padapter) padapter 28 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.read_chip_version) padapter 29 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.read_chip_version(padapter); padapter 32 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_def_value_init(struct adapter *padapter) padapter 34 drivers/staging/rtl8723bs/hal/hal_intf.c if (is_primary_adapter(padapter)) padapter 35 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.init_default_value) padapter 36 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.init_default_value(padapter); padapter 39 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_free_data(struct adapter *padapter) padapter 42 drivers/staging/rtl8723bs/hal/hal_intf.c rtw_hal_data_deinit(padapter); padapter 44 drivers/staging/rtl8723bs/hal/hal_intf.c if (is_primary_adapter(padapter)) padapter 45 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.free_hal_data) padapter 46 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.free_hal_data(padapter); padapter 49 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_dm_init(struct adapter *padapter) padapter 51 drivers/staging/rtl8723bs/hal/hal_intf.c if (is_primary_adapter(padapter)) padapter 52 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.dm_init) padapter 53 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.dm_init(padapter); padapter 56 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_dm_deinit(struct adapter *padapter) padapter 59 drivers/staging/rtl8723bs/hal/hal_intf.c if (is_primary_adapter(padapter)) padapter 60 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.dm_deinit) padapter 61 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.dm_deinit(padapter); padapter 64 drivers/staging/rtl8723bs/hal/hal_intf.c static void rtw_hal_init_opmode(struct adapter *padapter) padapter 67 drivers/staging/rtl8723bs/hal/hal_intf.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 81 drivers/staging/rtl8723bs/hal/hal_intf.c rtw_setopmode_cmd(padapter, networkType, false); padapter 84 drivers/staging/rtl8723bs/hal/hal_intf.c uint rtw_hal_init(struct adapter *padapter) padapter 87 drivers/staging/rtl8723bs/hal/hal_intf.c struct dvobj_priv *dvobj = adapter_to_dvobj(padapter); padapter 89 drivers/staging/rtl8723bs/hal/hal_intf.c status = padapter->HalFunc.hal_init(padapter); padapter 92 drivers/staging/rtl8723bs/hal/hal_intf.c rtw_hal_init_opmode(padapter); padapter 96 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->registrypriv.notch_filter == 1) padapter 97 drivers/staging/rtl8723bs/hal/hal_intf.c rtw_hal_notch_filter(padapter, 1); padapter 99 drivers/staging/rtl8723bs/hal/hal_intf.c rtw_hal_reset_security_engine(padapter); padapter 103 drivers/staging/rtl8723bs/hal/hal_intf.c init_hw_mlme_ext(padapter); padapter 105 drivers/staging/rtl8723bs/hal/hal_intf.c rtw_bb_rf_gain_offset(padapter); padapter 117 drivers/staging/rtl8723bs/hal/hal_intf.c uint rtw_hal_deinit(struct adapter *padapter) padapter 120 drivers/staging/rtl8723bs/hal/hal_intf.c struct dvobj_priv *dvobj = adapter_to_dvobj(padapter); padapter 122 drivers/staging/rtl8723bs/hal/hal_intf.c status = padapter->HalFunc.hal_deinit(padapter); padapter 125 drivers/staging/rtl8723bs/hal/hal_intf.c padapter = dvobj->padapters; padapter 126 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->hw_init_completed = false; padapter 133 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_set_hwreg(struct adapter *padapter, u8 variable, u8 *val) padapter 135 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.SetHwRegHandler) padapter 136 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.SetHwRegHandler(padapter, variable, val); padapter 139 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_get_hwreg(struct adapter *padapter, u8 variable, u8 *val) padapter 141 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.GetHwRegHandler) padapter 142 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.GetHwRegHandler(padapter, variable, val); padapter 145 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_set_hwreg_with_buf(struct adapter *padapter, u8 variable, u8 *pbuf, int len) padapter 147 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.SetHwRegHandlerWithBuf) padapter 148 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.SetHwRegHandlerWithBuf(padapter, variable, pbuf, len); padapter 151 drivers/staging/rtl8723bs/hal/hal_intf.c u8 rtw_hal_set_def_var(struct adapter *padapter, enum HAL_DEF_VARIABLE eVariable, void *pValue) padapter 153 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.SetHalDefVarHandler) padapter 154 drivers/staging/rtl8723bs/hal/hal_intf.c return padapter->HalFunc.SetHalDefVarHandler(padapter, eVariable, pValue); padapter 158 drivers/staging/rtl8723bs/hal/hal_intf.c u8 rtw_hal_get_def_var(struct adapter *padapter, enum HAL_DEF_VARIABLE eVariable, void *pValue) padapter 160 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.GetHalDefVarHandler) padapter 161 drivers/staging/rtl8723bs/hal/hal_intf.c return padapter->HalFunc.GetHalDefVarHandler(padapter, eVariable, pValue); padapter 165 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_set_odm_var(struct adapter *padapter, enum HAL_ODM_VARIABLE eVariable, void *pValue1, bool bSet) padapter 167 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.SetHalODMVarHandler) padapter 168 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.SetHalODMVarHandler(padapter, eVariable, pValue1, bSet); padapter 171 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_get_odm_var(struct adapter *padapter, enum HAL_ODM_VARIABLE eVariable, void *pValue1, void *pValue2) padapter 173 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.GetHalODMVarHandler) padapter 174 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.GetHalODMVarHandler(padapter, eVariable, pValue1, pValue2); padapter 177 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_enable_interrupt(struct adapter *padapter) padapter 179 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.enable_interrupt) padapter 180 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.enable_interrupt(padapter); padapter 186 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_disable_interrupt(struct adapter *padapter) padapter 188 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.disable_interrupt) padapter 189 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.disable_interrupt(padapter); padapter 195 drivers/staging/rtl8723bs/hal/hal_intf.c u8 rtw_hal_check_ips_status(struct adapter *padapter) padapter 198 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.check_ips_status) padapter 199 drivers/staging/rtl8723bs/hal/hal_intf.c val = padapter->HalFunc.check_ips_status(padapter); padapter 206 drivers/staging/rtl8723bs/hal/hal_intf.c s32 rtw_hal_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 208 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.hal_xmitframe_enqueue) padapter 209 drivers/staging/rtl8723bs/hal/hal_intf.c return padapter->HalFunc.hal_xmitframe_enqueue(padapter, pxmitframe); padapter 214 drivers/staging/rtl8723bs/hal/hal_intf.c s32 rtw_hal_xmit(struct adapter *padapter, struct xmit_frame *pxmitframe) padapter 216 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.hal_xmit) padapter 217 drivers/staging/rtl8723bs/hal/hal_intf.c return padapter->HalFunc.hal_xmit(padapter, pxmitframe); padapter 225 drivers/staging/rtl8723bs/hal/hal_intf.c s32 rtw_hal_mgnt_xmit(struct adapter *padapter, struct xmit_frame *pmgntframe) padapter 228 drivers/staging/rtl8723bs/hal/hal_intf.c update_mgntframe_attrib_addr(padapter, pmgntframe); padapter 233 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->securitypriv.binstallBIPkey == true) { padapter 241 drivers/staging/rtl8723bs/hal/hal_intf.c rtw_mgmt_xmitframe_coalesce(padapter, pmgntframe->pkt, pmgntframe); padapter 244 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.mgnt_xmit) padapter 245 drivers/staging/rtl8723bs/hal/hal_intf.c ret = padapter->HalFunc.mgnt_xmit(padapter, pmgntframe); padapter 249 drivers/staging/rtl8723bs/hal/hal_intf.c s32 rtw_hal_init_xmit_priv(struct adapter *padapter) padapter 251 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.init_xmit_priv != NULL) padapter 252 drivers/staging/rtl8723bs/hal/hal_intf.c return padapter->HalFunc.init_xmit_priv(padapter); padapter 256 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_free_xmit_priv(struct adapter *padapter) padapter 258 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.free_xmit_priv != NULL) padapter 259 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.free_xmit_priv(padapter); padapter 262 drivers/staging/rtl8723bs/hal/hal_intf.c s32 rtw_hal_init_recv_priv(struct adapter *padapter) padapter 264 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.init_recv_priv) padapter 265 drivers/staging/rtl8723bs/hal/hal_intf.c return padapter->HalFunc.init_recv_priv(padapter); padapter 270 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_free_recv_priv(struct adapter *padapter) padapter 273 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.free_recv_priv) padapter 274 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.free_recv_priv(padapter); padapter 279 drivers/staging/rtl8723bs/hal/hal_intf.c struct adapter *padapter; padapter 285 drivers/staging/rtl8723bs/hal/hal_intf.c padapter = psta->padapter; padapter 287 drivers/staging/rtl8723bs/hal/hal_intf.c pmlmepriv = &(padapter->mlmepriv); padapter 290 drivers/staging/rtl8723bs/hal/hal_intf.c add_RATid(padapter, psta, rssi_level); padapter 292 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.UpdateRAMaskHandler) padapter 293 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.UpdateRAMaskHandler(padapter, psta->mac_id, rssi_level); padapter 297 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_add_ra_tid(struct adapter *padapter, u32 bitmap, u8 *arg, u8 rssi_level) padapter 299 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.Add_RateATid) padapter 300 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.Add_RateATid(padapter, bitmap, arg, rssi_level); padapter 304 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_start_thread(struct adapter *padapter) padapter 306 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.run_thread) padapter 307 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.run_thread(padapter); padapter 310 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_stop_thread(struct adapter *padapter) padapter 312 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.cancel_thread) padapter 313 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.cancel_thread(padapter); padapter 316 drivers/staging/rtl8723bs/hal/hal_intf.c u32 rtw_hal_read_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask) padapter 319 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.read_bbreg) padapter 320 drivers/staging/rtl8723bs/hal/hal_intf.c data = padapter->HalFunc.read_bbreg(padapter, RegAddr, BitMask); padapter 323 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_write_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask, u32 Data) padapter 325 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.write_bbreg) padapter 326 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.write_bbreg(padapter, RegAddr, BitMask, Data); padapter 329 drivers/staging/rtl8723bs/hal/hal_intf.c u32 rtw_hal_read_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask) padapter 332 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.read_rfreg) padapter 333 drivers/staging/rtl8723bs/hal/hal_intf.c data = padapter->HalFunc.read_rfreg(padapter, eRFPath, RegAddr, BitMask); padapter 336 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_write_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask, u32 Data) padapter 338 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.write_rfreg) padapter 339 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.write_rfreg(padapter, eRFPath, RegAddr, BitMask, Data); padapter 342 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_set_chan(struct adapter *padapter, u8 channel) padapter 344 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.set_channel_handler) padapter 345 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.set_channel_handler(padapter, channel); padapter 348 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_set_chnl_bw(struct adapter *padapter, u8 channel, padapter 351 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.set_chnl_bw_handler) padapter 352 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.set_chnl_bw_handler(padapter, channel, padapter 357 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_dm_watchdog(struct adapter *padapter) padapter 359 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.hal_dm_watchdog) padapter 360 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.hal_dm_watchdog(padapter); padapter 364 drivers/staging/rtl8723bs/hal/hal_intf.c void rtw_hal_dm_watchdog_in_lps(struct adapter *padapter) padapter 366 drivers/staging/rtl8723bs/hal/hal_intf.c if (adapter_to_pwrctl(padapter)->bFwCurrentInPSMode == true) { padapter 367 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.hal_dm_watchdog_in_lps) padapter 368 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.hal_dm_watchdog_in_lps(padapter); /* this fuction caller is in interrupt context */ padapter 372 drivers/staging/rtl8723bs/hal/hal_intf.c void beacon_timing_control(struct adapter *padapter) padapter 374 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.SetBeaconRelatedRegistersHandler) padapter 375 drivers/staging/rtl8723bs/hal/hal_intf.c padapter->HalFunc.SetBeaconRelatedRegistersHandler(padapter); padapter 379 drivers/staging/rtl8723bs/hal/hal_intf.c s32 rtw_hal_xmit_thread_handler(struct adapter *padapter) padapter 381 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.xmit_thread_handler) padapter 382 drivers/staging/rtl8723bs/hal/hal_intf.c return padapter->HalFunc.xmit_thread_handler(padapter); padapter 416 drivers/staging/rtl8723bs/hal/hal_intf.c s32 rtw_hal_is_disable_sw_channel_plan(struct adapter *padapter) padapter 418 drivers/staging/rtl8723bs/hal/hal_intf.c return GET_HAL_DATA(padapter)->bDisableSWChannelPlan; padapter 421 drivers/staging/rtl8723bs/hal/hal_intf.c s32 rtw_hal_macid_sleep(struct adapter *padapter, u32 macid) padapter 427 drivers/staging/rtl8723bs/hal/hal_intf.c rtw_hal_get_def_var(padapter, HAL_DEF_MACID_SLEEP, &support); padapter 431 drivers/staging/rtl8723bs/hal/hal_intf.c rtw_hal_set_hwreg(padapter, HW_VAR_MACID_SLEEP, (u8 *)&macid); padapter 436 drivers/staging/rtl8723bs/hal/hal_intf.c s32 rtw_hal_macid_wakeup(struct adapter *padapter, u32 macid) padapter 442 drivers/staging/rtl8723bs/hal/hal_intf.c rtw_hal_get_def_var(padapter, HAL_DEF_MACID_SLEEP, &support); padapter 446 drivers/staging/rtl8723bs/hal/hal_intf.c rtw_hal_set_hwreg(padapter, HW_VAR_MACID_WAKEUP, (u8 *)&macid); padapter 451 drivers/staging/rtl8723bs/hal/hal_intf.c s32 rtw_hal_fill_h2c_cmd(struct adapter *padapter, u8 ElementID, u32 CmdLen, u8 *pCmdBuffer) padapter 455 drivers/staging/rtl8723bs/hal/hal_intf.c if (padapter->HalFunc.fill_h2c_cmd) padapter 456 drivers/staging/rtl8723bs/hal/hal_intf.c ret = padapter->HalFunc.fill_h2c_cmd(padapter, ElementID, CmdLen, pCmdBuffer); padapter 13 drivers/staging/rtl8723bs/hal/hal_sdio.c u8 rtw_hal_sdio_max_txoqt_free_space(struct adapter *padapter) padapter 15 drivers/staging/rtl8723bs/hal/hal_sdio.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 24 drivers/staging/rtl8723bs/hal/hal_sdio.c struct adapter *padapter, u8 PageIdx, u8 RequiredPageNum padapter 27 drivers/staging/rtl8723bs/hal/hal_sdio.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 36 drivers/staging/rtl8723bs/hal/hal_sdio.c struct adapter *padapter, u8 PageIdx, u8 RequiredPageNum padapter 39 drivers/staging/rtl8723bs/hal/hal_sdio.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 59 drivers/staging/rtl8723bs/hal/hal_sdio.c struct adapter *padapter, u8 numHQ, u8 numNQ, u8 numLQ, u8 numPubQ padapter 62 drivers/staging/rtl8723bs/hal/hal_sdio.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 66 drivers/staging/rtl8723bs/hal/hal_sdio.c rtw_hal_get_def_var(padapter, HAL_DEF_TX_PAGE_SIZE, &page_size); padapter 80 drivers/staging/rtl8723bs/hal/hal_sdio.c u32 rtw_hal_get_sdio_tx_max_length(struct adapter *padapter, u8 queue_idx) padapter 82 drivers/staging/rtl8723bs/hal/hal_sdio.c struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter); padapter 83 drivers/staging/rtl8723bs/hal/hal_sdio.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1110 drivers/staging/rtl8723bs/hal/odm.c struct adapter *padapter = pDM_Odm->Adapter; padapter 1112 drivers/staging/rtl8723bs/hal/odm.c if (padapter->bDriverStopped) { padapter 1228 drivers/staging/rtl8723bs/hal/odm.c static void FindMinimumRSSI(struct adapter *padapter) padapter 1230 drivers/staging/rtl8723bs/hal/odm.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 20 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static u8 _is_fw_read_cmd_down(struct adapter *padapter, u8 msgbox_num) padapter 30 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c valid = rtw_read8(padapter, REG_HMETFR) & BIT(msgbox_num); padapter 53 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c s32 FillH2CCmd8723B(struct adapter *padapter, u8 ElementID, u32 CmdLen, u8 *pCmdBuffer) padapter 63 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c padapter = GET_PRIMARY_ADAPTER(padapter); padapter 64 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pHalData = GET_HAL_DATA(padapter); padapter 65 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c if (mutex_lock_interruptible(&(adapter_to_dvobj(padapter)->h2c_fwcmd_mutex))) padapter 76 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c if (padapter->bSurpriseRemoved) padapter 83 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c if (!_is_fw_read_cmd_down(padapter, h2c_box_num)) { padapter 102 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write32(padapter, msgbox_ex_addr, h2c_cmd_ex); padapter 105 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write32(padapter, msgbox_addr, h2c_cmd); padapter 118 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c mutex_unlock(&(adapter_to_dvobj(padapter)->h2c_fwcmd_mutex)); padapter 122 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void ConstructBeacon(struct adapter *padapter, u8 *pframe, u32 *pLength) padapter 127 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 141 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 219 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void ConstructPSPoll(struct adapter *padapter, u8 *pframe, u32 *pLength) padapter 223 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 243 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 249 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, padapter 262 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 264 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 281 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 288 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pwlanhdr->addr3, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 293 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 326 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, padapter 334 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 336 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 356 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 413 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c SET_ARP_PKT_SENDER_MAC_ADDR(pARPRspPkt, myid(&(padapter->eeprompriv))); padapter 438 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c psta = rtw_get_stainfo(&padapter->stapriv, get_my_bssid(&(pmlmeinfo->network))); padapter 467 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, u8 *pframe, u32 *pLength padapter 471 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); padapter 509 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, u8 *pframe, u32 *pLength padapter 514 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); padapter 528 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, u8 *pframe, u32 *pLength padapter 533 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); padapter 586 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, u8 *pframe, u32 *pLength padapter 591 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 593 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 612 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 670 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void ConstructProbeReq(struct adapter *padapter, u8 *pframe, u32 *pLength) padapter 681 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c mac = myid(&(padapter->eeprompriv)); padapter 700 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c get_rate_set(padapter, bssrate, &bssrate_len); padapter 714 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void ConstructProbeRsp(struct adapter *padapter, u8 *pframe, u32 *pLength, u8 *StaAddr, bool bHideSSID) padapter 720 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 725 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 731 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c mac = myid(&(padapter->eeprompriv)); padapter 808 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c DBG_871X_LEVEL(_drv_warning_, FUNC_ADPT_FMT" remainder_ielen > MAX_IE_SZ\n", FUNC_ADPT_ARG(padapter)); padapter 832 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void rtl8723b_set_FwRsvdPage_cmd(struct adapter *padapter, PRSVDPAGE_LOC rsvdpageloc) padapter 848 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_RSVD_PAGE, H2C_RSVDPAGE_LOC_LEN, u1H2CRsvdPageParm); padapter 851 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void rtl8723b_set_FwAoacRsvdPage_cmd(struct adapter *padapter, PRSVDPAGE_LOC rsvdpageloc) padapter 854 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 873 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_AOAC_RSVD_PAGE, H2C_AOAC_RSVDPAGE_LOC_LEN, u1H2CAoacRsvdPageParm); padapter 880 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_AOAC_RSVDPAGE3, H2C_AOAC_RSVDPAGE_LOC_LEN, u1H2CAoacRsvdPageParm); padapter 891 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, PRSVDPAGE_LOC rsvdpageloc padapter 897 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c header = rtw_read8(padapter, REG_BCNQ_BDNY); padapter 907 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_BCN_RSVDPAGE, padapter 918 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_PROBERSP_RSVDPAGE, padapter 925 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c void rtl8723b_set_FwMediaStatusRpt_cmd(struct adapter *padapter, u8 mstatus, u8 macid) padapter 938 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_MEDIA_STATUS_RPT, H2C_MEDIA_STATUS_RPT_LEN, u1H2CMediaStatusRptParm); padapter 942 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void rtl8723b_set_FwKeepAlive_cmd(struct adapter *padapter, u8 benable, u8 pkt_type) padapter 955 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_KEEP_ALIVE, H2C_KEEP_ALIVE_CTRL_LEN, u1H2CKeepAliveParm); padapter 958 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void rtl8723b_set_FwDisconDecision_cmd(struct adapter *padapter, u8 benable) padapter 971 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_DISCON_DECISION, H2C_DISCON_DECISION_LEN, u1H2CDisconDecisionParm); padapter 975 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c void rtl8723b_set_FwMacIdConfig_cmd(struct adapter *padapter, u8 mac_id, u8 raid, u8 bw, u8 sgi, u32 mask) padapter 991 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_MACID_CFG, H2C_MACID_CFG_LEN, u1H2CMacIdConfigParm); padapter 994 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c void rtl8723b_set_rssi_cmd(struct adapter *padapter, u8 *param) padapter 1009 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_RSSI_SETTING, H2C_RSSI_SETTING_LEN, u1H2CRssiSettingParm); padapter 1012 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c void rtl8723b_set_FwPwrMode_cmd(struct adapter *padapter, u8 psmode) padapter 1015 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 1016 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1041 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c if (padapter->registrypriv.wifi_spec == 1) { padapter 1047 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c if (hal_btcoex_IsBtControlLps(padapter) == true) { padapter 1048 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c PowerState = hal_btcoex_RpwmVal(padapter); padapter 1049 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c byte5 = hal_btcoex_LpsVal(padapter); padapter 1070 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c SET_8723B_H2CCMD_PWRMODE_PARM_ALL_QUEUE_UAPSD(u1H2CPwrModeParm, padapter->registrypriv.uapsd_enable); padapter 1136 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c hal_btcoex_RecordPwrMode(padapter, u1H2CPwrModeParm, H2C_PWRMODE_LEN); padapter 1140 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_SET_PWR_MODE, H2C_PWRMODE_LEN, u1H2CPwrModeParm); padapter 1143 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c void rtl8723b_set_FwPsTuneParam_cmd(struct adapter *padapter) padapter 1161 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_PS_TUNING_PARA, H2C_PSTUNEPARAM_LEN, u1H2CPsTuneParm); padapter 1164 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c void rtl8723b_set_FwPwrModeInIPS_cmd(struct adapter *padapter, u8 cmd_param) padapter 1170 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_FWLPS_IN_IPS_, 1, &cmd_param); padapter 1174 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void rtl8723b_set_FwWoWlanCtrl_Cmd(struct adapter *padapter, u8 bFuncEn) padapter 1176 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct security_priv *psecpriv = &padapter->securitypriv; padapter 1213 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_WOWLAN, H2C_WOWLAN_LEN, u1H2CWoWlanCtrlParm); padapter 1216 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void rtl8723b_set_FwRemoteWakeCtrl_Cmd(struct adapter *padapter, u8 benable) padapter 1219 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct security_priv *psecuritypriv = &(padapter->securitypriv); padapter 1220 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct pwrctrl_priv *ppwrpriv = adapter_to_pwrctl(padapter); padapter 1252 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_REMOTE_WAKE_CTRL, padapter 1256 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c res = rtw_read8(padapter, REG_PNO_STATUS); padapter 1260 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c res = rtw_read8(padapter, REG_PNO_STATUS); padapter 1269 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void rtl8723b_set_FwAOACGlobalInfo_Cmd(struct adapter *padapter, u8 group_alg, u8 pairwise_alg) padapter 1280 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_AOAC_GLOBAL_INFO, H2C_AOAC_GLOBAL_INFO_LEN, u1H2CAOACGlobalInfoParm); padapter 1284 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void rtl8723b_set_FwScanOffloadInfo_cmd(struct adapter *padapter, PRSVDPAGE_LOC rsvdpageloc, u8 enable) padapter 1297 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_D0_SCAN_OFFLOAD_INFO, H2C_SCAN_OFFLOAD_CTRL_LEN, u1H2CScanOffloadInfoParm); padapter 1303 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c void rtl8723b_set_wowlan_cmd(struct adapter *padapter, u8 enable) padapter 1305 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct security_priv *psecpriv = &padapter->securitypriv; padapter 1306 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct pwrctrl_priv *ppwrpriv = adapter_to_pwrctl(padapter); padapter 1307 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1313 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwAOACGlobalInfo_Cmd(padapter, psecpriv->dot118021XGrpPrivacy, psecpriv->dot11PrivacyAlgrthm); padapter 1315 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwJoinBssRpt_cmd(padapter, RT_MEDIA_CONNECT); /* RT_MEDIA_CONNECT will confuse in the future */ padapter 1318 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(pmlmepriv)); padapter 1320 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwMediaStatusRpt_cmd(padapter, RT_MEDIA_CONNECT, psta->mac_id); padapter 1327 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwDisconDecision_cmd(padapter, enable); padapter 1333 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwKeepAlive_cmd(padapter, enable, pkt_type); padapter 1337 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwWoWlanCtrl_Cmd(padapter, enable); padapter 1340 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwRemoteWakeCtrl_Cmd(padapter, enable); padapter 1342 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwRemoteWakeCtrl_Cmd(padapter, enable); padapter 1344 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwWoWlanCtrl_Cmd(padapter, enable); padapter 1352 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void rtl8723b_set_FwAPWoWlanCtrl_Cmd(struct adapter *padapter, u8 bFuncEn) padapter 1380 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_AP_WOW_GPIO_CTRL, padapter 1384 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void rtl8723b_set_Fw_AP_Offload_Cmd(struct adapter *padapter, u8 bFuncEn) padapter 1392 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FillH2CCmd8723B(padapter, H2C_8723B_AP_OFFLOAD, padapter 1396 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c void rtl8723b_set_ap_wowlan_cmd(struct adapter *padapter, u8 enable) padapter 1400 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwJoinBssRpt_cmd(padapter, RT_MEDIA_CONNECT); padapter 1401 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c issue_beacon(padapter, 0); padapter 1404 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwAPWoWlanCtrl_Cmd(padapter, enable); padapter 1406 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_Fw_AP_Offload_Cmd(padapter, enable); padapter 1423 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, bool bDLFinished padapter 1432 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1446 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1455 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pxmitpriv = &padapter->xmitpriv; padapter 1456 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pmlmeext = &padapter->mlmeextpriv; padapter 1458 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pwrctl = adapter_to_pwrctl(padapter); padapter 1474 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c ConstructBeacon(padapter, &ReservedPagePacket[BufIndex], &BeaconLength); padapter 1489 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c ConstructPSPoll(padapter, &ReservedPagePacket[BufIndex], &PSPollLength); padapter 1490 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_fill_fake_txdesc(padapter, &ReservedPagePacket[BufIndex-TxDescLen], PSPollLength, true, false, false); padapter 1504 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c padapter, padapter 1510 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_fill_fake_txdesc(padapter, &ReservedPagePacket[BufIndex-TxDescLen], NullDataLength, false, false, false); padapter 1524 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c padapter, padapter 1530 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_fill_fake_txdesc(padapter, &ReservedPagePacket[BufIndex-TxDescLen], QosNullLength, false, false, false); padapter 1544 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c padapter, padapter 1550 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_fill_fake_txdesc(padapter, &ReservedPagePacket[BufIndex-TxDescLen], BTQosNullLength, false, true, false); padapter 1567 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_get_current_ip_address(padapter, currentip); padapter 1571 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c padapter, padapter 1576 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_fill_fake_txdesc(padapter, &ReservedPagePacket[BufIndex-TxDescLen], ARPLegnth, false, false, true); padapter 1588 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_get_sec_iv(padapter, cur_dot11txpn, get_my_bssid(&pmlmeinfo->network)); padapter 1630 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c padapter, padapter 1635 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_fill_fake_txdesc(padapter, &ReservedPagePacket[BufIndex-TxDescLen], GTKLegnth, false, false, true); padapter 1665 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c padapter, padapter 1669 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_fill_fake_txdesc(padapter, padapter 1693 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c ConstructPnoInfo(padapter, &ReservedPagePacket[BufIndex-TxDescLen], &PNOLength); padapter 1713 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c ConstructSSIDList(padapter, &ReservedPagePacket[BufIndex-TxDescLen], &SSIDLegnth); padapter 1732 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c ConstructScanInfo(padapter, &ReservedPagePacket[BufIndex-TxDescLen], &ScanInfoLength); padapter 1765 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c update_mgntframe_attrib(padapter, pattrib); padapter 1768 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c dump_mgntframe_and_wait(padapter, pcmdframe, 100); padapter 1773 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwRsvdPage_cmd(padapter, &RsvdPageLoc); padapter 1774 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwAoacRsvdPage_cmd(padapter, &RsvdPageLoc); padapter 1776 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwAoacRsvdPage_cmd(padapter, &RsvdPageLoc); padapter 1779 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwScanOffloadInfo_cmd(padapter, padapter 1782 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwScanOffloadInfo_cmd(padapter, padapter 1807 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, bool bDLFinished padapter 1828 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FUNC_ADPT_ARG(padapter), get_iface_type(padapter)); padapter 1830 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pHalData = GET_HAL_DATA(padapter); padapter 1831 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pxmitpriv = &padapter->xmitpriv; padapter 1832 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pmlmeext = &padapter->mlmeextpriv; padapter 1834 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pwrctl = adapter_to_pwrctl(padapter); padapter 1850 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c ConstructBeacon(padapter, &ReservedPagePacket[BufIndex], &BeaconLength); padapter 1865 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_get_current_ip_address(padapter, currentip); padapter 1868 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c padapter, padapter 1873 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_fill_fake_txdesc(padapter, padapter 1898 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c update_mgntframe_attrib(padapter, pattrib); padapter 1902 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c dump_mgntframe_and_wait(padapter, pcmdframe, 100); padapter 1906 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_ap_wow_rsvdpage_cmd(padapter, &RsvdPageLoc); padapter 1914 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c void rtl8723b_download_rsvd_page(struct adapter *padapter, u8 mstatus) padapter 1916 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1918 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 1920 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 1928 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FUNC_ADPT_ARG(padapter), get_iface_type(padapter), mstatus); padapter 1936 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write16(padapter, REG_BCN_PSR_RPT, (0xC000|pmlmeinfo->aid)); padapter 1939 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c v8 = rtw_read8(padapter, REG_CR+1); padapter 1941 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_CR+1, v8); padapter 1946 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 = rtw_read8(padapter, REG_BCN_CTRL); padapter 1949 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_BCN_CTRL, val8); padapter 1956 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_FWHW_TXQ_CTRL+2, pHalData->RegFwHwTxQCtrl & ~BIT(6)); padapter 1960 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_hal_set_hwreg(padapter, HW_VAR_BCN_VALID, NULL); padapter 1961 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_hal_set_hwreg(padapter, HW_VAR_DL_BCN_SEL, NULL); padapter 1968 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_AP_FwRsvdPagePkt(padapter, 0); padapter 1970 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwRsvdPagePkt(padapter, 0); padapter 1973 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwRsvdPagePkt(padapter, 0); padapter 1980 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_hal_get_hwreg(padapter, HW_VAR_BCN_VALID, (u8 *)(&bcn_valid)); padapter 1982 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c } while (!bcn_valid && (poll%10) != 0 && !padapter->bSurpriseRemoved && !padapter->bDriverStopped); padapter 1984 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c } while (!bcn_valid && DLBcnCount <= 100 && !padapter->bSurpriseRemoved && !padapter->bDriverStopped); padapter 1986 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c if (padapter->bSurpriseRemoved || padapter->bDriverStopped) { padapter 1989 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c ADPT_ARG(padapter), DLBcnCount, poll); padapter 1991 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); padapter 1992 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pwrctl->fw_psmode_iface_id = padapter->iface_id; padapter 1994 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c ADPT_ARG(padapter), DLBcnCount, poll); padapter 1998 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 = rtw_read8(padapter, REG_BCN_CTRL); padapter 2001 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_BCN_CTRL, val8); padapter 2009 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_FWHW_TXQ_CTRL+2, pHalData->RegFwHwTxQCtrl | BIT(6)); padapter 2014 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c v8 = rtw_read8(padapter, REG_CR+1); padapter 2016 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_CR+1, v8); padapter 2020 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c void rtl8723b_set_FwJoinBssRpt_cmd(struct adapter *padapter, u8 mstatus) padapter 2023 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_download_rsvd_page(padapter, RT_MEDIA_CONNECT); padapter 2031 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, padapter 2037 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 2038 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2057 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwMacIdConfig_cmd(padapter, mac_id, raid, bw, shortGI, mask); padapter 2061 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct adapter *padapter, padapter 2080 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FUNC_ADPT_ARG(padapter), bQoS, bEosp, bForcePowerSave); padapter 2083 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pmlmeext = &padapter->mlmeextpriv; padapter 2087 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(bssid, myid(&padapter->eeprompriv), ETH_ALEN); padapter 2098 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pwlanhdr->addr2, myid(&padapter->eeprompriv), ETH_ALEN); padapter 2099 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c memcpy(pwlanhdr->addr3, myid(&padapter->eeprompriv), ETH_ALEN); padapter 2123 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c static void SetFwRsvdPagePkt_BTCoex(struct adapter *padapter) padapter 2143 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pHalData = GET_HAL_DATA(padapter); padapter 2144 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pxmitpriv = &padapter->xmitpriv; padapter 2145 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pmlmeext = &padapter->mlmeextpriv; padapter 2165 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c ConstructBeacon(padapter, &ReservedPagePacket[BufIndex], &BeaconLength); padapter 2186 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c padapter, padapter 2192 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_fill_fake_txdesc(padapter, &ReservedPagePacket[BufIndex-TxDescLen], BTQosNullLength, false, true, false); padapter 2201 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FUNC_ADPT_ARG(padapter), TotalPacketLen, MaxRsvdPageBufSize); padapter 2207 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c update_mgntframe_attrib(padapter, pattrib); padapter 2210 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c dump_mgntframe_and_wait(padapter, pcmdframe, 100); padapter 2214 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwRsvdPage_cmd(padapter, &RsvdPageLoc); padapter 2215 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtl8723b_set_FwAoacRsvdPage_cmd(padapter, &RsvdPageLoc); padapter 2223 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c void rtl8723b_download_BTCoex_AP_mode_rsvd_page(struct adapter *padapter) padapter 2236 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FUNC_ADPT_ARG(padapter), get_iface_type(padapter), get_fwstate(&padapter->mlmepriv)); padapter 2239 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c if (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == false) { padapter 2241 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c FUNC_ADPT_ARG(padapter)); padapter 2245 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pHalData = GET_HAL_DATA(padapter); padapter 2246 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pmlmeext = &padapter->mlmeextpriv; padapter 2251 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write16(padapter, REG_BCN_PSR_RPT, (0xC000|pmlmeinfo->aid)); padapter 2254 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 = rtw_read8(padapter, REG_CR+1); padapter 2256 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_CR+1, val8); padapter 2261 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 = rtw_read8(padapter, REG_BCN_CTRL); padapter 2264 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_BCN_CTRL, val8); padapter 2272 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_FWHW_TXQ_CTRL+2, pHalData->RegFwHwTxQCtrl); padapter 2275 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_hal_set_hwreg(padapter, HW_VAR_BCN_VALID, NULL); padapter 2276 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_hal_set_hwreg(padapter, HW_VAR_DL_BCN_SEL, NULL); padapter 2281 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c SetFwRsvdPagePkt_BTCoex(padapter); padapter 2287 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_hal_get_hwreg(padapter, HW_VAR_BCN_VALID, &bcn_valid); padapter 2289 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c } while (!bcn_valid && (poll%10) != 0 && !padapter->bSurpriseRemoved && !padapter->bDriverStopped); padapter 2290 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c } while (!bcn_valid && (DLBcnCount <= 100) && !padapter->bSurpriseRemoved && !padapter->bDriverStopped); padapter 2293 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); padapter 2294 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pwrctl->fw_psmode_iface_id = padapter->iface_id; padapter 2296 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c ADPT_ARG(padapter), DLBcnCount, poll); padapter 2299 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c ADPT_ARG(padapter), DLBcnCount, poll); padapter 2301 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c ADPT_ARG(padapter), padapter->bSurpriseRemoved); padapter 2303 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c ADPT_ARG(padapter), padapter->bDriverStopped); padapter 2307 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 = rtw_read8(padapter, REG_BCN_CTRL); padapter 2310 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_BCN_CTRL, val8); padapter 2319 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_FWHW_TXQ_CTRL+2, pHalData->RegFwHwTxQCtrl); padapter 2323 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 = rtw_read8(padapter, REG_CR+1); padapter 2325 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_CR+1, val8); padapter 200 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c void rtl8723b_hal_dm_in_lps(struct adapter *padapter) padapter 203 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 204 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 206 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 220 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c rtl8723b_set_rssi_cmd(padapter, (u8 *)&PWDB_rssi); padapter 16 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void _FWDownloadEnable(struct adapter *padapter, bool enable) padapter 22 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); padapter 23 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_SYS_FUNC_EN+1, tmp|0x04); padapter 25 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmp = rtw_read8(padapter, REG_MCUFWDL); padapter 26 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_MCUFWDL, tmp|0x01); padapter 29 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmp = rtw_read8(padapter, REG_MCUFWDL); padapter 32 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_MCUFWDL, tmp|0x01); padapter 40 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmp = rtw_read8(padapter, REG_MCUFWDL+2); padapter 41 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_MCUFWDL+2, tmp&0xf7); padapter 44 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmp = rtw_read8(padapter, REG_MCUFWDL); padapter 45 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_MCUFWDL, tmp&0xfe); padapter 49 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static int _BlockWrite(struct adapter *padapter, void *buffer, u32 buffSize) padapter 82 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ret = rtw_write32(padapter, (FW_8723B_START_ADDRESS + i * blockSize_p1), *((u32 *)(bufferPtr + i * blockSize_p1))); padapter 123 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ret = rtw_write8(padapter, (FW_8723B_START_ADDRESS + offset + i), *(bufferPtr + offset + i)); padapter 136 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 145 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c value8 = (rtw_read8(padapter, REG_MCUFWDL+2) & 0xF8) | u8Page; padapter 146 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_MCUFWDL+2, value8); padapter 148 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c return _BlockWrite(padapter, buffer, size); padapter 151 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static int _WriteFW(struct adapter *padapter, void *buffer, u32 size) padapter 166 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ret = _PageWrite(padapter, page, bufferPtr+offset, MAX_DLFW_PAGE_SIZE); padapter 177 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ret = _PageWrite(padapter, page, bufferPtr+offset, remainSize); padapter 190 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void _8051Reset8723(struct adapter *padapter) padapter 199 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c io_rst = rtw_read8(padapter, REG_RSV_CTRL+1); padapter 201 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_RSV_CTRL+1, io_rst); padapter 203 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c cpu_rst = rtw_read8(padapter, REG_SYS_FUNC_EN+1); padapter 205 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_SYS_FUNC_EN+1, cpu_rst); padapter 209 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c io_rst = rtw_read8(padapter, REG_RSV_CTRL+1); padapter 211 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_RSV_CTRL+1, io_rst); padapter 213 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c cpu_rst = rtw_read8(padapter, REG_SYS_FUNC_EN+1); padapter 215 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_SYS_FUNC_EN+1, cpu_rst); padapter 315 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c #define IS_FW_81xxC(padapter) (((GET_HAL_DATA(padapter))->FirmwareSignature & 0xFFF0) == 0x88C0) padapter 317 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void rtl8723b_FirmwareSelfReset(struct adapter *padapter) padapter 319 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 324 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c !(IS_FW_81xxC(padapter) && ((pHalData->FirmwareVersion < 0x21) || (pHalData->FirmwareVersion == 0x21 && pHalData->FirmwareSubVersion < 0x01))) padapter 327 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_HMETFR+3, 0x20); padapter 329 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u1bTmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); padapter 335 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u1bTmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); padapter 342 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u1bTmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); padapter 343 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_SYS_FUNC_EN+1, u1bTmp&(~BIT2)); padapter 353 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c s32 rtl8723b_FirmwareDownload(struct adapter *padapter, bool bUsedWoWLANFw) padapter 358 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 365 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct device *device = dvobj_to_dev(padapter->dvobj); padapter 367 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct dvobj_priv *psdpriv = padapter->dvobj; padapter 383 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmp_ps = rtw_read8(padapter, 0xa3); padapter 387 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, 0xa3, tmp_ps); padapter 389 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmp_ps = rtw_read8(padapter, 0xa0); padapter 392 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c DBG_871X(FUNC_ADPT_FMT" tmp_ps =%x\n", FUNC_ADPT_ARG(padapter), tmp_ps); padapter 473 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (rtw_read8(padapter, REG_MCUFWDL) & RAM_DL_SEL) { /* 8051 RAM code */ padapter 474 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_MCUFWDL, 0x00); padapter 475 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtl8723b_FirmwareSelfReset(padapter); padapter 478 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c _FWDownloadEnable(padapter, true); padapter 481 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c !padapter->bDriverStopped && padapter 482 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c !padapter->bSurpriseRemoved && padapter 486 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_MCUFWDL, rtw_read8(padapter, REG_MCUFWDL)|FWDL_ChkSum_rpt); padapter 488 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtStatus = _WriteFW(padapter, pFirmwareBuf, FirmwareLen); padapter 492 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtStatus = polling_fwdl_chksum(padapter, 5, 50); padapter 496 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c _FWDownloadEnable(padapter, false); padapter 500 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtStatus = _FWFreeToGo(padapter, 10, 200); padapter 521 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void rtl8723b_InitializeFirmwareVars(struct adapter *padapter) padapter 523 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 526 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c adapter_to_pwrctl(padapter)->bFwCurrentInPSMode = false; padapter 529 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_HMETFR, 0x0f); padapter 550 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 bHostIsGoingtoSleep padapter 557 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c status = rtl8723b_FirmwareDownload(padapter, bHostIsGoingtoSleep); padapter 567 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtl8723b_InitializeFirmwareVars(padapter); padapter 571 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void rtl8723b_free_hal_data(struct adapter *padapter) padapter 579 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 bank, bool bPseudoTest padapter 585 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 599 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c value32 = rtw_read32(padapter, EFUSE_TEST); padapter 619 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, EFUSE_TEST, value32); padapter 626 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 741 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 bWrite, u8 PwrState padapter 748 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tempval = rtw_read8(padapter, 0x6B); padapter 750 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, 0x6B, tempval); padapter 757 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tempval = rtw_read8(padapter, 0x6B); padapter 759 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, 0x6B, tempval); padapter 763 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tempval = rtw_read8(padapter, 0x6B); padapter 765 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, 0x6B, tempval); padapter 772 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tempval = rtw_read8(padapter, 0x6B); padapter 774 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, 0x6B, tempval); padapter 779 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 bWrite, u8 PwrState padapter 789 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tempval = rtw_read8(padapter, SDIO_LOCAL_BASE|SDIO_REG_HSUS_CTRL); padapter 795 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, SDIO_LOCAL_BASE|SDIO_REG_HSUS_CTRL, tempval); padapter 799 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tempval = rtw_read8(padapter, SDIO_LOCAL_BASE|SDIO_REG_HSUS_CTRL); padapter 813 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c FUNC_ADPT_ARG(padapter), tempval); padapter 816 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c FUNC_ADPT_ARG(padapter), tempval); padapter 820 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_EFUSE_ACCESS_8723, EFUSE_ACCESS_ON_8723); padapter 823 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmpV16 = rtw_read16(padapter, REG_SYS_FUNC_EN); padapter 826 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_SYS_FUNC_EN, tmpV16); padapter 830 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmpV16 = rtw_read16(padapter, REG_SYS_CLKR); padapter 833 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_SYS_CLKR, tmpV16); padapter 838 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tempval = rtw_read8(padapter, EFUSE_TEST+3); padapter 841 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, EFUSE_TEST+3, (tempval | 0x80)); padapter 846 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_EFUSE_ACCESS, EFUSE_ACCESS_OFF); padapter 850 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tempval = rtw_read8(padapter, EFUSE_TEST+3); padapter 851 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, EFUSE_TEST+3, (tempval & 0x7F)); padapter 858 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 866 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 897 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, i, &efuseTbl[i], false); padapter 910 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hal_EfuseSwitchToBank(padapter, 0, bPseudoTest); padapter 913 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, eFuse_Addr++, &efuseHeader, bPseudoTest); padapter 925 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, eFuse_Addr++, &efuseExtHdr, bPseudoTest); padapter 947 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, eFuse_Addr++, &efuseData, bPseudoTest); padapter 951 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, eFuse_Addr++, &efuseData, bPseudoTest); padapter 979 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c EFUSE_GetEfuseDefinition(padapter, EFUSE_WIFI, TYPE_AVAILABLE_EFUSE_BYTES_TOTAL, &total, bPseudoTest); padapter 989 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_hal_set_hwreg(padapter, HW_VAR_EFUSE_BYTES, (u8 *)&used); padapter 990 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_hal_set_hwreg(padapter, HW_VAR_EFUSE_USAGE, (u8 *)&efuse_usage); padapter 997 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 1005 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1033 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c EFUSE_GetEfuseDefinition(padapter, EFUSE_BT, TYPE_AVAILABLE_EFUSE_BYTES_BANK, &total, bPseudoTest); padapter 1036 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (hal_EfuseSwitchToBank(padapter, bank, bPseudoTest) == false) { padapter 1044 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, eFuse_Addr++, &efuseHeader, bPseudoTest); padapter 1054 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, eFuse_Addr++, &efuseExtHdr, bPseudoTest); padapter 1077 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, eFuse_Addr++, &efuseData, bPseudoTest); padapter 1081 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, eFuse_Addr++, &efuseData, bPseudoTest); padapter 1100 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hal_EfuseSwitchToBank(padapter, 0, bPseudoTest); padapter 1109 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c EFUSE_GetEfuseDefinition(padapter, EFUSE_BT, TYPE_AVAILABLE_EFUSE_BYTES_TOTAL, &total, bPseudoTest); padapter 1120 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_hal_set_hwreg(padapter, HW_VAR_EFUSE_BT_BYTES, (u8 *)&used); padapter 1121 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_hal_set_hwreg(padapter, HW_VAR_EFUSE_BT_USAGE, (u8 *)&efuse_usage); padapter 1129 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 1138 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hal_ReadEFuse_WiFi(padapter, _offset, _size_byte, pbuf, bPseudoTest); padapter 1140 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hal_ReadEFuse_BT(padapter, _offset, _size_byte, pbuf, bPseudoTest); padapter 1144 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, bool bPseudoTest padapter 1148 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1165 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_hal_get_hwreg(padapter, HW_VAR_EFUSE_BYTES, (u8 *)&efuse_addr); padapter 1171 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hal_EfuseSwitchToBank(padapter, 0, bPseudoTest); padapter 1175 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (efuse_OneByteRead(padapter, efuse_addr, &efuse_data, bPseudoTest) == false) { padapter 1186 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c FUNC_ADPT_ARG(padapter), efuse_addr, efuse_data, count); padapter 1207 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, efuse_addr, &efuse_data, bPseudoTest); padapter 1229 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_hal_set_hwreg(padapter, HW_VAR_EFUSE_BYTES, (u8 *)&efuse_addr); padapter 1235 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c EFUSE_GetEfuseDefinition(padapter, EFUSE_WIFI, TYPE_AVAILABLE_EFUSE_BYTES_TOTAL, &efuse_addr, bPseudoTest); padapter 1243 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static u16 hal_EfuseGetCurrentSize_BT(struct adapter *padapter, u8 bPseudoTest) padapter 1246 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1263 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_hal_get_hwreg(padapter, HW_VAR_EFUSE_BT_BYTES, (u8 *)&btusedbytes); padapter 1270 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c EFUSE_GetEfuseDefinition(padapter, EFUSE_BT, TYPE_AVAILABLE_EFUSE_BYTES_BANK, &retU2, bPseudoTest); padapter 1273 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (hal_EfuseSwitchToBank(padapter, bank, bPseudoTest) == false) { padapter 1285 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (efuse_OneByteRead(padapter, efuse_addr, &efuse_data, bPseudoTest) == false) { padapter 1298 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, efuse_addr, &efuse_data, bPseudoTest); padapter 1315 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c FUNC_ADPT_ARG(padapter), hoffset, hworden); padapter 1324 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, efuse_addr, &efuse_data, bPseudoTest) && padapter 1331 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, efuse_addr, &efuse_data, bPseudoTest); padapter 1371 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 efuseType, bool bPseudoTest padapter 1377 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ret = hal_EfuseGetCurrentSize_WiFi(padapter, bPseudoTest); padapter 1379 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ret = hal_EfuseGetCurrentSize_BT(padapter, bPseudoTest); padapter 1385 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 1403 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteWrite(padapter, start_addr++, data[0], bPseudoTest); padapter 1404 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteWrite(padapter, start_addr++, data[1], bPseudoTest); padapter 1406 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, tmpaddr, &tmpdata[0], bPseudoTest); padapter 1407 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, tmpaddr+1, &tmpdata[1], bPseudoTest); padapter 1414 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteWrite(padapter, start_addr++, data[2], bPseudoTest); padapter 1415 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteWrite(padapter, start_addr++, data[3], bPseudoTest); padapter 1417 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, tmpaddr, &tmpdata[2], bPseudoTest); padapter 1418 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, tmpaddr+1, &tmpdata[3], bPseudoTest); padapter 1426 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteWrite(padapter, start_addr++, data[4], bPseudoTest); padapter 1427 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteWrite(padapter, start_addr++, data[5], bPseudoTest); padapter 1429 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, tmpaddr, &tmpdata[4], bPseudoTest); padapter 1430 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, tmpaddr+1, &tmpdata[5], bPseudoTest); padapter 1438 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteWrite(padapter, start_addr++, data[6], bPseudoTest); padapter 1439 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteWrite(padapter, start_addr++, data[7], bPseudoTest); padapter 1441 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, tmpaddr, &tmpdata[6], bPseudoTest); padapter 1442 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, tmpaddr+1, &tmpdata[7], bPseudoTest); padapter 1452 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 1469 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c EFUSE_GetEfuseDefinition(padapter, EFUSE_WIFI, TYPE_EFUSE_MAX_SECTION, &max_section, bPseudoTest); padapter 1484 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (efuse_OneByteRead(padapter, efuse_addr++, &efuse_data, bPseudoTest) == false) { padapter 1494 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, efuse_addr++, &efuse_data, bPseudoTest); padapter 1511 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, efuse_addr++, &efuse_data, bPseudoTest); padapter 1515 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, efuse_addr++, &efuse_data, bPseudoTest); padapter 1530 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 efuseType, u8 bPseudoTest padapter 1537 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c EFUSE_GetEfuseDefinition(padapter, efuseType, TYPE_AVAILABLE_EFUSE_BYTES_TOTAL, &max_available, bPseudoTest); padapter 1540 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c current_size = Efuse_GetCurrentSize(padapter, efuseType, bPseudoTest); padapter 1563 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 1570 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1576 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c EFUSE_GetEfuseDefinition(padapter, efuseType, TYPE_AVAILABLE_EFUSE_BYTES_TOTAL, &efuse_max_available_len, bPseudoTest); padapter 1577 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c EFUSE_GetEfuseDefinition(padapter, efuseType, TYPE_EFUSE_CONTENT_LEN_BANK, &efuse_max, bPseudoTest); padapter 1587 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_hal_get_hwreg(padapter, HW_VAR_EFUSE_BYTES, (u8 *)&startAddr); padapter 1596 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_hal_get_hwreg(padapter, HW_VAR_EFUSE_BT_BYTES, (u8 *)&startAddr); padapter 1608 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (efuse_OneByteRead(padapter, startAddr, &efuse_data, bPseudoTest) && (efuse_data != 0xFF)) { padapter 1618 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, startAddr, &efuse_data, bPseudoTest); padapter 1638 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c (hal_EfuseCheckIfDatafollowed(padapter, curPkt.word_cnts, startAddr+1, bPseudoTest) == false) && padapter 1643 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c badworden = Efuse_WordEnableDataWrite(padapter, startAddr+1, matched_wden, pTargetPkt->data, bPseudoTest); padapter 1648 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c PgWriteSuccess = Efuse_PgPacketWrite(padapter, pTargetPkt->offset, badworden, pTargetPkt->data, bPseudoTest); padapter 1650 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c PgWriteSuccess = Efuse_PgPacketWrite_BT(padapter, pTargetPkt->offset, badworden, pTargetPkt->data, bPseudoTest); padapter 1681 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 1697 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteWrite(padapter, efuse_addr, pg_header, bPseudoTest); padapter 1698 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, efuse_addr, &tmp_header, bPseudoTest); padapter 1718 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 1731 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c EFUSE_GetEfuseDefinition(padapter, efuseType, TYPE_AVAILABLE_EFUSE_BYTES_BANK, &efuse_max_available_len, bPseudoTest); padapter 1744 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteWrite(padapter, efuse_addr, pg_header, bPseudoTest); padapter 1745 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, efuse_addr, &tmp_header, bPseudoTest); padapter 1764 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteWrite(padapter, efuse_addr, pg_header, bPseudoTest); padapter 1765 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, efuse_addr, &tmp_header, bPseudoTest); padapter 1785 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 1795 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c bRet = hal_EfusePgPacketWrite2ByteHeader(padapter, efuseType, pAddr, pTargetPkt, bPseudoTest); padapter 1797 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c bRet = hal_EfusePgPacketWrite1ByteHeader(padapter, efuseType, pAddr, pTargetPkt, bPseudoTest); padapter 1803 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 1815 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c badworden = Efuse_WordEnableDataWrite(padapter, efuse_addr+1, pTargetPkt->word_en, pTargetPkt->data, bPseudoTest); padapter 1826 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 1837 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (!hal_EfusePgCheckAvailableAddr(padapter, efuseType, bPseudoTest)) padapter 1842 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (!hal_EfusePartialWriteCheck(padapter, efuseType, &startAddr, &targetPkt, bPseudoTest)) padapter 1845 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (!hal_EfusePgPacketWriteHeader(padapter, efuseType, &startAddr, &targetPkt, bPseudoTest)) padapter 1848 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (!hal_EfusePgPacketWriteData(padapter, efuseType, &startAddr, &targetPkt, bPseudoTest)) padapter 1855 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 1866 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (!hal_EfusePgCheckAvailableAddr(padapter, efuseType, bPseudoTest)) padapter 1871 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (!hal_EfusePartialWriteCheck(padapter, efuseType, &startAddr, &targetPkt, bPseudoTest)) padapter 1874 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (!hal_EfusePgPacketWriteHeader(padapter, efuseType, &startAddr, &targetPkt, bPseudoTest)) padapter 1877 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (!hal_EfusePgPacketWriteData(padapter, efuseType, &startAddr, &targetPkt, bPseudoTest)) padapter 1883 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static HAL_VERSION ReadChipVersion8723B(struct adapter *padapter) padapter 1890 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pHalData = GET_HAL_DATA(padapter); padapter 1892 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c value32 = rtw_read32(padapter, REG_SYS_CFG); padapter 1902 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c value32 = rtw_read32(padapter, REG_GPIO_OUTSTS); padapter 1907 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c value32 = rtw_read32(padapter, REG_MULTI_FUNC_CTRL); padapter 1928 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void rtl8723b_read_chip_version(struct adapter *padapter) padapter 1930 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ReadChipVersion8723B(padapter); padapter 1933 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void rtl8723b_InitBeaconParameters(struct adapter *padapter) padapter 1935 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1946 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_BCN_CTRL, val16); padapter 1949 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_TBTT_PROHIBIT, 0x6404);/* ms */ padapter 1952 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (check_fwstate(&padapter->mlmepriv, WIFI_STATION_STATE) == false) padapter 1953 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_DRVERLYINT, DRIVER_EARLY_INT_TIME_8723B); /* 5ms */ padapter 1954 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCNDMATIM, BCN_DMA_ATIME_INT_TIME_8723B); /* 2ms */ padapter 1958 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_BCNTCFG, 0x660F); padapter 1960 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pHalData->RegBcnCtrlVal = rtw_read8(padapter, REG_BCN_CTRL); padapter 1961 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pHalData->RegTxPause = rtw_read8(padapter, REG_TXPAUSE); padapter 1962 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pHalData->RegFwHwTxQCtrl = rtw_read8(padapter, REG_FWHW_TXQ_CTRL+2); padapter 1963 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pHalData->RegReg542 = rtw_read8(padapter, REG_TBTT_PROHIBIT+2); padapter 1964 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pHalData->RegCR_1 = rtw_read8(padapter, REG_CR+1); padapter 1992 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void ResumeTxBeacon(struct adapter *padapter) padapter 1994 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 2003 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_FWHW_TXQ_CTRL+2, pHalData->RegFwHwTxQCtrl); padapter 2004 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_TBTT_PROHIBIT+1, 0xff); padapter 2006 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_TBTT_PROHIBIT+2, pHalData->RegReg542); padapter 2009 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void StopTxBeacon(struct adapter *padapter) padapter 2011 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 2020 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_FWHW_TXQ_CTRL+2, pHalData->RegFwHwTxQCtrl); padapter 2021 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_TBTT_PROHIBIT+1, 0x64); padapter 2023 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_TBTT_PROHIBIT+2, pHalData->RegReg542); padapter 2025 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c CheckFwRsvdPageContent(padapter); /* 2010.06.23. Added by tynli. */ padapter 2028 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void _BeaconFunctionEnable(struct adapter *padapter, u8 Enable, u8 Linked) padapter 2030 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, DIS_TSF_UDT | EN_BCN_FUNCTION | DIS_BCNQ_SUB); padapter 2031 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_RD_CTRL+1, 0x6F); padapter 2034 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void rtl8723b_SetBeaconRelatedRegisters(struct adapter *padapter) padapter 2038 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2060 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_ATIMWND, 2); padapter 2065 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_BCN_INTERVAL, pmlmeinfo->bcn_interval); padapter 2067 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtl8723b_InitBeaconParameters(padapter); padapter 2069 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_SLOT, 0x09); padapter 2074 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c value32 = rtw_read32(padapter, REG_TCR); padapter 2076 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_TCR, value32); padapter 2079 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_TCR, value32); padapter 2082 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (check_fwstate(&padapter->mlmepriv, WIFI_ADHOC_STATE|WIFI_ADHOC_MASTER_STATE|WIFI_AP_STATE) == true) { padapter 2083 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_RXTSF_OFFSET_CCK, 0x50); padapter 2084 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_RXTSF_OFFSET_OFDM, 0x50); padapter 2087 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c _BeaconFunctionEnable(padapter, true, true); padapter 2089 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ResumeTxBeacon(padapter); padapter 2090 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, bcn_ctrl_reg); padapter 2092 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, bcn_ctrl_reg, val8); padapter 2126 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void UpdateHalRAMask8723B(struct adapter *padapter, u32 mac_id, u8 rssi_level) padapter 2131 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 2133 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2156 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rate_bitmap = hal_btcoex_GetRaMask(padapter); padapter 2170 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtl8723b_set_FwMacIdConfig_cmd(padapter, mac_id, psta->raid, psta->bw_mode, shortGIrate, mask); padapter 2235 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void rtl8723b_InitAntenna_Selection(struct adapter *padapter) padapter 2241 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pHalData = GET_HAL_DATA(padapter); padapter 2243 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val = rtw_read8(padapter, REG_LEDCFG2); padapter 2246 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_LEDCFG2, val); padapter 2249 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void rtl8723b_init_default_value(struct adapter *padapter) padapter 2256 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pHalData = GET_HAL_DATA(padapter); padapter 2259 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c padapter->registrypriv.wireless_mode = WIRELESS_11BG_24N; padapter 2264 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (!adapter_to_pwrctl(padapter)->bkeepfwalive) padapter 2300 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 GetEEPROMSize8723B(struct adapter *padapter) padapter 2305 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c cr = rtw_read16(padapter, REG_9346CR); padapter 2319 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c s32 rtl8723b_InitLLTTable(struct adapter *padapter) padapter 2328 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val32 = rtw_read32(padapter, REG_AUTO_LLT); padapter 2330 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_AUTO_LLT, val32); padapter 2335 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val32 = rtw_read32(padapter, REG_AUTO_LLT); padapter 2427 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void Hal_InitPGData(struct adapter *padapter, u8 *PROMContent) padapter 2429 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter); padapter 2434 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c EFUSE_ShadowMapUpdate(padapter, EFUSE_WIFI, false); padapter 2440 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c EFUSE_ShadowMapUpdate(padapter, EFUSE_WIFI, false); padapter 2445 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void Hal_EfuseParseIDCode(struct adapter *padapter, u8 *hwinfo) padapter 2447 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter); padapter 2580 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 *PROMContent, bool AutoLoadFail padapter 2583 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 2587 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c Hal_ReadPowerValueFromPROM_8723B(padapter, &pwrInfo24G, PROMContent, AutoLoadFail); padapter 2636 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail padapter 2639 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 2644 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmpu4 = rtw_read32(padapter, REG_MULTI_FUNC_CTRL); padapter 2672 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (padapter->registrypriv.ant_num > 0) { padapter 2676 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c padapter->registrypriv.ant_num, padapter 2680 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c switch (padapter->registrypriv.ant_num) { padapter 2691 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c padapter->registrypriv.ant_num padapter 2697 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hal_btcoex_SetBTCoexist(padapter, pHalData->EEPROMBluetoothCoexist); padapter 2698 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hal_btcoex_SetChipType(padapter, pHalData->EEPROMBluetoothType); padapter 2699 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hal_btcoex_SetPgAntNum(padapter, pHalData->EEPROMBluetoothAntNum == Ant_x2 ? 2 : 1); padapter 2701 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hal_btcoex_SetSingleAntPath(padapter, pHalData->ant_path); padapter 2712 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail padapter 2715 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 2729 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail padapter 2732 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 2736 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c Efuse_PowerSwitch(padapter, false, true); padapter 2737 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_OneByteRead(padapter, 0x1FB, &efuseContent, false); padapter 2739 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c Efuse_PowerSwitch(padapter, false, false); padapter 2766 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail padapter 2769 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter); padapter 2778 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail padapter 2781 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c padapter->mlmepriv.ChannelPlan = hal_com_config_channel_plan( padapter 2782 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c padapter, padapter 2784 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c padapter->registrypriv.channel_plan, padapter 2789 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c Hal_ChannelPlanToRegulation(padapter, padapter->mlmepriv.ChannelPlan); padapter 2791 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c RT_TRACE(_module_hci_hal_init_c_, _drv_notice_, ("EEPROM ChannelPlan = 0x%02x\n", padapter->mlmepriv.ChannelPlan)); padapter 2795 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail padapter 2798 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 2810 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 2818 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail padapter 2821 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 2836 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, u8 *PROMContent, u8 AutoLoadFail padapter 2839 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 3006 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void fill_txdesc_vcs_8723b(struct adapter *padapter, struct pkt_attrib *pattrib, PTXDESC_8723B ptxdesc) padapter 3030 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (padapter->mlmeextpriv.mlmext_info.preamble_mode == PREAMBLE_SHORT) padapter 3035 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ptxdesc->rts_sc = SCMapping_8723B(padapter, pattrib); padapter 3039 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void fill_txdesc_phy_8723b(struct adapter *padapter, struct pkt_attrib *pattrib, PTXDESC_8723B ptxdesc) padapter 3044 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ptxdesc->data_bw = BWMapping_8723B(padapter, pattrib); padapter 3046 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ptxdesc->data_sc = SCMapping_8723B(padapter, pattrib); padapter 3054 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter; padapter 3065 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c padapter = pxmitframe->padapter; padapter 3066 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pHalData = GET_HAL_DATA(padapter); padapter 3068 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pmlmeext = &padapter->mlmeextpriv; padapter 3085 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c fill_txdesc_vcs_8723b(padapter, pattrib, ptxdesc); padapter 3087 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (pattrib->icmp_pkt == 1 && padapter->registrypriv.wifi_spec == 1) padapter 3109 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c fill_txdesc_phy_8723b(padapter, pattrib, ptxdesc); padapter 3122 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (padapter->fix_rate != 0xFF) { /* modify data rate by iwpriv */ padapter 3124 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (padapter->fix_rate & BIT(7)) padapter 3127 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ptxdesc->datarate = (padapter->fix_rate & 0x7F); padapter 3179 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ptxdesc->sw_define = (u8)(GET_PRIMARY_ADAPTER(padapter)->xmitpriv.seq_no); padapter 3248 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct adapter *padapter, padapter 3290 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c EncAlg = padapter->securitypriv.dot11PrivacyAlgrthm; padapter 3317 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void hw_var_set_opmode(struct adapter *padapter, u8 variable, u8 *val) padapter 3324 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_BCN_CTRL); padapter 3326 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, val8); padapter 3329 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c Set_MSR(padapter, mode); padapter 3334 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c StopTxBeacon(padapter); padapter 3337 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_DRVERLYINT, 0x05); /* restore early int time to 5ms */ padapter 3338 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c UpdateInterruptMask8812AU(padapter, true, 0, IMR_BCNDMAINT0_8723B); padapter 3342 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c UpdateInterruptMask8812AU(padapter, true, 0, (IMR_TXBCN0ERR_8723B|IMR_TXBCN0OK_8723B)); padapter 3349 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, DIS_TSF_UDT|EN_BCN_FUNCTION|DIS_ATIM); padapter 3352 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ResumeTxBeacon(padapter); padapter 3353 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, DIS_TSF_UDT|EN_BCN_FUNCTION|DIS_BCNQ_SUB); padapter 3357 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c UpdateInterruptMask8723BU(padapter, true, IMR_BCNDMAINT0_8723B, 0); padapter 3361 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c UpdateInterruptMask8723BU(padapter, true, (IMR_TXBCN0ERR_8723B|IMR_TXBCN0OK_8723B), 0); padapter 3366 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ResumeTxBeacon(padapter); padapter 3368 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, DIS_TSF_UDT|DIS_BCNQ_SUB); padapter 3371 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_RCR, 0x7000208e);/* CBSSID_DATA must set to 0, reject ICV_ERR packet */ padapter 3373 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RXFLTMAP2, 0xFFFF); padapter 3375 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RXFLTMAP1, 0x0400); padapter 3378 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCNDMATIM, 0x02); /* 2ms */ padapter 3381 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_ATIMWND, 0x0a); /* 10ms */ padapter 3382 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_BCNTCFG, 0x00); padapter 3383 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_TBTT_PROHIBIT, 0xff04); padapter 3384 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_TSFTR_SYN_OFFSET, 0x7fff);/* +32767 (~32ms) */ padapter 3387 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_DUAL_TSF_RST, BIT(0)); padapter 3391 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, (DIS_TSF_UDT|EN_BCN_FUNCTION|EN_TXBCN_RPT|DIS_BCNQ_SUB)); padapter 3395 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_hal_set_hwreg(padapter, HW_VAR_DL_BCN_SEL, NULL); padapter 3399 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c padapter, padapter 3401 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c (rtw_read8(padapter, REG_CCK_CHECK_8723B)&~BIT_BCN_PORT_SEL) padapter 3405 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_BCN_CTRL_1); padapter 3407 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL_1, val8); padapter 3412 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void hw_var_set_macaddr(struct adapter *padapter, u8 variable, u8 *val) padapter 3420 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(GET_PRIMARY_ADAPTER(padapter), (reg_macid+idx), val[idx]); padapter 3423 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void hw_var_set_bssid(struct adapter *padapter, u8 variable, u8 *val) padapter 3431 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, (reg_bssid+idx), val[idx]); padapter 3434 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void hw_var_set_bcn_func(struct adapter *padapter, u8 variable, u8 *val) padapter 3441 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, bcn_ctrl_reg, (EN_BCN_FUNCTION | EN_TXBCN_RPT)); padapter 3444 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, bcn_ctrl_reg); padapter 3451 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, bcn_ctrl_reg, val8); padapter 3455 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void hw_var_set_correct_tsf(struct adapter *padapter, u8 variable, u8 *val) padapter 3463 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pmlmeext = &padapter->mlmeextpriv; padapter 3472 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c StopTxBeacon(padapter); padapter 3476 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_BCN_CTRL); padapter 3478 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, val8); padapter 3480 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_TSFTR, tsf); padapter 3481 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_TSFTR+4, tsf>>32); padapter 3484 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_BCN_CTRL); padapter 3486 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, val8); padapter 3493 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ResumeTxBeacon(padapter); padapter 3496 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void hw_var_set_mlme_disconnect(struct adapter *padapter, u8 variable, u8 *val) padapter 3503 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RXFLTMAP2, 0); padapter 3506 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_DUAL_TSF_RST, BIT(0)); padapter 3509 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_BCN_CTRL); padapter 3511 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, val8); padapter 3514 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void hw_var_set_mlme_sitesurvey(struct adapter *padapter, u8 variable, u8 *val) padapter 3523 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pHalData = GET_HAL_DATA(padapter); padapter 3524 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pmlmepriv = &padapter->mlmepriv; padapter 3536 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c value_rcr = rtw_read32(padapter, REG_RCR); padapter 3541 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_RCR, value_rcr); padapter 3543 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RXFLTMAP2, value_rxfltmap2); padapter 3547 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, reg_bcn_ctl); padapter 3549 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, reg_bcn_ctl, val8); padapter 3553 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pHalData->RegRRSR = rtw_read16(padapter, REG_RRSR); padapter 3558 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RXFLTMAP2, 0xFFFF); padapter 3562 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, reg_bcn_ctl); padapter 3564 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, reg_bcn_ctl, val8); padapter 3568 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_RCR, value_rcr); padapter 3571 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RRSR, pHalData->RegRRSR); padapter 3575 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void hw_var_set_mlme_join(struct adapter *padapter, u8 variable, u8 *val) padapter 3588 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pmlmepriv = &padapter->mlmepriv; padapter 3589 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter); padapter 3594 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RXFLTMAP2, 0xFFFF); padapter 3596 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val32 = rtw_read32(padapter, REG_RCR); padapter 3597 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (padapter->in_cta_test) padapter 3601 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_RCR, val32); padapter 3608 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RXFLTMAP2, 0x00); padapter 3611 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_BCN_CTRL); padapter 3613 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, val8); padapter 3620 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RL, val16); padapter 3623 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void CCX_FwC2HTxRpt_8723b(struct adapter *padapter, u8 *pdata, u8 len) padapter 3636 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_ack_tx_done(&padapter->xmitpriv, RTW_SCTX_DONE_CCX_PKT_FAIL); padapter 3645 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_ack_tx_done(&padapter->xmitpriv, RTW_SCTX_DONE_SUCCESS); padapter 3659 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c s32 c2h_handler_8723b(struct adapter *padapter, u8 *buf) padapter 3696 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hal_btcoex_BtInfoNotify(padapter, pC2hEvent->plen, pC2hEvent->payload); padapter 3711 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c static void process_c2h_event(struct adapter *padapter, PC2H_EVT_HDR pC2hEvent, u8 *c2hBuf) padapter 3745 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hal_btcoex_BtInfoNotify(padapter, pC2hEvent->CmdLen, c2hBuf); padapter 3753 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void C2HPacketHandler_8723B(struct adapter *padapter, u8 *pbuffer, u16 length) padapter 3758 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 3774 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c process_c2h_event(padapter, &C2hEvent, tmpBuf); padapter 3779 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void SetHwReg8723B(struct adapter *padapter, u8 variable, u8 *val) padapter 3781 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 3787 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, MSR) & 0x0c; padapter 3789 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, MSR, val8); padapter 3793 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, MSR) & 0x03; padapter 3795 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, MSR, val8); padapter 3799 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hw_var_set_opmode(padapter, variable, val); padapter 3803 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hw_var_set_macaddr(padapter, variable, val); padapter 3807 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hw_var_set_bssid(padapter, variable, val); padapter 3812 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct mlme_ext_info *mlmext_info = &padapter->mlmeextpriv.mlmext_info; padapter 3817 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c HalSetBrateCfg(padapter, val, &BrateCfg); padapter 3843 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RRSR, BrateCfg); padapter 3844 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_RRSR+2, rtw_read8(padapter, REG_RRSR+2)&0xf0); padapter 3849 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_TXPAUSE, *val); padapter 3853 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hw_var_set_bcn_func(padapter, variable, val); padapter 3857 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hw_var_set_correct_tsf(padapter, variable, val); padapter 3863 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val32 = rtw_read32(padapter, REG_RCR); padapter 3868 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_RCR, val32); padapter 3873 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hw_var_set_mlme_disconnect(padapter, variable, val); padapter 3877 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hw_var_set_mlme_sitesurvey(padapter, variable, val); padapter 3879 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hal_btcoex_ScanNotify(padapter, *val?true:false); padapter 3883 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hw_var_set_mlme_join(padapter, variable, val); padapter 3888 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hal_btcoex_ConnectNotify(padapter, true); padapter 3892 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c hal_btcoex_ConnectNotify(padapter, false); padapter 3902 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val32 = rtw_read32(padapter, REG_RCR); padapter 3904 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_RCR, val32); padapter 3905 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c DBG_8192C("%s, %d, RCR = %x\n", __func__, __LINE__, rtw_read32(padapter, REG_RCR)); padapter 3909 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val32 = rtw_read32(padapter, REG_RCR); padapter 3911 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_RCR, val32); padapter 3912 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c DBG_8192C("%s, %d, RCR = %x\n", __func__, __LINE__, rtw_read32(padapter, REG_RCR)); padapter 3916 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_BCN_INTERVAL, *((u16 *)val)); padapter 3920 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_SLOT, *val); padapter 3926 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_RESP_SIFS_CCK, val[0]); /* SIFS_T2T_CCK (0x08) */ padapter 3927 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_RESP_SIFS_CCK+1, val[1]); /* SIFS_R2T_CCK(0x08) */ padapter 3929 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_RESP_SIFS_OFDM, val[2]); /* SIFS_T2T_OFDM (0x0a) */ padapter 3930 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_RESP_SIFS_OFDM+1, val[3]); /* SIFS_R2T_OFDM(0x0a) */ padapter 3943 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_RRSR+2, regTmp); padapter 3967 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, WCAMI, ulContent); /* mdelay(40); */ padapter 3969 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, RWCAM, ulCommand); /* mdelay(40); */ padapter 3976 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, RWCAM, BIT(31)|BIT(30)); padapter 3984 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, WCAMI, cam_val[0]); padapter 3987 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, RWCAM, cmd); padapter 3992 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_EDCA_VO_PARAM, *((u32 *)val)); padapter 3996 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_EDCA_VI_PARAM, *((u32 *)val)); padapter 4001 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_EDCA_BE_PARAM, *((u32 *)val)); padapter 4005 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_EDCA_BK_PARAM, *((u32 *)val)); padapter 4027 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_ACMHWCTRL, hwctrl); padapter 4040 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_AMPDU_MAX_LENGTH_8723B, AMPDULen); padapter 4059 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtl8723b_set_FwPwrMode_cmd(padapter, psmode); padapter 4063 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtl8723b_set_FwPsTuneParam_cmd(padapter); padapter 4067 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtl8723b_set_FwJoinBssRpt_cmd(padapter, *val); padapter 4111 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 4115 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_TXPAUSE, 0xff); padapter 4118 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c padapter->xmitpriv.nqos_ssn = rtw_read16(padapter, REG_NQOS_SEQ); padapter 4122 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val32 = rtw_read32(padapter, REG_RXPKT_NUM); padapter 4124 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_RXPKT_NUM, val32); padapter 4126 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val32 = rtw_read32(padapter, REG_RXPKT_NUM); padapter 4139 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RQPN_NPQ, 0); padapter 4140 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_RQPN, 0x80000000); padapter 4163 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_NAV_UPPER, (u8)usNavUpper); padapter 4174 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtl8723b_set_FwMediaStatusRpt_cmd(padapter, mstatus, macId); padapter 4180 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_TDECTRL+2); padapter 4182 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_TDECTRL+2, val8); padapter 4189 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_DWBCN1_CTRL_8723B+2); padapter 4191 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_DWBCN1_CTRL_8723B+2, val8); padapter 4200 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == true) padapter 4201 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtl8723b_download_BTCoex_AP_mode_rsvd_page(padapter); padapter 4203 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtl8723b_download_rsvd_page(padapter, RT_MEDIA_CONNECT); padapter 4211 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c FUNC_ADPT_ARG(padapter), val32); padapter 4216 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val32 = rtw_read32(padapter, REG_MACID_SLEEP); padapter 4218 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c FUNC_ADPT_ARG(padapter), val8, val32); padapter 4222 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_MACID_SLEEP, val32); padapter 4230 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c FUNC_ADPT_ARG(padapter), val32); padapter 4235 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val32 = rtw_read32(padapter, REG_MACID_SLEEP); padapter 4237 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c FUNC_ADPT_ARG(padapter), val8, val32); padapter 4241 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_MACID_SLEEP, val32); padapter 4245 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c SetHwReg(padapter, variable, val); padapter 4250 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void GetHwReg8723B(struct adapter *padapter, u8 variable, u8 *val) padapter 4252 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 4258 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c *val = rtw_read8(padapter, REG_TXPAUSE); padapter 4264 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_TDECTRL+2); padapter 4275 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c padapter->bSurpriseRemoved || padapter 4276 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c (adapter_to_pwrctl(padapter)->rf_pwrstate == rf_off) padapter 4282 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c valRCR = rtw_read32(padapter, REG_RCR); padapter 4318 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val16 = rtw_read16(padapter, REG_TXPKT_EMPTY); padapter 4323 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c *val = rtw_read8(padapter, SDIO_LOCAL_BASE|SDIO_REG_HRPWM1) & BIT7; padapter 4326 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c *val = rtw_read8(padapter, REG_WOWLAN_WAKE_REASON); padapter 4331 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c *val = rtw_read8(padapter, REG_SYS_CLKR); padapter 4335 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c GetHwReg(padapter, variable, val); padapter 4344 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 SetHalDefVar8723B(struct adapter *padapter, enum HAL_DEF_VARIABLE variable, void *pval) padapter 4352 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c bResult = SetHalDefVar(padapter, variable, pval); padapter 4363 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 GetHalDefVar8723B(struct adapter *padapter, enum HAL_DEF_VARIABLE variable, void *pval) padapter 4410 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_HMEBOX_DBG_2_8723B, cmd); padapter 4412 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ra_info1 = rtw_read32(padapter, 0x2F0); padapter 4422 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write32(padapter, REG_HMEBOX_DBG_2_8723B, cmd); padapter 4424 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ra_info1 = rtw_read32(padapter, 0x2F0); padapter 4425 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ra_info2 = rtw_read32(padapter, 0x2F4); padapter 4426 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rate_mask1 = rtw_read32(padapter, 0x2F8); padapter 4427 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rate_mask2 = rtw_read32(padapter, 0x2FC); padapter 4451 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (!padapter->registrypriv.wifi_spec) { padapter 4463 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c bResult = GetHalDefVar(padapter, variable, pval); padapter 4471 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void Hal_DetectWoWMode(struct adapter *padapter) padapter 4473 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c adapter_to_pwrctl(padapter)->bSupportRemoteWakeup = true; padapter 4478 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void rtl8723b_start_thread(struct adapter *padapter) padapter 4481 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct xmit_priv *xmitpriv = &padapter->xmitpriv; padapter 4483 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c xmitpriv->SdioXmitThread = kthread_run(rtl8723bs_xmit_thread, padapter, "RTWHALXT"); padapter 4490 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c void rtl8723b_stop_thread(struct adapter *padapter) padapter 4493 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c struct xmit_priv *xmitpriv = &padapter->xmitpriv; padapter 670 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c struct adapter *padapter, padapter 677 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 683 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c txPower = (s8) PHY_GetTxPowerIndexBase(padapter, RFPath, Rate, BandWidth, Channel, &bIn24G); padapter 684 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c powerDiffByRate = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, ODM_RF_PATH_A, RF_1TX, Rate); padapter 687 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c padapter, padapter 688 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c padapter->registrypriv.RegPwrTblSel, padapter 699 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c txPower += PHY_GetTxPowerTrackingOffset(padapter, RFPath, Rate); padapter 883 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c static void phy_SwChnl8723B(struct adapter *padapter) padapter 885 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 893 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c PHY_SetRFReg(padapter, ODM_RF_PATH_A, RF_CHNLBW, 0x3FF, pHalData->RfRegChnlVal[0]); padapter 894 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c PHY_SetRFReg(padapter, ODM_RF_PATH_B, RF_CHNLBW, 0x3FF, pHalData->RfRegChnlVal[0]); padapter 11 drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c static void process_rssi(struct adapter *padapter, union recv_frame *prframe) padapter 14 drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c struct signal_stat *signal_stat = &padapter->recvpriv.signal_strength_data; padapter 32 drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c static void process_link_qual(struct adapter *padapter, union recv_frame *prframe) padapter 37 drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c if (!prframe || !padapter) padapter 41 drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c signal_stat = &padapter->recvpriv.signal_qual_data; padapter 57 drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c void rtl8723b_process_phy_info(struct adapter *padapter, void *prframe) padapter 63 drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c process_rssi(padapter, precvframe); padapter 73 drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c process_link_qual(padapter, precvframe); padapter 75 drivers/staging/rtl8723bs/hal/rtl8723b_rxdesc.c rtw_store_phy_info(padapter, prframe); padapter 13 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c static void initrecvbuf(struct recv_buf *precvbuf, struct adapter *padapter) padapter 18 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvbuf->adapter = padapter; padapter 21 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c static void update_recvframe_attrib(struct adapter *padapter, padapter 80 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c struct adapter *padapter = precvframe->u.hdr.adapter; padapter 82 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c struct hal_com_data *p_hal_data = GET_HAL_DATA(padapter); padapter 106 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c my_bssid = get_bssid(&padapter->mlmepriv); padapter 113 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c my_hwaddr = myid(&padapter->eeprompriv); padapter 125 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c pstapriv = &padapter->stapriv; padapter 144 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == true) padapter 148 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c rtl8723b_process_phy_info(padapter, precvframe); padapter 152 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c if (check_fwstate(&padapter->mlmepriv, adhoc_state)) padapter 155 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c rtl8723b_process_phy_info(padapter, precvframe); padapter 159 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c static void rtl8723bs_c2h_packet_handler(struct adapter *padapter, padapter 176 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c res = rtw_c2h_packet_wk_cmd(padapter, tmp, length); padapter 237 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c struct adapter *padapter; padapter 249 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c padapter = priv; padapter 250 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c p_hal_data = GET_HAL_DATA(padapter); padapter 251 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvpriv = &padapter->recvpriv; padapter 267 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c update_recvframe_attrib(padapter, precvframe, padapter 318 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c pkt_copy->dev = padapter->pnetdev; padapter 384 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c CCX_FwC2HTxRpt_8723b(padapter, pdata_c2h, C2hEvent.CmdLen); padapter 386 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c rtl8723bs_c2h_packet_handler(padapter, precvframe->u.hdr.rx_data, pattrib->pkt_len); padapter 409 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c s32 rtl8723bs_init_recv_priv(struct adapter *padapter) padapter 417 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvpriv = &padapter->recvpriv; padapter 436 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c initrecvbuf(precvbuf, padapter); padapter 445 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvbuf->pskb->dev = padapter->pnetdev; padapter 470 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c (unsigned long)padapter padapter 482 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c rtw_os_recvbuf_resource_free(padapter, precvbuf); padapter 503 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c void rtl8723bs_free_recv_priv(struct adapter *padapter) padapter 509 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c precvpriv = &padapter->recvpriv; padapter 520 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c rtw_os_recvbuf_resource_free(padapter, precvbuf); padapter 13 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c static u8 rtw_sdio_wait_enough_TxOQT_space(struct adapter *padapter, u8 agg_num) padapter 16 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 20 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c (padapter->bSurpriseRemoved) || padapter 21 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c (padapter->bDriverStopped) padapter 27 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c HalQueryTxOQTBufferStatus8723BSdio(padapter); padapter 47 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c static s32 rtl8723_dequeue_writeport(struct adapter *padapter) padapter 49 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 50 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 51 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter); padapter 53 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct adapter *pri_padapter = padapter; padapter 91 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c HalQueryTxBufferStatus8723BSdio(padapter); padapter 102 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c (padapter->bSurpriseRemoved) || padapter 103 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c (padapter->bDriverStopped) padapter 113 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c if (rtw_sdio_wait_enough_TxOQT_space(padapter, pxmitbuf->agg_num) == false) padapter 116 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c traffic_check_for_leave_lps(padapter, true, pxmitbuf->agg_num); padapter 118 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_write_port(padapter, deviceId, pxmitbuf->len, (u8 *)pxmitbuf); padapter 142 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c s32 rtl8723bs_xmit_buf_handler(struct adapter *padapter) padapter 149 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv = &padapter->xmitpriv; padapter 156 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c ret = (padapter->bDriverStopped) || (padapter->bSurpriseRemoved); padapter 164 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c padapter->bDriverStopped, padapter 165 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c padapter->bSurpriseRemoved padapter 176 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c ret = rtw_register_tx_alive(padapter); padapter 182 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c queue_empty = rtl8723_dequeue_writeport(padapter); padapter 186 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_unregister_tx_alive(padapter); padapter 200 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c static s32 xmit_xmitframes(struct adapter *padapter, struct xmit_priv *pxmitpriv) padapter 223 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c if (padapter->registrypriv.wifi_spec == 1) { padapter 239 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c (padapter->mlmepriv.LinkDetectInfo.bHigherBusyTxTraffic) padapter 247 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c max_xmit_len = rtw_hal_get_sdio_tx_max_length(padapter, inx[idx]); padapter 287 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c (k >= (rtw_hal_sdio_max_txoqt_free_space(padapter) - 1)) padapter 320 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c if (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == true) { padapter 347 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c ret = rtw_xmitframe_coalesce(padapter, pxmitframe->pkt, pxmitframe); padapter 355 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_count_tx_stats(padapter, pxmitframe, pxmitframe->attrib.last_txcmdsz); padapter 413 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c static s32 rtl8723bs_xmit_handler(struct adapter *padapter) padapter 419 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv = &padapter->xmitpriv; padapter 428 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c (padapter->bDriverStopped) || padapter 429 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c (padapter->bSurpriseRemoved) padapter 437 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c padapter->bDriverStopped, padapter 438 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c padapter->bSurpriseRemoved padapter 445 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c ret = rtw_txframes_pending(padapter); padapter 453 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c ret = xmit_xmitframes(padapter, pxmitpriv); padapter 457 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c if (padapter->registrypriv.wifi_spec) padapter 465 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c ret = rtw_txframes_pending(padapter); padapter 477 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct adapter *padapter; padapter 482 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c padapter = context; padapter 483 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv = &padapter->xmitpriv; padapter 485 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_sprintf(thread_name, 20, "RTWHALXT-" ADPT_FMT, ADPT_ARG(padapter)); padapter 488 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c DBG_871X("start "FUNC_ADPT_FMT"\n", FUNC_ADPT_ARG(padapter)); padapter 491 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c ret = rtl8723bs_xmit_handler(padapter); padapter 505 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct adapter *padapter, struct xmit_frame *pmgntframe padapter 511 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 512 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter); padapter 528 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_count_tx_stats(padapter, pmgntframe, pattrib->last_txcmdsz); padapter 535 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c ret = rtw_write_port(padapter, pdvobjpriv->Queue2Pipe[pxmitbuf->ff_hwaddr], pxmitbuf->len, (u8 *)pxmitbuf); padapter 555 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct adapter *padapter, struct xmit_frame *pxmitframe padapter 563 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv = &padapter->xmitpriv; padapter 571 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c if (padapter->mlmepriv.LinkDetectInfo.bBusyTraffic) padapter 572 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_issue_addbareq_cmd(padapter, pxmitframe); padapter 576 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c err = rtw_xmitframe_enqueue(padapter, pxmitframe); padapter 592 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct adapter *padapter, struct xmit_frame *pxmitframe padapter 595 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 598 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c err = rtw_xmitframe_enqueue(padapter, pxmitframe); padapter 621 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c s32 rtl8723bs_init_xmit_priv(struct adapter *padapter) padapter 623 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct xmit_priv *xmitpriv = &padapter->xmitpriv; padapter 627 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c phal = GET_HAL_DATA(padapter); padapter 636 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c void rtl8723bs_free_xmit_priv(struct adapter *padapter) padapter 645 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv = &padapter->xmitpriv; padapter 22 drivers/staging/rtl8723bs/hal/sdio_halinit.c static u8 CardEnable(struct adapter *padapter) padapter 28 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_hal_get_hwreg(padapter, HW_VAR_APFM_ON_MAC, &bMacPwrCtrlOn); padapter 32 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_RSV_CTRL, 0x0); padapter 34 drivers/staging/rtl8723bs/hal/sdio_halinit.c ret = HalPwrSeqCmdParsing(padapter, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_SDIO_MSK, rtl8723B_card_enable_flow); padapter 37 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_hal_set_hwreg(padapter, HW_VAR_APFM_ON_MAC, &bMacPwrCtrlOn); padapter 62 drivers/staging/rtl8723bs/hal/sdio_halinit.c void HalSetOutPutGPIO(struct adapter *padapter, u8 index, u8 OutPutValue) padapter 66 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL + 3, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 3) & ~BIT(index)); padapter 71 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL + 2, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 2) | BIT(index)); padapter 75 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL + 1, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 1) | BIT(index)); padapter 77 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL + 1, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 1) & ~BIT(index)); padapter 86 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL_2 + 3, rtw_read8(padapter, REG_GPIO_PIN_CTRL_2 + 3) & ~BIT(index)); padapter 91 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL_2 + 2, rtw_read8(padapter, REG_GPIO_PIN_CTRL_2 + 2) | BIT(index)); padapter 95 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL_2 + 1, rtw_read8(padapter, REG_GPIO_PIN_CTRL_2 + 1) | BIT(index)); padapter 97 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL_2 + 1, rtw_read8(padapter, REG_GPIO_PIN_CTRL_2 + 1) & ~BIT(index)); padapter 103 drivers/staging/rtl8723bs/hal/sdio_halinit.c u8 _InitPowerOn_8723BS(struct adapter *padapter) padapter 115 drivers/staging/rtl8723bs/hal/sdio_halinit.c value8 = rtw_read8(padapter, REG_PAD_CTRL1_8723B + 2); padapter 117 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_PAD_CTRL1_8723B + 2, value8); padapter 123 drivers/staging/rtl8723bs/hal/sdio_halinit.c value8 = rtw_read8(padapter, REG_MULTI_FUNC_CTRL + 1); padapter 125 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_MULTI_FUNC_CTRL + 1, value8); padapter 129 drivers/staging/rtl8723bs/hal/sdio_halinit.c ret = CardEnable(padapter); padapter 140 drivers/staging/rtl8723bs/hal/sdio_halinit.c value8 = rtw_read8(padapter, REG_GPIO_INTM + 1); padapter 142 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_INTM + 1, value8); padapter 143 drivers/staging/rtl8723bs/hal/sdio_halinit.c value8 = rtw_read8(padapter, REG_GPIO_IO_SEL_2 + 1); padapter 145 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_IO_SEL_2 + 1, value8); padapter 148 drivers/staging/rtl8723bs/hal/sdio_halinit.c value16 = rtw_read16(padapter, REG_APS_FSMCO); padapter 150 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_APS_FSMCO, value16); padapter 156 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_CR, 0x00); padapter 158 drivers/staging/rtl8723bs/hal/sdio_halinit.c value16 = rtw_read16(padapter, REG_CR); padapter 169 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_CR, value16); padapter 171 drivers/staging/rtl8723bs/hal/sdio_halinit.c hal_btcoex_PowerOnSetting(padapter); padapter 177 drivers/staging/rtl8723bs/hal/sdio_halinit.c value16 = rtw_read16(padapter, REG_PWR_DATA); padapter 180 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_PWR_DATA, value16); padapter 183 drivers/staging/rtl8723bs/hal/sdio_halinit.c value32 = rtw_read32(padapter, REG_LEDCFG0); padapter 185 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_LEDCFG0, value32); padapter 188 drivers/staging/rtl8723bs/hal/sdio_halinit.c value8 = rtw_read8(padapter, REG_PAD_CTRL1_8723B); padapter 190 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_PAD_CTRL1_8723B, value8); padapter 194 drivers/staging/rtl8723bs/hal/sdio_halinit.c HostWakeUpGpioClear(padapter); padapter 201 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _init_available_page_threshold(struct adapter *padapter, u8 numHQ, u8 numNQ, u8 numLQ, u8 numPubQ) padapter 214 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, 0x218, HQ_threshold); padapter 215 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, 0x21A, NQ_threshold); padapter 216 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, 0x21C, LQ_threshold); padapter 220 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _InitQueueReservedPage(struct adapter *padapter) padapter 222 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 223 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 245 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_RQPN_NPQ, value8); padapter 249 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_RQPN, value32); padapter 251 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_hal_set_sdio_tx_max_length(padapter, numHQ, numNQ, numLQ, numPubQ); padapter 253 drivers/staging/rtl8723bs/hal/sdio_halinit.c _init_available_page_threshold(padapter, numHQ, numNQ, numLQ, numPubQ); padapter 256 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _InitTxBufferBoundary(struct adapter *padapter) padapter 258 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 270 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_TXPKTBUF_BCNQ_BDNY_8723B, txpktbuf_bndy); padapter 271 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_TXPKTBUF_MGQ_BDNY_8723B, txpktbuf_bndy); padapter 272 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_TXPKTBUF_WMAC_LBK_BF_HD_8723B, txpktbuf_bndy); padapter 273 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_TRXFF_BNDY, txpktbuf_bndy); padapter 274 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_TDECTRL + 1, txpktbuf_bndy); padapter 375 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _InitNormalChipThreeOutEpPriority(struct adapter *padapter) padapter 377 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 397 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitNormalChipRegPriority(padapter, beQ, bkQ, viQ, voQ, mgtQ, hiQ); padapter 422 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _InitPageBoundary(struct adapter *padapter) padapter 427 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, (REG_TRXFF_BNDY + 2), rxff_bndy); padapter 430 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _InitTransferPageSize(struct adapter *padapter) padapter 436 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_PBP, value8); padapter 439 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _InitDriverInfoSize(struct adapter *padapter, u8 drvInfoSize) padapter 441 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_RX_DRVINFO_SZ, drvInfoSize); padapter 444 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _InitNetworkType(struct adapter *padapter) padapter 448 drivers/staging/rtl8723bs/hal/sdio_halinit.c value32 = rtw_read32(padapter, REG_CR); padapter 454 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_CR, value32); padapter 457 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _InitWMACSetting(struct adapter *padapter) padapter 463 drivers/staging/rtl8723bs/hal/sdio_halinit.c pHalData = GET_HAL_DATA(padapter); padapter 470 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_RCR, pHalData->ReceiveConfig); padapter 473 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_MAR, 0xFFFFFFFF); padapter 474 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_MAR + 4, 0xFFFFFFFF); padapter 478 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_RXFLTMAP2, value16); padapter 484 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_RXFLTMAP1, value16); padapter 488 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_RXFLTMAP0, value16); padapter 491 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _InitAdaptiveCtrl(struct adapter *padapter) padapter 497 drivers/staging/rtl8723bs/hal/sdio_halinit.c value32 = rtw_read32(padapter, REG_RRSR); padapter 500 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_RRSR, value32); padapter 507 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_SPEC_SIFS, value16); padapter 511 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_RL, value16); padapter 514 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _InitEDCA(struct adapter *padapter) padapter 517 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_SPEC_SIFS, 0x100a); padapter 518 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_MAC_SPEC_SIFS, 0x100a); padapter 521 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_SIFS_CTX, 0x100a); padapter 524 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_SIFS_TRX, 0x100a); padapter 527 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_EDCA_BE_PARAM, 0x005EA42B); padapter 528 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_EDCA_BK_PARAM, 0x0000A44F); padapter 529 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_EDCA_VI_PARAM, 0x005EA324); padapter 530 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_EDCA_VO_PARAM, 0x002FA226); padapter 533 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _InitRetryFunction(struct adapter *padapter) padapter 537 drivers/staging/rtl8723bs/hal/sdio_halinit.c value8 = rtw_read8(padapter, REG_FWHW_TXQ_CTRL); padapter 539 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_FWHW_TXQ_CTRL, value8); padapter 542 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_ACKTO, 0x40); padapter 545 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void HalRxAggr8723BSdio(struct adapter *padapter) padapter 552 drivers/staging/rtl8723bs/hal/sdio_halinit.c pregistrypriv = &padapter->registrypriv; padapter 567 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_RXDMA_AGG_PG_TH + 1, valueDMATimeout); padapter 568 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_RXDMA_AGG_PG_TH, valueDMAPageCount); padapter 571 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void sdio_AggSettingRxUpdate(struct adapter *padapter) padapter 579 drivers/staging/rtl8723bs/hal/sdio_halinit.c pHalData = GET_HAL_DATA(padapter); padapter 581 drivers/staging/rtl8723bs/hal/sdio_halinit.c valueDMA = rtw_read8(padapter, REG_TRXDMA_CTRL); padapter 583 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_TRXDMA_CTRL, valueDMA); padapter 588 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_RXDMA_MODE_CTRL_8723B, valueRxAggCtrl);/* RxAggLowThresh = 4*1K */ padapter 591 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _initSdioAggregationSetting(struct adapter *padapter) padapter 593 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 599 drivers/staging/rtl8723bs/hal/sdio_halinit.c HalRxAggr8723BSdio(padapter); padapter 601 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_AggSettingRxUpdate(padapter); padapter 607 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _InitOperationMode(struct adapter *padapter) padapter 612 drivers/staging/rtl8723bs/hal/sdio_halinit.c pmlmeext = &padapter->mlmeextpriv; padapter 645 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_BWOPMODE, regBwOpMode); padapter 649 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _InitInterrupt(struct adapter *padapter) padapter 652 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_HISR, 0); padapter 655 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_HIMR, 0); padapter 660 drivers/staging/rtl8723bs/hal/sdio_halinit.c InitInterrupt8723BSdio(padapter); padapter 665 drivers/staging/rtl8723bs/hal/sdio_halinit.c InitSysInterrupt8723BSdio(padapter); padapter 668 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _InitRFType(struct adapter *padapter) padapter 670 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 683 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _RfPowerSave(struct adapter *padapter) padapter 711 drivers/staging/rtl8723bs/hal/sdio_halinit.c static u32 rtl8723bs_hal_init(struct adapter *padapter) padapter 720 drivers/staging/rtl8723bs/hal/sdio_halinit.c pHalData = GET_HAL_DATA(padapter); padapter 721 drivers/staging/rtl8723bs/hal/sdio_halinit.c pwrctrlpriv = adapter_to_pwrctl(padapter); padapter 722 drivers/staging/rtl8723bs/hal/sdio_halinit.c pregistrypriv = &padapter->registrypriv; padapter 725 drivers/staging/rtl8723bs/hal/sdio_halinit.c adapter_to_pwrctl(padapter)->bips_processing == true && padapter 726 drivers/staging/rtl8723bs/hal/sdio_halinit.c adapter_to_pwrctl(padapter)->pre_ips_type == 0 padapter 736 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_hal_get_hwreg(padapter, HW_VAR_CPWM, &cpwm_orig); padapter 739 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 = rtw_read8(padapter, SDIO_LOCAL_BASE | SDIO_REG_HRPWM1); padapter 743 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, SDIO_LOCAL_BASE | SDIO_REG_HRPWM1, val8); padapter 745 drivers/staging/rtl8723bs/hal/sdio_halinit.c adapter_to_pwrctl(padapter)->tog = (val8 + 0x80) & 0x80; padapter 753 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_hal_get_hwreg(padapter, HW_VAR_CPWM, &cpwm_now); padapter 763 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_set_FwPwrModeInIPS_cmd(padapter, 0); padapter 765 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_hal_set_hwreg(padapter, HW_VAR_APFM_ON_MAC, &bMacPwrCtrlOn); padapter 767 drivers/staging/rtl8723bs/hal/sdio_halinit.c hal_btcoex_InitHwConfig(padapter, false); padapter 773 drivers/staging/rtl8723bs/hal/sdio_halinit.c if (rtw_read8(padapter, REG_MCUFWDL) & BIT7) { padapter 776 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_MCUFWDL, 0x00); padapter 777 drivers/staging/rtl8723bs/hal/sdio_halinit.c _8051Reset8723(padapter); padapter 779 drivers/staging/rtl8723bs/hal/sdio_halinit.c reg_val = rtw_read8(padapter, REG_SYS_FUNC_EN); padapter 781 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_SYS_FUNC_EN, reg_val); padapter 783 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_RF_CTRL, 0); padapter 785 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_CR, 0); padapter 787 drivers/staging/rtl8723bs/hal/sdio_halinit.c reg_val = rtw_read8(padapter, REG_SYS_FUNC_EN + 1); padapter 789 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_SYS_FUNC_EN + 1, reg_val); padapter 790 drivers/staging/rtl8723bs/hal/sdio_halinit.c reg_val = rtw_read8(padapter, REG_SYS_FUNC_EN + 1); padapter 792 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_SYS_FUNC_EN + 1, reg_val); padapter 799 drivers/staging/rtl8723bs/hal/sdio_halinit.c ret = _InitPowerOn_8723BS(padapter); padapter 805 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_EARLY_MODE_CONTROL, 0); padapter 807 drivers/staging/rtl8723bs/hal/sdio_halinit.c ret = rtl8723b_FirmwareDownload(padapter, false); padapter 810 drivers/staging/rtl8723bs/hal/sdio_halinit.c padapter->bFWReady = false; padapter 815 drivers/staging/rtl8723bs/hal/sdio_halinit.c padapter->bFWReady = true; padapter 819 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_InitializeFirmwareVars(padapter); padapter 828 drivers/staging/rtl8723bs/hal/sdio_halinit.c HalDetectPwrDownMode(padapter); padapter 831 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitRFType(padapter); padapter 838 drivers/staging/rtl8723bs/hal/sdio_halinit.c ret = PHY_MACConfig8723B(padapter); padapter 848 drivers/staging/rtl8723bs/hal/sdio_halinit.c ret = PHY_BBConfig8723B(padapter); padapter 860 drivers/staging/rtl8723bs/hal/sdio_halinit.c ret = PHY_RFConfig8723B(padapter); padapter 872 drivers/staging/rtl8723bs/hal/sdio_halinit.c PHY_QueryRFReg(padapter, (enum RF_PATH)0, RF_CHNLBW, bRFRegOffsetMask); padapter 874 drivers/staging/rtl8723bs/hal/sdio_halinit.c PHY_QueryRFReg(padapter, (enum RF_PATH)1, RF_CHNLBW, bRFRegOffsetMask); padapter 878 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitQueueReservedPage(padapter); padapter 879 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitTxBufferBoundary(padapter); padapter 882 drivers/staging/rtl8723bs/hal/sdio_halinit.c ret = rtl8723b_InitLLTTable(padapter); padapter 888 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitQueuePriority(padapter); padapter 889 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitPageBoundary(padapter); padapter 890 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitTransferPageSize(padapter); padapter 893 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitDriverInfoSize(padapter, DRVINFO_SZ); padapter 894 drivers/staging/rtl8723bs/hal/sdio_halinit.c hal_init_macaddr(padapter); padapter 895 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitNetworkType(padapter); padapter 896 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitWMACSetting(padapter); padapter 897 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitAdaptiveCtrl(padapter); padapter 898 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitEDCA(padapter); padapter 899 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitRetryFunction(padapter); padapter 900 drivers/staging/rtl8723bs/hal/sdio_halinit.c _initSdioAggregationSetting(padapter); padapter 901 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitOperationMode(padapter); padapter 902 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_InitBeaconParameters(padapter); padapter 903 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitInterrupt(padapter); padapter 904 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitBurstPktLen_8723BS(padapter); padapter 907 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_SECONDARY_CCA_CTRL_8723B, 0x3); /* CCA */ padapter 908 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, 0x976, 0); /* hpfan_todo: 2nd CCA related */ padapter 910 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_PKT_VO_VI_LIFE_TIME, 0x0400); /* unit: 256us. 256ms */ padapter 911 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_PKT_BE_BK_LIFE_TIME, 0x0400); /* unit: 256us. 256ms */ padapter 913 drivers/staging/rtl8723bs/hal/sdio_halinit.c invalidate_cam_all(padapter); padapter 915 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_hal_set_chnl_bw(padapter, padapter->registrypriv.channel, padapter 923 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_InitAntenna_Selection(padapter); padapter 929 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_BAR_MODE_CTRL, 0x0201ffff); padapter 933 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_HWSEQ_CTRL, 0xFF); padapter 940 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, SDIO_LOCAL_BASE | SDIO_REG_TX_CTRL, 0); padapter 942 drivers/staging/rtl8723bs/hal/sdio_halinit.c _RfPowerSave(padapter); padapter 945 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_InitHalDm(padapter); padapter 952 drivers/staging/rtl8723bs/hal/sdio_halinit.c HalQueryTxBufferStatus8723BSdio(padapter); padapter 953 drivers/staging/rtl8723bs/hal/sdio_halinit.c HalQueryTxOQTBufferStatus8723BSdio(padapter); padapter 957 drivers/staging/rtl8723bs/hal/sdio_halinit.c u1bTmp = rtw_read8(padapter, REG_CR); padapter 959 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_CR, u1bTmp); padapter 961 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_hal_set_hwreg(padapter, HW_VAR_NAV_UPPER, (u8 *)&NavUpper); padapter 964 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_FWHW_TXQ_CTRL, rtw_read32(padapter, REG_FWHW_TXQ_CTRL) | BIT(12)); padapter 978 drivers/staging/rtl8723bs/hal/sdio_halinit.c pwrpriv = adapter_to_pwrctl(padapter); padapter 984 drivers/staging/rtl8723bs/hal/sdio_halinit.c FillH2CCmd8723B(padapter, H2C_8723B_BT_WLAN_CALIBRATION, 1, &h2cCmdBuf); padapter 988 drivers/staging/rtl8723bs/hal/sdio_halinit.c if (rtw_read8(padapter, 0x1e7) & 0x01) padapter 994 drivers/staging/rtl8723bs/hal/sdio_halinit.c hal_btcoex_IQKNotify(padapter, true); padapter 998 drivers/staging/rtl8723bs/hal/sdio_halinit.c PHY_IQCalibrate_8723B(padapter, false, restore_iqk_rst, b2Ant, pHalData->ant_path); padapter 1001 drivers/staging/rtl8723bs/hal/sdio_halinit.c hal_btcoex_IQKNotify(padapter, false); padapter 1005 drivers/staging/rtl8723bs/hal/sdio_halinit.c FillH2CCmd8723B(padapter, H2C_8723B_BT_WLAN_CALIBRATION, 1, &h2cCmdBuf); padapter 1012 drivers/staging/rtl8723bs/hal/sdio_halinit.c hal_btcoex_InitHwConfig(padapter, false); padapter 1025 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void CardDisableRTL8723BSdio(struct adapter *padapter) padapter 1032 drivers/staging/rtl8723bs/hal/sdio_halinit.c ret = HalPwrSeqCmdParsing(padapter, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_SDIO_MSK, rtl8723B_enter_lps_flow); padapter 1039 drivers/staging/rtl8723bs/hal/sdio_halinit.c u1bTmp = rtw_read8(padapter, REG_MCUFWDL); padapter 1040 drivers/staging/rtl8723bs/hal/sdio_halinit.c if ((u1bTmp & RAM_DL_SEL) && padapter->bFWReady) /* 8051 RAM code */ padapter 1041 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_FirmwareSelfReset(padapter); padapter 1044 drivers/staging/rtl8723bs/hal/sdio_halinit.c u1bTmp = rtw_read8(padapter, REG_SYS_FUNC_EN + 1); padapter 1046 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_SYS_FUNC_EN + 1, u1bTmp); padapter 1050 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_MCUFWDL, 0); padapter 1053 drivers/staging/rtl8723bs/hal/sdio_halinit.c u1bTmp = rtw_read8(padapter, REG_RSV_CTRL + 1); padapter 1055 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_RSV_CTRL + 1, u1bTmp); padapter 1056 drivers/staging/rtl8723bs/hal/sdio_halinit.c u1bTmp = rtw_read8(padapter, REG_RSV_CTRL + 1); padapter 1058 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_RSV_CTRL+1, u1bTmp); padapter 1064 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_hal_set_hwreg(padapter, HW_VAR_APFM_ON_MAC, &bMacPwrCtrlOn); padapter 1065 drivers/staging/rtl8723bs/hal/sdio_halinit.c ret = HalPwrSeqCmdParsing(padapter, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_SDIO_MSK, rtl8723B_card_disable_flow); padapter 1071 drivers/staging/rtl8723bs/hal/sdio_halinit.c static u32 rtl8723bs_hal_deinit(struct adapter *padapter) padapter 1073 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct dvobj_priv *psdpriv = padapter->dvobj; padapter 1076 drivers/staging/rtl8723bs/hal/sdio_halinit.c if (padapter->hw_init_completed) { padapter 1077 drivers/staging/rtl8723bs/hal/sdio_halinit.c if (adapter_to_pwrctl(padapter)->bips_processing) { padapter 1078 drivers/staging/rtl8723bs/hal/sdio_halinit.c if (padapter->netif_up) { padapter 1084 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_set_FwPwrModeInIPS_cmd(padapter, 0x3); padapter 1087 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 = rtw_read8(padapter, REG_HMETFR); padapter 1095 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 = rtw_read8(padapter, SDIO_LOCAL_BASE | SDIO_REG_HRPWM1); padapter 1098 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, SDIO_LOCAL_BASE | SDIO_REG_HRPWM1, val8); padapter 1100 drivers/staging/rtl8723bs/hal/sdio_halinit.c adapter_to_pwrctl(padapter)->tog = (val8 + 0x80) & 0x80; padapter 1103 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 = rtw_read8(padapter, REG_CR); padapter 1111 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x1c0), padapter 1112 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x1c4), padapter 1113 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x1c8), padapter 1114 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x1cc) padapter 1120 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read8(padapter, REG_CR), padapter 1122 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read8(padapter, REG_HMETFR) padapter 1125 drivers/staging/rtl8723bs/hal/sdio_halinit.c adapter_to_pwrctl(padapter)->pre_ips_type = 0; padapter 1129 drivers/staging/rtl8723bs/hal/sdio_halinit.c CardDisableRTL8723BSdio(padapter); padapter 1131 drivers/staging/rtl8723bs/hal/sdio_halinit.c adapter_to_pwrctl(padapter)->pre_ips_type = 1; padapter 1136 drivers/staging/rtl8723bs/hal/sdio_halinit.c CardDisableRTL8723BSdio(padapter); padapter 1144 drivers/staging/rtl8723bs/hal/sdio_halinit.c static u32 rtl8723bs_inirp_init(struct adapter *padapter) padapter 1149 drivers/staging/rtl8723bs/hal/sdio_halinit.c static u32 rtl8723bs_inirp_deinit(struct adapter *padapter) padapter 1158 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void rtl8723bs_init_default_value(struct adapter *padapter) padapter 1163 drivers/staging/rtl8723bs/hal/sdio_halinit.c pHalData = GET_HAL_DATA(padapter); padapter 1165 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_init_default_value(padapter); padapter 1171 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void rtl8723bs_interface_configure(struct adapter *padapter) padapter 1173 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1174 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter); padapter 1175 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 1202 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_MappingOutPipe(padapter, pHalData->OutEpNumber); padapter 1214 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _EfuseCellSel(struct adapter *padapter) padapter 1218 drivers/staging/rtl8723bs/hal/sdio_halinit.c value32 = rtw_read32(padapter, EFUSE_TEST); padapter 1220 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, EFUSE_TEST, value32); padapter 1236 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail padapter 1241 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter); padapter 1269 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail padapter 1272 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 1283 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _ReadEfuseInfo8723BS(struct adapter *padapter) padapter 1285 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter); padapter 1299 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_InitPGData(padapter, hwinfo); padapter 1301 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_EfuseParseIDCode(padapter, hwinfo); padapter 1302 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_EfuseParseEEPROMVer_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag); padapter 1304 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_EfuseParseMACAddr_8723BS(padapter, hwinfo, pEEPROM->bautoload_fail_flag); padapter 1306 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_EfuseParseTxPowerInfo_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag); padapter 1307 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_EfuseParseBoardType_8723BS(padapter, hwinfo, pEEPROM->bautoload_fail_flag); padapter 1312 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_EfuseParsePackageType_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag); padapter 1313 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_EfuseParseBTCoexistInfo_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag); padapter 1314 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_EfuseParseChnlPlan_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag); padapter 1315 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_EfuseParseXtal_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag); padapter 1316 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_EfuseParseThermalMeter_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag); padapter 1317 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_EfuseParseAntennaDiversity_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag); padapter 1318 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_EfuseParseCustomerID_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag); padapter 1320 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_EfuseParseVoltage_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag); padapter 1323 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_DetectWoWMode(padapter); padapter 1326 drivers/staging/rtl8723bs/hal/sdio_halinit.c Hal_ReadRFGainOffset(padapter, hwinfo, pEEPROM->bautoload_fail_flag); padapter 1331 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void _ReadPROMContent(struct adapter *padapter) padapter 1333 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter); padapter 1336 drivers/staging/rtl8723bs/hal/sdio_halinit.c eeValue = rtw_read8(padapter, REG_9346CR); padapter 1349 drivers/staging/rtl8723bs/hal/sdio_halinit.c _ReadEfuseInfo8723BS(padapter); padapter 1364 drivers/staging/rtl8723bs/hal/sdio_halinit.c static s32 _ReadAdapterInfo8723BS(struct adapter *padapter) padapter 1372 drivers/staging/rtl8723bs/hal/sdio_halinit.c if (!padapter->hw_init_completed) padapter 1373 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitPowerOn_8723BS(padapter); padapter 1376 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 = rtw_read8(padapter, 0x4e); padapter 1379 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, 0x4e, val8); padapter 1384 drivers/staging/rtl8723bs/hal/sdio_halinit.c _EfuseCellSel(padapter); padapter 1385 drivers/staging/rtl8723bs/hal/sdio_halinit.c _ReadRFType(padapter); padapter 1386 drivers/staging/rtl8723bs/hal/sdio_halinit.c _ReadPROMContent(padapter); padapter 1387 drivers/staging/rtl8723bs/hal/sdio_halinit.c _InitOtherVariable(padapter); padapter 1389 drivers/staging/rtl8723bs/hal/sdio_halinit.c if (!padapter->hw_init_completed) { padapter 1390 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, 0x67, 0x00); /* for BT, Switch Ant control to BT */ padapter 1391 drivers/staging/rtl8723bs/hal/sdio_halinit.c CardDisableRTL8723BSdio(padapter);/* for the power consumption issue, wifi ko module is loaded during booting, but wifi GUI is off */ padapter 1400 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void ReadAdapterInfo8723BS(struct adapter *padapter) padapter 1403 drivers/staging/rtl8723bs/hal/sdio_halinit.c padapter->EepromAddressSize = GetEEPROMSize8723B(padapter); padapter 1405 drivers/staging/rtl8723bs/hal/sdio_halinit.c _ReadAdapterInfo8723BS(padapter); padapter 1412 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void SetHwReg8723BS(struct adapter *padapter, u8 variable, u8 *val) padapter 1418 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); padapter 1425 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 1426 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1442 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, SDIO_LOCAL_BASE | SDIO_REG_HRPWM1, val8); padapter 1448 drivers/staging/rtl8723bs/hal/sdio_halinit.c req_fw_ps = rtw_read8(padapter, 0x8f); padapter 1450 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, 0x8f, req_fw_ps); padapter 1466 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, 0x8d, 1); padapter 1467 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, 0x8c, 0); padapter 1468 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, 0x8f, 0x40); padapter 1469 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, 0x8b, padapter 1470 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read8(padapter, 0x2f0)); padapter 1474 drivers/staging/rtl8723bs/hal/sdio_halinit.c SetFwRelatedForWoWLAN8723b(padapter, true); padapter 1478 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_RXPKT_NUM, (rtw_read32(padapter, REG_RXPKT_NUM) | RW_RELEASE_EN)); padapter 1480 drivers/staging/rtl8723bs/hal/sdio_halinit.c if ((rtw_read32(padapter, REG_RXPKT_NUM) & RXDMA_IDLE)) { padapter 1485 drivers/staging/rtl8723bs/hal/sdio_halinit.c res = sdio_local_read(padapter, SDIO_REG_RX0_REQ_LEN, 4, (u8 *)&tmp); padapter 1489 drivers/staging/rtl8723bs/hal/sdio_halinit.c res = RecvOnePkt(padapter, len); padapter 1502 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_write(padapter, SDIO_REG_HIMR_ON, 4, (u8 *)&tmp); padapter 1503 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_write(padapter, SDIO_REG_HIMR, 4, (u8 *)&tmp); padapter 1504 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_read(padapter, SDIO_REG_HISR, 4, (u8 *)&tmp); padapter 1505 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_write(padapter, SDIO_REG_HISR, 4, (u8 *)&tmp); padapter 1509 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_read(padapter, SDIO_REG_HIMR, 4, (u8 *)&tmp); padapter 1513 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_write(padapter, SDIO_REG_HIMR, 4, (u8 *)&himr); padapter 1515 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_read(padapter, SDIO_REG_HIMR, 4, (u8 *)&tmp); padapter 1520 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_set_wowlan_cmd(padapter, 1); padapter 1525 drivers/staging/rtl8723bs/hal/sdio_halinit.c mstatus = rtw_read8(padapter, REG_WOW_CTRL); padapter 1528 drivers/staging/rtl8723bs/hal/sdio_halinit.c mstatus = rtw_read8(padapter, REG_WOW_CTRL); padapter 1539 drivers/staging/rtl8723bs/hal/sdio_halinit.c psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(pmlmepriv)); padapter 1541 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_set_FwMediaStatusRpt_cmd(padapter, RT_MEDIA_DISCONNECT, psta->mac_id); padapter 1546 drivers/staging/rtl8723bs/hal/sdio_halinit.c pwrctl->wowlan_wake_reason = rtw_read8(padapter, REG_WOWLAN_WAKE_REASON); padapter 1553 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, REG_WOWLAN_GTK_DBG1), padapter 1554 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, REG_WOWLAN_GTK_DBG2), padapter 1555 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x1c0), padapter 1556 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x1c4), padapter 1557 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x494), padapter 1558 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x498), padapter 1559 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x49c), padapter 1560 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x608), padapter 1561 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x4a0), padapter 1562 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x4a4), padapter 1563 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x1cc), padapter 1564 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x2f0), padapter 1565 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x2f4), padapter 1566 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x2f8), padapter 1567 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x2fc), padapter 1568 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read32(padapter, 0x8c) padapter 1571 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("0x1b9: 0x%02x, 0x632: 0x%02x\n", rtw_read8(padapter, 0x1b9), rtw_read8(padapter, 0x632)); padapter 1572 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("0x4fc: 0x%02x, 0x4fd: 0x%02x\n", rtw_read8(padapter, 0x4fc), rtw_read8(padapter, 0x4fd)); padapter 1573 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("TXDMA STATUS: 0x%08x\n", rtw_read32(padapter, REG_TXDMA_STATUS)); padapter 1579 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_set_wowlan_cmd(padapter, 0); padapter 1583 drivers/staging/rtl8723bs/hal/sdio_halinit.c mstatus = rtw_read8(padapter, REG_WOW_CTRL); padapter 1586 drivers/staging/rtl8723bs/hal/sdio_halinit.c mstatus = rtw_read8(padapter, REG_WOW_CTRL); padapter 1595 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_WOW_CTRL, (rtw_read8(padapter, REG_WOW_CTRL) & 0xf0)); padapter 1597 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_RXPKT_NUM, (rtw_read32(padapter, REG_RXPKT_NUM) & (~RW_RELEASE_EN))); padapter 1601 drivers/staging/rtl8723bs/hal/sdio_halinit.c iv_low = rtw_read32(padapter, REG_TXPKTBUF_IV_LOW); padapter 1604 drivers/staging/rtl8723bs/hal/sdio_halinit.c iv_high = rtw_read32(padapter, REG_TXPKTBUF_IV_HIGH); padapter 1609 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_set_sec_pn(padapter); padapter 1619 drivers/staging/rtl8723bs/hal/sdio_halinit.c gtk_keyindex = rtw_read8(padapter, 0x48c); padapter 1623 drivers/staging/rtl8723bs/hal/sdio_halinit.c read_cam(padapter, gtk_keyindex, get_key); padapter 1640 drivers/staging/rtl8723bs/hal/sdio_halinit.c SetFwRelatedForWoWLAN8723b(padapter, false); padapter 1644 drivers/staging/rtl8723bs/hal/sdio_halinit.c HalSetOutPutGPIO(padapter, WAKEUP_GPIO_IDX, 1); padapter 1654 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_set_FwJoinBssRpt_cmd(padapter, RT_MEDIA_CONNECT); padapter 1656 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_set_FwMediaStatusRpt_cmd(padapter, RT_MEDIA_CONNECT, psta->mac_id); padapter 1659 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, 0x1b8, 0); padapter 1660 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("reset 0x1b8: %d\n", rtw_read8(padapter, 0x1b8)); padapter 1661 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, 0x1b9, 0); padapter 1662 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("reset 0x1b9: %d\n", rtw_read8(padapter, 0x1b9)); padapter 1663 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_PNO_STATUS, 0); padapter 1664 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("reset REG_PNO_STATUS: %d\n", rtw_read8(padapter, REG_PNO_STATUS)); padapter 1683 drivers/staging/rtl8723bs/hal/sdio_halinit.c SetFwRelatedForWoWLAN8723b(padapter, true); padapter 1687 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_RXPKT_NUM, padapter 1688 drivers/staging/rtl8723bs/hal/sdio_halinit.c (rtw_read32(padapter, REG_RXPKT_NUM) | RW_RELEASE_EN)); padapter 1690 drivers/staging/rtl8723bs/hal/sdio_halinit.c if ((rtw_read32(padapter, REG_RXPKT_NUM) & RXDMA_IDLE)) { padapter 1695 drivers/staging/rtl8723bs/hal/sdio_halinit.c res = sdio_local_read(padapter, SDIO_REG_RX0_REQ_LEN, 4, (u8 *)&tmp); padapter 1700 drivers/staging/rtl8723bs/hal/sdio_halinit.c res = RecvOnePkt(padapter, len); padapter 1714 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_write(padapter, SDIO_REG_HIMR_ON, 4, (u8 *)&tmp); padapter 1715 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_write(padapter, SDIO_REG_HIMR, 4, (u8 *)&tmp); padapter 1716 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_read(padapter, SDIO_REG_HISR, 4, (u8 *)&tmp); padapter 1717 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_write(padapter, SDIO_REG_HISR, 4, (u8 *)&tmp); padapter 1721 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_read(padapter, SDIO_REG_HIMR, 4, (u8 *)&tmp); padapter 1725 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_write(padapter, SDIO_REG_HIMR, 4, (u8 *)&himr); padapter 1727 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_read(padapter, SDIO_REG_HIMR, 4, (u8 *)&tmp); padapter 1732 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_set_ap_wowlan_cmd(padapter, 1); padapter 1736 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_WOWLAN_WAKE_REASON, 0); padapter 1742 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_read8(padapter, REG_WOWLAN_WAKE_REASON); padapter 1749 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_set_ap_wowlan_cmd(padapter, 0); padapter 1755 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write32(padapter, REG_RXPKT_NUM, padapter 1756 drivers/staging/rtl8723bs/hal/sdio_halinit.c (rtw_read32(padapter, REG_RXPKT_NUM) & (~RW_RELEASE_EN))); padapter 1758 drivers/staging/rtl8723bs/hal/sdio_halinit.c SetFwRelatedForWoWLAN8723b(padapter, false); padapter 1762 drivers/staging/rtl8723bs/hal/sdio_halinit.c HalSetOutPutGPIO(padapter, WAKEUP_GPIO_IDX, 1); padapter 1764 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_set_FwJoinBssRpt_cmd(padapter, RT_MEDIA_CONNECT); padapter 1765 drivers/staging/rtl8723bs/hal/sdio_halinit.c issue_beacon(padapter, 0); padapter 1774 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtl8723b_hal_dm_in_lps(padapter); padapter 1777 drivers/staging/rtl8723bs/hal/sdio_halinit.c SetHwReg8723B(padapter, variable, val); padapter 1786 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void GetHwReg8723BS(struct adapter *padapter, u8 variable, u8 *val) padapter 1790 drivers/staging/rtl8723bs/hal/sdio_halinit.c *val = rtw_read8(padapter, SDIO_LOCAL_BASE | SDIO_REG_HCPWM1_8723B); padapter 1796 drivers/staging/rtl8723bs/hal/sdio_halinit.c *((u16 *)val) = rtw_read16(padapter, 0x88); padapter 1800 drivers/staging/rtl8723bs/hal/sdio_halinit.c GetHwReg8723B(padapter, variable, val); padapter 1805 drivers/staging/rtl8723bs/hal/sdio_halinit.c static void SetHwRegWithBuf8723B(struct adapter *padapter, u8 variable, u8 *pbuf, int len) padapter 1810 drivers/staging/rtl8723bs/hal/sdio_halinit.c C2HPacketHandler_8723B(padapter, pbuf, len); padapter 1855 drivers/staging/rtl8723bs/hal/sdio_halinit.c void rtl8723bs_set_hal_ops(struct adapter *padapter) padapter 1857 drivers/staging/rtl8723bs/hal/sdio_halinit.c struct hal_ops *pHalFunc = &padapter->HalFunc; padapter 180 drivers/staging/rtl8723bs/hal/sdio_ops.c adapter = intfhdl->padapter; padapter 235 drivers/staging/rtl8723bs/hal/sdio_ops.c adapter = intfhdl->padapter; padapter 302 drivers/staging/rtl8723bs/hal/sdio_ops.c adapter = intfhdl->padapter; padapter 339 drivers/staging/rtl8723bs/hal/sdio_ops.c adapter = intfhdl->padapter; padapter 434 drivers/staging/rtl8723bs/hal/sdio_ops.c adapter = intfhdl->padapter; padapter 480 drivers/staging/rtl8723bs/hal/sdio_ops.c adapter = intfhdl->padapter; padapter 118 drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h struct adapter * padapter, padapter 222 drivers/staging/rtl8723bs/include/drv_types.h #define GET_PRIMARY_ADAPTER(padapter) (((struct adapter *)padapter)->dvobj->if1) padapter 223 drivers/staging/rtl8723bs/include/drv_types.h #define GET_IFACE_NUMS(padapter) (((struct adapter *)padapter)->dvobj->iface_nums) padapter 224 drivers/staging/rtl8723bs/include/drv_types.h #define GET_ADAPTER(padapter, iface_id) (((struct adapter *)padapter)->dvobj->padapters[iface_id]) padapter 637 drivers/staging/rtl8723bs/include/drv_types.h static inline void RTW_DISABLE_FUNC(struct adapter *padapter, int func_bit) padapter 639 drivers/staging/rtl8723bs/include/drv_types.h int df = atomic_read(&adapter_to_dvobj(padapter)->disable_func); padapter 641 drivers/staging/rtl8723bs/include/drv_types.h atomic_set(&adapter_to_dvobj(padapter)->disable_func, df); padapter 644 drivers/staging/rtl8723bs/include/drv_types.h static inline void RTW_ENABLE_FUNC(struct adapter *padapter, int func_bit) padapter 646 drivers/staging/rtl8723bs/include/drv_types.h int df = atomic_read(&adapter_to_dvobj(padapter)->disable_func); padapter 648 drivers/staging/rtl8723bs/include/drv_types.h atomic_set(&adapter_to_dvobj(padapter)->disable_func, df); padapter 651 drivers/staging/rtl8723bs/include/drv_types.h #define RTW_IS_FUNC_DISABLED(padapter, func_bit) (atomic_read(&adapter_to_dvobj(padapter)->disable_func) & (func_bit)) padapter 653 drivers/staging/rtl8723bs/include/drv_types.h #define RTW_CANNOT_IO(padapter) \ padapter 654 drivers/staging/rtl8723bs/include/drv_types.h ((padapter)->bSurpriseRemoved || \ padapter 655 drivers/staging/rtl8723bs/include/drv_types.h RTW_IS_FUNC_DISABLED((padapter), DF_IO_BIT)) padapter 657 drivers/staging/rtl8723bs/include/drv_types.h #define RTW_CANNOT_RX(padapter) \ padapter 658 drivers/staging/rtl8723bs/include/drv_types.h ((padapter)->bDriverStopped || \ padapter 659 drivers/staging/rtl8723bs/include/drv_types.h (padapter)->bSurpriseRemoved || \ padapter 660 drivers/staging/rtl8723bs/include/drv_types.h RTW_IS_FUNC_DISABLED((padapter), DF_RX_BIT)) padapter 662 drivers/staging/rtl8723bs/include/drv_types.h #define RTW_CANNOT_TX(padapter) \ padapter 663 drivers/staging/rtl8723bs/include/drv_types.h ((padapter)->bDriverStopped || \ padapter 664 drivers/staging/rtl8723bs/include/drv_types.h (padapter)->bSurpriseRemoved || \ padapter 665 drivers/staging/rtl8723bs/include/drv_types.h RTW_IS_FUNC_DISABLED((padapter), DF_TX_BIT)) padapter 674 drivers/staging/rtl8723bs/include/drv_types.h void rtw_suspend_wow(struct adapter *padapter); padapter 675 drivers/staging/rtl8723bs/include/drv_types.h int rtw_resume_process_wow(struct adapter *padapter); padapter 690 drivers/staging/rtl8723bs/include/drv_types.h void rtw_indicate_wx_disassoc_event(struct adapter *padapter); padapter 691 drivers/staging/rtl8723bs/include/drv_types.h void rtw_indicate_wx_assoc_event(struct adapter *padapter); padapter 692 drivers/staging/rtl8723bs/include/drv_types.h void rtw_indicate_wx_disassoc_event(struct adapter *padapter); padapter 693 drivers/staging/rtl8723bs/include/drv_types.h void indicate_wx_scan_complete_event(struct adapter *padapter); padapter 694 drivers/staging/rtl8723bs/include/drv_types.h int rtw_change_ifname(struct adapter *padapter, const char *ifname); padapter 24 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_SetBTCoexist(struct adapter *padapter, u8 bBtExist); padapter 25 drivers/staging/rtl8723bs/include/hal_btcoex.h bool hal_btcoex_IsBtExist(struct adapter *padapter); padapter 27 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_SetChipType(struct adapter *padapter, u8 chipType); padapter 28 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_SetPgAntNum(struct adapter *padapter, u8 antNum); padapter 29 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_SetSingleAntPath(struct adapter *padapter, u8 singleAntPath); padapter 31 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_Initialize(void *padapter); padapter 32 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_PowerOnSetting(struct adapter *padapter); padapter 33 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_InitHwConfig(struct adapter *padapter, u8 bWifiOnly); padapter 35 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_IpsNotify(struct adapter *padapter, u8 type); padapter 36 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_LpsNotify(struct adapter *padapter, u8 type); padapter 37 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_ScanNotify(struct adapter *padapter, u8 type); padapter 38 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_ConnectNotify(struct adapter *padapter, u8 action); padapter 39 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_MediaStatusNotify(struct adapter *padapter, u8 mediaStatus); padapter 40 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_SpecialPacketNotify(struct adapter *padapter, u8 pktType); padapter 41 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_IQKNotify(struct adapter *padapter, u8 state); padapter 42 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_BtInfoNotify(struct adapter *padapter, u8 length, u8 *tmpBuf); padapter 43 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_SuspendNotify(struct adapter *padapter, u8 state); padapter 44 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_HaltNotify(struct adapter *padapter); padapter 46 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_Handler(struct adapter *padapter); padapter 48 drivers/staging/rtl8723bs/include/hal_btcoex.h s32 hal_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *padapter); padapter 49 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_SetManualControl(struct adapter *padapter, u8 bmanual); padapter 50 drivers/staging/rtl8723bs/include/hal_btcoex.h bool hal_btcoex_IsBtControlLps(struct adapter *padapter); padapter 51 drivers/staging/rtl8723bs/include/hal_btcoex.h bool hal_btcoex_IsLpsOn(struct adapter *padapter); padapter 55 drivers/staging/rtl8723bs/include/hal_btcoex.h void hal_btcoex_RecordPwrMode(struct adapter *padapter, u8 *pCmdBuf, u8 cmdLen); padapter 193 drivers/staging/rtl8723bs/include/hal_com.h u8 rtw_hal_data_init(struct adapter *padapter); padapter 194 drivers/staging/rtl8723bs/include/hal_com.h void rtw_hal_data_deinit(struct adapter *padapter); padapter 200 drivers/staging/rtl8723bs/include/hal_com.h struct adapter *padapter, padapter 224 drivers/staging/rtl8723bs/include/hal_com.h struct adapter *padapter, padapter 236 drivers/staging/rtl8723bs/include/hal_com.h void rtw_hal_update_sta_rate_mask(struct adapter *padapter, struct sta_info *psta); padapter 240 drivers/staging/rtl8723bs/include/hal_com.h void SetHwReg(struct adapter *padapter, u8 variable, u8 *val); padapter 241 drivers/staging/rtl8723bs/include/hal_com.h void GetHwReg(struct adapter *padapter, u8 variable, u8 *val); padapter 269 drivers/staging/rtl8723bs/include/hal_com.h void linked_info_dump(struct adapter *padapter, u8 benable); padapter 271 drivers/staging/rtl8723bs/include/hal_com.h void rtw_get_raw_rssi_info(void *sel, struct adapter *padapter); padapter 272 drivers/staging/rtl8723bs/include/hal_com.h void rtw_store_phy_info(struct adapter *padapter, union recv_frame *prframe); padapter 273 drivers/staging/rtl8723bs/include/hal_com.h void rtw_dump_raw_rssi_info(struct adapter *padapter); padapter 278 drivers/staging/rtl8723bs/include/hal_com.h void rtw_bb_rf_gain_offset(struct adapter *padapter); padapter 282 drivers/staging/rtl8723bs/include/hal_com_h2c.h void rtw_get_current_ip_address(struct adapter *padapter, u8 *pcurrentip); padapter 283 drivers/staging/rtl8723bs/include/hal_com_h2c.h void rtw_get_sec_iv(struct adapter *padapter, u8*pcur_dot11txpn, u8 *StaAddr); padapter 284 drivers/staging/rtl8723bs/include/hal_com_h2c.h void rtw_set_sec_pn(struct adapter *padapter); padapter 84 drivers/staging/rtl8723bs/include/hal_com_phycfg.h struct adapter *padapter, padapter 91 drivers/staging/rtl8723bs/include/hal_com_phycfg.h struct adapter *padapter, padapter 107 drivers/staging/rtl8723bs/include/hal_com_phycfg.h struct adapter * padapter, padapter 115 drivers/staging/rtl8723bs/include/hal_com_phycfg.h struct adapter *padapter, padapter 124 drivers/staging/rtl8723bs/include/hal_com_phycfg.h struct adapter *padapter, padapter 141 drivers/staging/rtl8723bs/include/hal_com_phycfg.h struct adapter * padapter, padapter 151 drivers/staging/rtl8723bs/include/hal_com_phycfg.h struct adapter *padapter padapter 156 drivers/staging/rtl8723bs/include/hal_com_phycfg.h struct adapter *padapter, padapter 167 drivers/staging/rtl8723bs/include/hal_com_phycfg.h struct adapter * padapter padapter 172 drivers/staging/rtl8723bs/include/hal_com_phycfg.h struct adapter * padapter, padapter 211 drivers/staging/rtl8723bs/include/hal_com_phycfg.h struct adapter *padapter, padapter 246 drivers/staging/rtl8723bs/include/hal_com_phycfg.h void phy_free_filebuf(struct adapter *padapter); padapter 173 drivers/staging/rtl8723bs/include/hal_intf.h u32 (*hal_power_on)(struct adapter *padapter); padapter 174 drivers/staging/rtl8723bs/include/hal_intf.h void (*hal_power_off)(struct adapter *padapter); padapter 175 drivers/staging/rtl8723bs/include/hal_intf.h u32 (*hal_init)(struct adapter *padapter); padapter 176 drivers/staging/rtl8723bs/include/hal_intf.h u32 (*hal_deinit)(struct adapter *padapter); padapter 178 drivers/staging/rtl8723bs/include/hal_intf.h void (*free_hal_data)(struct adapter *padapter); padapter 180 drivers/staging/rtl8723bs/include/hal_intf.h u32 (*inirp_init)(struct adapter *padapter); padapter 181 drivers/staging/rtl8723bs/include/hal_intf.h u32 (*inirp_deinit)(struct adapter *padapter); padapter 182 drivers/staging/rtl8723bs/include/hal_intf.h void (*irp_reset)(struct adapter *padapter); padapter 184 drivers/staging/rtl8723bs/include/hal_intf.h s32 (*init_xmit_priv)(struct adapter *padapter); padapter 185 drivers/staging/rtl8723bs/include/hal_intf.h void (*free_xmit_priv)(struct adapter *padapter); padapter 187 drivers/staging/rtl8723bs/include/hal_intf.h s32 (*init_recv_priv)(struct adapter *padapter); padapter 188 drivers/staging/rtl8723bs/include/hal_intf.h void (*free_recv_priv)(struct adapter *padapter); padapter 190 drivers/staging/rtl8723bs/include/hal_intf.h void (*dm_init)(struct adapter *padapter); padapter 191 drivers/staging/rtl8723bs/include/hal_intf.h void (*dm_deinit)(struct adapter *padapter); padapter 192 drivers/staging/rtl8723bs/include/hal_intf.h void (*read_chip_version)(struct adapter *padapter); padapter 194 drivers/staging/rtl8723bs/include/hal_intf.h void (*init_default_value)(struct adapter *padapter); padapter 196 drivers/staging/rtl8723bs/include/hal_intf.h void (*intf_chip_configure)(struct adapter *padapter); padapter 198 drivers/staging/rtl8723bs/include/hal_intf.h void (*read_adapter_info)(struct adapter *padapter); padapter 200 drivers/staging/rtl8723bs/include/hal_intf.h void (*enable_interrupt)(struct adapter *padapter); padapter 201 drivers/staging/rtl8723bs/include/hal_intf.h void (*disable_interrupt)(struct adapter *padapter); padapter 202 drivers/staging/rtl8723bs/include/hal_intf.h u8 (*check_ips_status)(struct adapter *padapter); padapter 203 drivers/staging/rtl8723bs/include/hal_intf.h s32 (*interrupt_handler)(struct adapter *padapter); padapter 204 drivers/staging/rtl8723bs/include/hal_intf.h void (*clear_interrupt)(struct adapter *padapter); padapter 205 drivers/staging/rtl8723bs/include/hal_intf.h void (*set_bwmode_handler)(struct adapter *padapter, enum CHANNEL_WIDTH Bandwidth, u8 Offset); padapter 206 drivers/staging/rtl8723bs/include/hal_intf.h void (*set_channel_handler)(struct adapter *padapter, u8 channel); padapter 207 drivers/staging/rtl8723bs/include/hal_intf.h void (*set_chnl_bw_handler)(struct adapter *padapter, u8 channel, enum CHANNEL_WIDTH Bandwidth, u8 Offset40, u8 Offset80); padapter 209 drivers/staging/rtl8723bs/include/hal_intf.h void (*set_tx_power_level_handler)(struct adapter *padapter, u8 channel); padapter 210 drivers/staging/rtl8723bs/include/hal_intf.h void (*get_tx_power_level_handler)(struct adapter *padapter, s32 *powerlevel); padapter 212 drivers/staging/rtl8723bs/include/hal_intf.h void (*hal_dm_watchdog)(struct adapter *padapter); padapter 213 drivers/staging/rtl8723bs/include/hal_intf.h void (*hal_dm_watchdog_in_lps)(struct adapter *padapter); padapter 216 drivers/staging/rtl8723bs/include/hal_intf.h void (*SetHwRegHandler)(struct adapter *padapter, u8 variable, u8 *val); padapter 217 drivers/staging/rtl8723bs/include/hal_intf.h void (*GetHwRegHandler)(struct adapter *padapter, u8 variable, u8 *val); padapter 219 drivers/staging/rtl8723bs/include/hal_intf.h void (*SetHwRegHandlerWithBuf)(struct adapter *padapter, u8 variable, u8 *pbuf, int len); padapter 221 drivers/staging/rtl8723bs/include/hal_intf.h u8 (*GetHalDefVarHandler)(struct adapter *padapter, enum HAL_DEF_VARIABLE eVariable, void *pValue); padapter 222 drivers/staging/rtl8723bs/include/hal_intf.h u8 (*SetHalDefVarHandler)(struct adapter *padapter, enum HAL_DEF_VARIABLE eVariable, void *pValue); padapter 224 drivers/staging/rtl8723bs/include/hal_intf.h void (*GetHalODMVarHandler)(struct adapter *padapter, enum HAL_ODM_VARIABLE eVariable, void *pValue1, void *pValue2); padapter 225 drivers/staging/rtl8723bs/include/hal_intf.h void (*SetHalODMVarHandler)(struct adapter *padapter, enum HAL_ODM_VARIABLE eVariable, void *pValue1, bool bSet); padapter 227 drivers/staging/rtl8723bs/include/hal_intf.h void (*UpdateRAMaskHandler)(struct adapter *padapter, u32 mac_id, u8 rssi_level); padapter 228 drivers/staging/rtl8723bs/include/hal_intf.h void (*SetBeaconRelatedRegistersHandler)(struct adapter *padapter); padapter 230 drivers/staging/rtl8723bs/include/hal_intf.h void (*Add_RateATid)(struct adapter *padapter, u32 bitmap, u8 *arg, u8 rssi_level); padapter 232 drivers/staging/rtl8723bs/include/hal_intf.h void (*run_thread)(struct adapter *padapter); padapter 233 drivers/staging/rtl8723bs/include/hal_intf.h void (*cancel_thread)(struct adapter *padapter); padapter 235 drivers/staging/rtl8723bs/include/hal_intf.h u8 (*interface_ps_func)(struct adapter *padapter, enum HAL_INTF_PS_FUNC efunc_id, u8 *val); padapter 237 drivers/staging/rtl8723bs/include/hal_intf.h s32 (*hal_xmit)(struct adapter *padapter, struct xmit_frame *pxmitframe); padapter 241 drivers/staging/rtl8723bs/include/hal_intf.h s32 (*mgnt_xmit)(struct adapter *padapter, struct xmit_frame *pmgntframe); padapter 242 drivers/staging/rtl8723bs/include/hal_intf.h s32 (*hal_xmitframe_enqueue)(struct adapter *padapter, struct xmit_frame *pxmitframe); padapter 244 drivers/staging/rtl8723bs/include/hal_intf.h u32 (*read_bbreg)(struct adapter *padapter, u32 RegAddr, u32 BitMask); padapter 245 drivers/staging/rtl8723bs/include/hal_intf.h void (*write_bbreg)(struct adapter *padapter, u32 RegAddr, u32 BitMask, u32 Data); padapter 246 drivers/staging/rtl8723bs/include/hal_intf.h u32 (*read_rfreg)(struct adapter *padapter, u8 eRFPath, u32 RegAddr, u32 BitMask); padapter 247 drivers/staging/rtl8723bs/include/hal_intf.h void (*write_rfreg)(struct adapter *padapter, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data); padapter 249 drivers/staging/rtl8723bs/include/hal_intf.h void (*EfusePowerSwitch)(struct adapter *padapter, u8 bWrite, u8 PwrState); padapter 250 drivers/staging/rtl8723bs/include/hal_intf.h void (*BTEfusePowerSwitch)(struct adapter *padapter, u8 bWrite, u8 PwrState); padapter 251 drivers/staging/rtl8723bs/include/hal_intf.h void (*ReadEFuse)(struct adapter *padapter, u8 efuseType, u16 _offset, u16 _size_byte, u8 *pbuf, bool bPseudoTest); padapter 252 drivers/staging/rtl8723bs/include/hal_intf.h void (*EFUSEGetEfuseDefinition)(struct adapter *padapter, u8 efuseType, u8 type, void *pOut, bool bPseudoTest); padapter 253 drivers/staging/rtl8723bs/include/hal_intf.h u16 (*EfuseGetCurrentSize)(struct adapter *padapter, u8 efuseType, bool bPseudoTest); padapter 254 drivers/staging/rtl8723bs/include/hal_intf.h int (*Efuse_PgPacketRead)(struct adapter *padapter, u8 offset, u8 *data, bool bPseudoTest); padapter 255 drivers/staging/rtl8723bs/include/hal_intf.h int (*Efuse_PgPacketWrite)(struct adapter *padapter, u8 offset, u8 word_en, u8 *data, bool bPseudoTest); padapter 256 drivers/staging/rtl8723bs/include/hal_intf.h u8 (*Efuse_WordEnableDataWrite)(struct adapter *padapter, u16 efuse_addr, u8 word_en, u8 *data, bool bPseudoTest); padapter 257 drivers/staging/rtl8723bs/include/hal_intf.h bool (*Efuse_PgPacketWrite_BT)(struct adapter *padapter, u8 offset, u8 word_en, u8 *data, bool bPseudoTest); padapter 259 drivers/staging/rtl8723bs/include/hal_intf.h s32 (*xmit_thread_handler)(struct adapter *padapter); padapter 262 drivers/staging/rtl8723bs/include/hal_intf.h s32 (*c2h_handler)(struct adapter *padapter, u8 *c2h_evt); padapter 319 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_def_value_init(struct adapter *padapter); padapter 321 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_free_data(struct adapter *padapter); padapter 323 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_dm_init(struct adapter *padapter); padapter 324 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_dm_deinit(struct adapter *padapter); padapter 326 drivers/staging/rtl8723bs/include/hal_intf.h uint rtw_hal_init(struct adapter *padapter); padapter 327 drivers/staging/rtl8723bs/include/hal_intf.h uint rtw_hal_deinit(struct adapter *padapter); padapter 328 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_stop(struct adapter *padapter); padapter 329 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_set_hwreg(struct adapter *padapter, u8 variable, u8 *val); padapter 330 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_get_hwreg(struct adapter *padapter, u8 variable, u8 *val); padapter 332 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_set_hwreg_with_buf(struct adapter *padapter, u8 variable, u8 *pbuf, int len); padapter 334 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_chip_configure(struct adapter *padapter); padapter 335 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_read_chip_info(struct adapter *padapter); padapter 336 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_read_chip_version(struct adapter *padapter); padapter 338 drivers/staging/rtl8723bs/include/hal_intf.h u8 rtw_hal_set_def_var(struct adapter *padapter, enum HAL_DEF_VARIABLE eVariable, void *pValue); padapter 339 drivers/staging/rtl8723bs/include/hal_intf.h u8 rtw_hal_get_def_var(struct adapter *padapter, enum HAL_DEF_VARIABLE eVariable, void *pValue); padapter 341 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_set_odm_var(struct adapter *padapter, enum HAL_ODM_VARIABLE eVariable, void *pValue1, bool bSet); padapter 342 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_get_odm_var(struct adapter *padapter, enum HAL_ODM_VARIABLE eVariable, void *pValue1, void *pValue2); padapter 344 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_enable_interrupt(struct adapter *padapter); padapter 345 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_disable_interrupt(struct adapter *padapter); padapter 347 drivers/staging/rtl8723bs/include/hal_intf.h u8 rtw_hal_check_ips_status(struct adapter *padapter); padapter 349 drivers/staging/rtl8723bs/include/hal_intf.h s32 rtw_hal_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe); padapter 350 drivers/staging/rtl8723bs/include/hal_intf.h s32 rtw_hal_xmit(struct adapter *padapter, struct xmit_frame *pxmitframe); padapter 351 drivers/staging/rtl8723bs/include/hal_intf.h s32 rtw_hal_mgnt_xmit(struct adapter *padapter, struct xmit_frame *pmgntframe); padapter 353 drivers/staging/rtl8723bs/include/hal_intf.h s32 rtw_hal_init_xmit_priv(struct adapter *padapter); padapter 354 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_free_xmit_priv(struct adapter *padapter); padapter 356 drivers/staging/rtl8723bs/include/hal_intf.h s32 rtw_hal_init_recv_priv(struct adapter *padapter); padapter 357 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_free_recv_priv(struct adapter *padapter); padapter 360 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_add_ra_tid(struct adapter *padapter, u32 bitmap, u8 *arg, u8 rssi_level); padapter 362 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_start_thread(struct adapter *padapter); padapter 363 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_stop_thread(struct adapter *padapter); padapter 365 drivers/staging/rtl8723bs/include/hal_intf.h void beacon_timing_control(struct adapter *padapter); padapter 367 drivers/staging/rtl8723bs/include/hal_intf.h u32 rtw_hal_read_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask); padapter 368 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_write_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask, u32 Data); padapter 369 drivers/staging/rtl8723bs/include/hal_intf.h u32 rtw_hal_read_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask); padapter 370 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_write_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask, u32 Data); padapter 380 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_set_chan(struct adapter *padapter, u8 channel); padapter 381 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_set_chnl_bw(struct adapter *padapter, u8 channel, enum CHANNEL_WIDTH Bandwidth, u8 Offset40, u8 Offset80); padapter 382 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_dm_watchdog(struct adapter *padapter); padapter 383 drivers/staging/rtl8723bs/include/hal_intf.h void rtw_hal_dm_watchdog_in_lps(struct adapter *padapter); padapter 385 drivers/staging/rtl8723bs/include/hal_intf.h s32 rtw_hal_xmit_thread_handler(struct adapter *padapter); padapter 394 drivers/staging/rtl8723bs/include/hal_intf.h s32 rtw_hal_is_disable_sw_channel_plan(struct adapter *padapter); padapter 396 drivers/staging/rtl8723bs/include/hal_intf.h s32 rtw_hal_macid_sleep(struct adapter *padapter, u32 macid); padapter 397 drivers/staging/rtl8723bs/include/hal_intf.h s32 rtw_hal_macid_wakeup(struct adapter *padapter, u32 macid); padapter 65 drivers/staging/rtl8723bs/include/hal_phy_cfg.h s32 PHY_MACConfig8723B(struct adapter *padapter); padapter 77 drivers/staging/rtl8723bs/include/hal_phy_cfg.h struct adapter * padapter, padapter 12 drivers/staging/rtl8723bs/include/hal_sdio.h u8 rtw_hal_sdio_max_txoqt_free_space(struct adapter *padapter); padapter 13 drivers/staging/rtl8723bs/include/hal_sdio.h u8 rtw_hal_sdio_query_tx_freepage(struct adapter *padapter, u8 PageIdx, u8 RequiredPageNum); padapter 14 drivers/staging/rtl8723bs/include/hal_sdio.h void rtw_hal_sdio_update_tx_freepage(struct adapter *padapter, u8 PageIdx, u8 RequiredPageNum); padapter 15 drivers/staging/rtl8723bs/include/hal_sdio.h void rtw_hal_set_sdio_tx_max_length(struct adapter *padapter, u8 numHQ, u8 numNQ, u8 numLQ, u8 numPubQ); padapter 16 drivers/staging/rtl8723bs/include/hal_sdio.h u32 rtw_hal_get_sdio_tx_max_length(struct adapter *padapter, u8 queue_idx); padapter 68 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h struct adapter *padapter; padapter 92 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h int rtw_wdev_alloc(struct adapter *padapter, struct device *dev); padapter 96 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h void rtw_cfg80211_init_wiphy(struct adapter *padapter); padapter 98 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h void rtw_cfg80211_unlink_bss(struct adapter *padapter, struct wlan_network *pnetwork); padapter 99 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h void rtw_cfg80211_surveydone_event_callback(struct adapter *padapter); padapter 100 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h struct cfg80211_bss *rtw_cfg80211_inform_bss(struct adapter *padapter, struct wlan_network *pnetwork); padapter 101 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h int rtw_cfg80211_check_bss(struct adapter *padapter); padapter 102 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h void rtw_cfg80211_ibss_indicate_connect(struct adapter *padapter); padapter 103 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h void rtw_cfg80211_indicate_connect(struct adapter *padapter); padapter 104 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h void rtw_cfg80211_indicate_disconnect(struct adapter *padapter); padapter 107 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h void rtw_cfg80211_indicate_sta_assoc(struct adapter *padapter, u8 *pmgmt_frame, uint frame_len); padapter 108 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h void rtw_cfg80211_indicate_sta_disassoc(struct adapter *padapter, unsigned char *da, unsigned short reason); padapter 11 drivers/staging/rtl8723bs/include/mlme_osdep.h extern void rtw_init_mlme_timer(struct adapter *padapter); padapter 14 drivers/staging/rtl8723bs/include/mlme_osdep.h void rtw_os_indicate_scan_done(struct adapter *padapter, bool aborted); padapter 40 drivers/staging/rtl8723bs/include/osdep_intf.h int rtw_start_pseudo_adhoc(struct adapter *padapter); padapter 41 drivers/staging/rtl8723bs/include/osdep_intf.h int rtw_stop_pseudo_adhoc(struct adapter *padapter); padapter 47 drivers/staging/rtl8723bs/include/osdep_intf.h u8 rtw_init_drv_sw(struct adapter *padapter); padapter 48 drivers/staging/rtl8723bs/include/osdep_intf.h u8 rtw_free_drv_sw(struct adapter *padapter); padapter 49 drivers/staging/rtl8723bs/include/osdep_intf.h void rtw_reset_drv_sw(struct adapter *padapter); padapter 50 drivers/staging/rtl8723bs/include/osdep_intf.h void rtw_dev_unload(struct adapter *padapter); padapter 52 drivers/staging/rtl8723bs/include/osdep_intf.h u32 rtw_start_drv_threads(struct adapter *padapter); padapter 53 drivers/staging/rtl8723bs/include/osdep_intf.h void rtw_stop_drv_threads (struct adapter *padapter); padapter 54 drivers/staging/rtl8723bs/include/osdep_intf.h void rtw_cancel_all_timer(struct adapter *padapter); padapter 59 drivers/staging/rtl8723bs/include/osdep_intf.h struct net_device *rtw_init_netdev(struct adapter *padapter); padapter 67 drivers/staging/rtl8723bs/include/osdep_intf.h void rtw_ips_dev_unload(struct adapter *padapter); padapter 69 drivers/staging/rtl8723bs/include/osdep_intf.h int rtw_ips_pwr_up(struct adapter *padapter); padapter 70 drivers/staging/rtl8723bs/include/osdep_intf.h void rtw_ips_pwr_down(struct adapter *padapter); padapter 72 drivers/staging/rtl8723bs/include/osdep_intf.h int rtw_drv_register_netdev(struct adapter *padapter); padapter 75 drivers/staging/rtl8723bs/include/osdep_intf.h int rtw_suspend_common(struct adapter *padapter); padapter 76 drivers/staging/rtl8723bs/include/osdep_intf.h int rtw_resume_common(struct adapter *padapter); padapter 11 drivers/staging/rtl8723bs/include/recv_osdep.h extern sint _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter); padapter 19 drivers/staging/rtl8723bs/include/recv_osdep.h extern void rtw_handle_tkip_mic_err(struct adapter *padapter, u8 bgroup); padapter 21 drivers/staging/rtl8723bs/include/recv_osdep.h int rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter); padapter 25 drivers/staging/rtl8723bs/include/recv_osdep.h void rtw_os_recv_resource_alloc(struct adapter *padapter, union recv_frame *precvframe); padapter 32 drivers/staging/rtl8723bs/include/recv_osdep.h void rtw_os_recvbuf_resource_free(struct adapter *padapter, struct recv_buf *precvbuf); padapter 35 drivers/staging/rtl8723bs/include/recv_osdep.h void rtw_os_recv_indicate_pkt(struct adapter *padapter, _pkt *pkt, struct rx_pkt_attrib *pattrib); padapter 166 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_set_FwPwrMode_cmd(struct adapter *padapter, u8 Mode); padapter 167 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_set_FwJoinBssRpt_cmd(struct adapter *padapter, u8 mstatus); padapter 168 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_set_rssi_cmd(struct adapter *padapter, u8 *param); padapter 169 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_Add_RateATid(struct adapter *padapter, u32 bitmap, u8 *arg, u8 rssi_level); padapter 170 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_fw_try_ap_cmd(struct adapter *padapter, u32 need_ack); padapter 172 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_set_FwPsTuneParam_cmd(struct adapter *padapter); padapter 173 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_set_FwMacIdConfig_cmd(struct adapter *padapter, u8 mac_id, u8 raid, u8 bw, u8 sgi, u32 mask); padapter 174 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_set_FwMediaStatusRpt_cmd(struct adapter *padapter, u8 mstatus, u8 macid); padapter 175 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_download_rsvd_page(struct adapter *padapter, u8 mstatus); padapter 176 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_download_BTCoex_AP_mode_rsvd_page(struct adapter *padapter); padapter 178 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void CheckFwRsvdPageContent(struct adapter *padapter); padapter 181 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_set_wowlan_cmd(struct adapter *padapter, u8 enable); padapter 182 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_set_ap_wowlan_cmd(struct adapter *padapter, u8 enable); padapter 183 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void SetFwRelatedForWoWLAN8723b(struct adapter *padapter, u8 bHostIsGoingtoSleep); padapter 186 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h void rtl8723b_set_FwPwrModeInIPS_cmd(struct adapter *padapter, u8 cmd_param); padapter 188 drivers/staging/rtl8723bs/include/rtl8723b_cmd.h s32 FillH2CCmd8723B(struct adapter *padapter, u8 ElementID, u32 CmdLen, u8 *pCmdBuffer); padapter 25 drivers/staging/rtl8723bs/include/rtl8723b_dm.h void rtl8723b_init_dm_priv(struct adapter *padapter); padapter 27 drivers/staging/rtl8723bs/include/rtl8723b_dm.h void rtl8723b_InitHalDm(struct adapter *padapter); padapter 28 drivers/staging/rtl8723bs/include/rtl8723b_dm.h void rtl8723b_HalDmWatchDog(struct adapter *padapter); padapter 29 drivers/staging/rtl8723bs/include/rtl8723b_dm.h void rtl8723b_HalDmWatchDog_in_LPS(struct adapter *padapter); padapter 30 drivers/staging/rtl8723bs/include/rtl8723b_dm.h void rtl8723b_hal_dm_in_lps(struct adapter *padapter); padapter 221 drivers/staging/rtl8723bs/include/rtl8723b_hal.h s32 rtl8723b_FirmwareDownload(struct adapter *padapter, bool bUsedWoWLANFw); padapter 222 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void rtl8723b_FirmwareSelfReset(struct adapter *padapter); padapter 223 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void rtl8723b_InitializeFirmwareVars(struct adapter *padapter); padapter 225 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void rtl8723b_InitAntenna_Selection(struct adapter *padapter); padapter 226 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void rtl8723b_init_default_value(struct adapter *padapter); padapter 228 drivers/staging/rtl8723bs/include/rtl8723b_hal.h s32 rtl8723b_InitLLTTable(struct adapter *padapter); padapter 231 drivers/staging/rtl8723bs/include/rtl8723b_hal.h u8 GetEEPROMSize8723B(struct adapter *padapter); padapter 232 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void Hal_InitPGData(struct adapter *padapter, u8 *PROMContent); padapter 233 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void Hal_EfuseParseIDCode(struct adapter *padapter, u8 *hwinfo); padapter 234 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void Hal_EfuseParseTxPowerInfo_8723B(struct adapter *padapter, u8 *PROMContent, padapter 236 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void Hal_EfuseParseBTCoexistInfo_8723B(struct adapter *padapter, u8 *hwinfo, padapter 238 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void Hal_EfuseParseEEPROMVer_8723B(struct adapter *padapter, u8 *hwinfo, padapter 240 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void Hal_EfuseParseChnlPlan_8723B(struct adapter *padapter, u8 *hwinfo, padapter 242 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void Hal_EfuseParseCustomerID_8723B(struct adapter *padapter, u8 *hwinfo, padapter 244 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void Hal_EfuseParseAntennaDiversity_8723B(struct adapter *padapter, u8 *hwinfo, padapter 246 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void Hal_EfuseParseXtal_8723B(struct adapter *padapter, u8 *hwinfo, padapter 248 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void Hal_EfuseParseThermalMeter_8723B(struct adapter *padapter, u8 *hwinfo, padapter 250 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void Hal_EfuseParsePackageType_8723B(struct adapter *padapter, u8 *hwinfo, padapter 252 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void Hal_EfuseParseVoltage_8723B(struct adapter *padapter, u8 *hwinfo, padapter 255 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void C2HPacketHandler_8723B(struct adapter *padapter, u8 *pbuffer, u16 length); padapter 258 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void SetHwReg8723B(struct adapter *padapter, u8 variable, u8 *val); padapter 259 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void GetHwReg8723B(struct adapter *padapter, u8 variable, u8 *val); padapter 260 drivers/staging/rtl8723bs/include/rtl8723b_hal.h u8 SetHalDefVar8723B(struct adapter *padapter, enum HAL_DEF_VARIABLE variable, padapter 262 drivers/staging/rtl8723bs/include/rtl8723b_hal.h u8 GetHalDefVar8723B(struct adapter *padapter, enum HAL_DEF_VARIABLE variable, padapter 266 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void rtl8723b_InitBeaconParameters(struct adapter *padapter); padapter 268 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void _8051Reset8723(struct adapter *padapter); padapter 270 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void Hal_DetectWoWMode(struct adapter *padapter); padapter 273 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void rtl8723b_start_thread(struct adapter *padapter); padapter 274 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void rtl8723b_stop_thread(struct adapter *padapter); padapter 284 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void HalSetOutPutGPIO(struct adapter *padapter, u8 index, u8 OutPutValue); padapter 289 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void CCX_FwC2HTxRpt_8723b(struct adapter *padapter, u8 *pdata, u8 len); padapter 291 drivers/staging/rtl8723bs/include/rtl8723b_hal.h s32 c2h_handler_8723b(struct adapter *padapter, u8 *pC2hEvent); padapter 295 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void Hal_ReadRFGainOffset(struct adapter *padapter, u8 *hwinfo, padapter 130 drivers/staging/rtl8723bs/include/rtl8723b_recv.h s32 rtl8723bs_init_recv_priv(struct adapter *padapter); padapter 131 drivers/staging/rtl8723bs/include/rtl8723b_recv.h void rtl8723bs_free_recv_priv(struct adapter *padapter); padapter 134 drivers/staging/rtl8723bs/include/rtl8723b_recv.h void rtl8723b_process_phy_info(struct adapter *padapter, void *prframe); padapter 436 drivers/staging/rtl8723bs/include/rtl8723b_xmit.h void rtl8723b_fill_fake_txdesc(struct adapter *padapter, u8 *pDesc, u32 BufferLen, u8 IsPsPoll, u8 IsBTQosNull, u8 bDataFrame); padapter 438 drivers/staging/rtl8723bs/include/rtl8723b_xmit.h s32 rtl8723bs_init_xmit_priv(struct adapter *padapter); padapter 439 drivers/staging/rtl8723bs/include/rtl8723b_xmit.h void rtl8723bs_free_xmit_priv(struct adapter *padapter); padapter 440 drivers/staging/rtl8723bs/include/rtl8723b_xmit.h s32 rtl8723bs_hal_xmit(struct adapter *padapter, struct xmit_frame *pxmitframe); padapter 441 drivers/staging/rtl8723bs/include/rtl8723b_xmit.h s32 rtl8723bs_mgnt_xmit(struct adapter *padapter, struct xmit_frame *pmgntframe); padapter 442 drivers/staging/rtl8723bs/include/rtl8723b_xmit.h s32 rtl8723bs_hal_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe); padapter 443 drivers/staging/rtl8723bs/include/rtl8723b_xmit.h s32 rtl8723bs_xmit_buf_handler(struct adapter *padapter); padapter 10 drivers/staging/rtl8723bs/include/rtw_ap.h void init_mlme_ap_info(struct adapter *padapter); padapter 11 drivers/staging/rtl8723bs/include/rtw_ap.h void free_mlme_ap_info(struct adapter *padapter); padapter 13 drivers/staging/rtl8723bs/include/rtw_ap.h void update_beacon(struct adapter *padapter, u8 ie_id, u8 *oui, u8 tx); padapter 14 drivers/staging/rtl8723bs/include/rtw_ap.h void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level); padapter 15 drivers/staging/rtl8723bs/include/rtw_ap.h void expire_timeout_chk(struct adapter *padapter); padapter 16 drivers/staging/rtl8723bs/include/rtw_ap.h void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta); padapter 17 drivers/staging/rtl8723bs/include/rtw_ap.h void start_bss_network(struct adapter *padapter, u8 *pbuf); padapter 18 drivers/staging/rtl8723bs/include/rtw_ap.h int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len); padapter 19 drivers/staging/rtl8723bs/include/rtw_ap.h void rtw_ap_restore_network(struct adapter *padapter); padapter 20 drivers/staging/rtl8723bs/include/rtw_ap.h void rtw_set_macaddr_acl(struct adapter *padapter, int mode); padapter 21 drivers/staging/rtl8723bs/include/rtw_ap.h int rtw_acl_add_sta(struct adapter *padapter, u8 *addr); padapter 22 drivers/staging/rtl8723bs/include/rtw_ap.h void rtw_acl_remove_sta(struct adapter *padapter, u8 *addr); padapter 24 drivers/staging/rtl8723bs/include/rtw_ap.h u8 rtw_ap_set_pairwise_key(struct adapter *padapter, struct sta_info *psta); padapter 25 drivers/staging/rtl8723bs/include/rtw_ap.h int rtw_ap_set_group_key(struct adapter *padapter, u8 *key, u8 alg, int keyid); padapter 26 drivers/staging/rtl8723bs/include/rtw_ap.h int rtw_ap_set_wep_key(struct adapter *padapter, u8 *key, u8 keylen, int keyid, u8 set_tx); padapter 28 drivers/staging/rtl8723bs/include/rtw_ap.h void associated_clients_update(struct adapter *padapter, u8 updated); padapter 29 drivers/staging/rtl8723bs/include/rtw_ap.h void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta); padapter 30 drivers/staging/rtl8723bs/include/rtw_ap.h u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta); padapter 31 drivers/staging/rtl8723bs/include/rtw_ap.h void sta_info_update(struct adapter *padapter, struct sta_info *psta); padapter 32 drivers/staging/rtl8723bs/include/rtw_ap.h void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta); padapter 33 drivers/staging/rtl8723bs/include/rtw_ap.h u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta, bool active, u16 reason); padapter 34 drivers/staging/rtl8723bs/include/rtw_ap.h void rtw_sta_flush(struct adapter *padapter); padapter 35 drivers/staging/rtl8723bs/include/rtw_ap.h void start_ap_mode(struct adapter *padapter); padapter 36 drivers/staging/rtl8723bs/include/rtw_ap.h void stop_ap_mode(struct adapter *padapter); padapter 39 drivers/staging/rtl8723bs/include/rtw_ap.h void update_bmc_sta(struct adapter *padapter); padapter 23 drivers/staging/rtl8723bs/include/rtw_cmd.h struct adapter *padapter; padapter 55 drivers/staging/rtl8723bs/include/rtw_cmd.h struct adapter *padapter; padapter 828 drivers/staging/rtl8723bs/include/rtw_cmd.h u8 rtw_sitesurvey_cmd(struct adapter *padapter, struct ndis_802_11_ssid *ssid, int ssid_num, struct rtw_ieee80211_channel *ch, int ch_num); padapter 829 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_createbss_cmd(struct adapter *padapter); padapter 830 drivers/staging/rtl8723bs/include/rtw_cmd.h int rtw_startbss_cmd(struct adapter *padapter, int flags); padapter 833 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_setstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 unicast_key, bool enqueue); padapter 834 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_clearstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 enqueue); padapter 836 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network* pnetwork); padapter 837 drivers/staging/rtl8723bs/include/rtw_cmd.h u8 rtw_disassoc_cmd(struct adapter *padapter, u32 deauth_timeout_ms, bool enqueue); padapter 838 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_setopmode_cmd(struct adapter *padapter, enum NDIS_802_11_NETWORK_INFRASTRUCTURE networktype, bool enqueue); padapter 839 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_setdatarate_cmd(struct adapter *padapter, u8 *rateset); padapter 840 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_setrfintfs_cmd(struct adapter *padapter, u8 mode); padapter 842 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_gettssi_cmd(struct adapter *padapter, u8 offset, u8 *pval); padapter 843 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_setfwdig_cmd(struct adapter *padapter, u8 type); padapter 844 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_setfwra_cmd(struct adapter *padapter, u8 type); padapter 846 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_addbareq_cmd(struct adapter *padapter, u8 tid, u8 *addr); padapter 848 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_reset_securitypriv_cmd(struct adapter *padapter); padapter 849 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_free_assoc_resources_cmd(struct adapter *padapter); padapter 852 drivers/staging/rtl8723bs/include/rtw_cmd.h u8 rtw_lps_ctrl_wk_cmd(struct adapter *padapter, u8 lps_ctrl_type, u8 enqueue); padapter 853 drivers/staging/rtl8723bs/include/rtw_cmd.h u8 rtw_dm_in_lps_wk_cmd(struct adapter *padapter); padapter 855 drivers/staging/rtl8723bs/include/rtw_cmd.h u8 rtw_dm_ra_mask_wk_cmd(struct adapter *padapter, u8 *psta); padapter 857 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_ps_cmd(struct adapter *padapter); padapter 859 drivers/staging/rtl8723bs/include/rtw_cmd.h u8 rtw_chk_hi_queue_cmd(struct adapter *padapter); padapter 861 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_set_chplan_cmd(struct adapter *padapter, u8 chplan, u8 enqueue, u8 swconfig); padapter 863 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_c2h_packet_wk_cmd(struct adapter *padapter, u8 *pbuf, u16 length); padapter 864 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_c2h_wk_cmd(struct adapter *padapter, u8 *c2h_evt); padapter 866 drivers/staging/rtl8723bs/include/rtw_cmd.h u8 rtw_drvextra_cmd_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 868 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_survey_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); padapter 869 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_disassoc_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); padapter 870 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_joinbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); padapter 871 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_createbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); padapter 872 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_getbbrfreg_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd); padapter 874 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_setstaKey_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd); padapter 875 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_setassocsta_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd); padapter 876 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_getrttbl_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd); padapter 881 drivers/staging/rtl8723bs/include/rtw_cmd.h void (*callback)(struct adapter *padapter, struct cmd_obj *cmd); padapter 106 drivers/staging/rtl8723bs/include/rtw_efuse.h u16 Efuse_GetCurrentSize(struct adapter *padapter, u8 efuseType, bool bPseudoTest); padapter 108 drivers/staging/rtl8723bs/include/rtw_efuse.h void EFUSE_GetEfuseDefinition(struct adapter *padapter, u8 efuseType, u8 type, void *pOut, bool bPseudoTest); padapter 109 drivers/staging/rtl8723bs/include/rtw_efuse.h u8 efuse_OneByteRead(struct adapter *padapter, u16 addr, u8 *data, bool bPseudoTest); padapter 110 drivers/staging/rtl8723bs/include/rtw_efuse.h u8 efuse_OneByteWrite(struct adapter *padapter, u16 addr, u8 data, bool bPseudoTest); padapter 112 drivers/staging/rtl8723bs/include/rtw_efuse.h void Efuse_PowerSwitch(struct adapter *padapter, u8 bWrite, u8 PwrState); padapter 113 drivers/staging/rtl8723bs/include/rtw_efuse.h int Efuse_PgPacketRead(struct adapter *padapter, u8 offset, u8 *data, bool bPseudoTest); padapter 114 drivers/staging/rtl8723bs/include/rtw_efuse.h int Efuse_PgPacketWrite(struct adapter *padapter, u8 offset, u8 word_en, u8 *data, bool bPseudoTest); padapter 116 drivers/staging/rtl8723bs/include/rtw_efuse.h u8 Efuse_WordEnableDataWrite(struct adapter *padapter, u16 efuse_addr, u8 word_en, u8 *data, bool bPseudoTest); padapter 118 drivers/staging/rtl8723bs/include/rtw_efuse.h u8 EFUSE_Read1Byte(struct adapter *padapter, u16 Address); padapter 119 drivers/staging/rtl8723bs/include/rtw_efuse.h void EFUSE_ShadowMapUpdate(struct adapter *padapter, u8 efuseType, bool bPseudoTest); padapter 120 drivers/staging/rtl8723bs/include/rtw_efuse.h void EFUSE_ShadowRead(struct adapter *padapter, u8 Type, u16 Offset, u32 *Value); padapter 121 drivers/staging/rtl8723bs/include/rtw_efuse.h void Rtw_Hal_ReadMACAddrFromFile(struct adapter *padapter); padapter 122 drivers/staging/rtl8723bs/include/rtw_efuse.h u32 Rtw_Hal_readPGDataFromConfigFile(struct adapter *padapter); padapter 124 drivers/staging/rtl8723bs/include/rtw_io.h struct adapter *padapter; padapter 264 drivers/staging/rtl8723bs/include/rtw_io.h struct adapter *padapter; padapter 340 drivers/staging/rtl8723bs/include/rtw_io.h int rtw_init_io_priv(struct adapter *padapter, void (*set_intf_ops)(struct adapter *padapter, struct _io_ops *pops)); padapter 20 drivers/staging/rtl8723bs/include/rtw_ioctl_set.h u8 rtw_set_802_11_bssid(struct adapter *padapter, u8 *bssid); padapter 21 drivers/staging/rtl8723bs/include/rtw_ioctl_set.h u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep * wep); padapter 22 drivers/staging/rtl8723bs/include/rtw_ioctl_set.h u8 rtw_set_802_11_disassociate(struct adapter *padapter); padapter 23 drivers/staging/rtl8723bs/include/rtw_ioctl_set.h u8 rtw_set_802_11_bssid_list_scan(struct adapter *padapter, struct ndis_802_11_ssid *pssid, int ssid_max_num); padapter 24 drivers/staging/rtl8723bs/include/rtw_ioctl_set.h u8 rtw_set_802_11_infrastructure_mode(struct adapter *padapter, enum NDIS_802_11_NETWORK_INFRASTRUCTURE networktype); padapter 25 drivers/staging/rtl8723bs/include/rtw_ioctl_set.h u8 rtw_set_802_11_ssid(struct adapter *padapter, struct ndis_802_11_ssid * ssid); padapter 26 drivers/staging/rtl8723bs/include/rtw_ioctl_set.h u8 rtw_set_802_11_connect(struct adapter *padapter, u8 *bssid, struct ndis_802_11_ssid *ssid); padapter 217 drivers/staging/rtl8723bs/include/rtw_mlme.h struct adapter * padapter; padapter 468 drivers/staging/rtl8723bs/include/rtw_mlme.h struct adapter *padapter; padapter 471 drivers/staging/rtl8723bs/include/rtw_mlme.h extern int hostapd_mode_init(struct adapter *padapter); padapter 472 drivers/staging/rtl8723bs/include/rtw_mlme.h extern void hostapd_mode_unload(struct adapter *padapter); padapter 482 drivers/staging/rtl8723bs/include/rtw_mlme.h extern void rtw_wmm_event_callback(struct adapter *padapter, u8 *pbuf); padapter 573 drivers/staging/rtl8723bs/include/rtw_mlme.h void rtw_indicate_scan_done(struct adapter *padapter, bool aborted); padapter 607 drivers/staging/rtl8723bs/include/rtw_mlme.h extern sint rtw_if_up(struct adapter *padapter); padapter 609 drivers/staging/rtl8723bs/include/rtw_mlme.h sint rtw_linked_check(struct adapter *padapter); padapter 615 drivers/staging/rtl8723bs/include/rtw_mlme.h void rtw_joinbss_reset(struct adapter *padapter); padapter 617 drivers/staging/rtl8723bs/include/rtw_mlme.h void rtw_ht_use_default_setting(struct adapter *padapter); padapter 618 drivers/staging/rtl8723bs/include/rtw_mlme.h void rtw_build_wmm_ie_ht(struct adapter *padapter, u8 *out_ie, uint *pout_len); padapter 619 drivers/staging/rtl8723bs/include/rtw_mlme.h unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_ie, uint in_len, uint *pout_len, u8 channel); padapter 620 drivers/staging/rtl8723bs/include/rtw_mlme.h void rtw_update_ht_cap(struct adapter *padapter, u8 *pie, uint ie_len, u8 channel); padapter 621 drivers/staging/rtl8723bs/include/rtw_mlme.h void rtw_issue_addbareq_cmd(struct adapter *padapter, struct xmit_frame *pxmitframe); padapter 622 drivers/staging/rtl8723bs/include/rtw_mlme.h void rtw_append_exented_cap(struct adapter *padapter, u8 *out_ie, uint *pout_len); padapter 318 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int (*func)(struct adapter *padapter, union recv_frame *precv_frame); padapter 324 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int (*func)(struct adapter *padapter, union recv_frame *precv_frame); padapter 477 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h struct adapter *padapter; padapter 537 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void init_mlme_default_rate_set(struct adapter *padapter); padapter 538 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void init_mlme_ext_priv(struct adapter *padapter); padapter 539 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int init_hw_mlme_ext(struct adapter *padapter); padapter 541 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern void init_mlme_ext_timer(struct adapter *padapter); padapter 542 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta); padapter 549 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void get_rate_set(struct adapter *padapter, unsigned char *pbssrate, int *bssrate_len); padapter 551 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void UpdateBrateTbl(struct adapter *padapter, u8 *mBratesOS); padapter 554 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void Save_DM_Func_Flag(struct adapter *padapter); padapter 555 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void Restore_DM_Func_Flag(struct adapter *padapter); padapter 556 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void Switch_DM_Func(struct adapter *padapter, u32 mode, u8 enable); padapter 558 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void Set_MSR(struct adapter *padapter, u8 type); padapter 569 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void set_channel_bwmode(struct adapter *padapter, unsigned char channel, unsigned char channel_offset, unsigned short bwmode); padapter 570 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void SelectChannel(struct adapter *padapter, unsigned char channel); padapter 574 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void read_cam(struct adapter *padapter , u8 entry, u8 *get_key); padapter 577 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void _write_cam(struct adapter *padapter, u8 entry, u16 ctrl, u8 *mac, u8 *key); padapter 578 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void _clear_cam_entry(struct adapter *padapter, u8 entry); padapter 582 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void write_cam(struct adapter *padapter, u8 id, u16 ctrl, u8 *mac, u8 *key); padapter 583 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void clear_cam_entry(struct adapter *padapter, u8 id); padapter 589 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void invalidate_cam_all(struct adapter *padapter); padapter 592 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int allocate_fw_sta_entry(struct adapter *padapter); padapter 593 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void flush_all_cam_entry(struct adapter *padapter); padapter 595 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void site_survey(struct adapter *padapter); padapter 596 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 collect_bss_info(struct adapter *padapter, union recv_frame *precv_frame, struct wlan_bssid_ex *bssid); padapter 597 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void update_network(struct wlan_bssid_ex *dst, struct wlan_bssid_ex *src, struct adapter *padapter, bool update_ie); padapter 602 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int is_client_associated_to_ap(struct adapter *padapter); padapter 603 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int is_client_associated_to_ibss(struct adapter *padapter); padapter 604 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int is_IBSS_empty(struct adapter *padapter); padapter 608 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int WMM_param_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE); padapter 609 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void WMMOnAssocRsp(struct adapter *padapter); padapter 611 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void HT_caps_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE); padapter 612 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void HT_info_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE); padapter 613 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void HTOnAssocRsp(struct adapter *padapter); padapter 615 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void ERP_IE_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE); padapter 616 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void VCS_update(struct adapter *padapter, struct sta_info *psta); padapter 619 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void update_beacon_info(struct adapter *padapter, u8 *pframe, uint len, struct sta_info *psta); padapter 621 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void update_IOT_info(struct adapter *padapter); padapter 623 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void update_wireless_mode(struct adapter *padapter); padapter 625 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int update_sta_support_rate(struct adapter *padapter, u8 *pvar_ie, uint var_ie_len, int cam_idx); padapter 628 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void update_sta_info(struct adapter *padapter, struct sta_info *psta); padapter 629 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void Update_RA_Entry(struct adapter *padapter, struct sta_info *psta); padapter 630 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void set_sta_rate(struct adapter *padapter, struct sta_info *psta); padapter 632 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int receive_disconnect(struct adapter *padapter, unsigned char *MacAddr, unsigned short reason); padapter 635 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int support_short_GI(struct adapter *padapter, struct HT_caps_element *pHT_caps, u8 bwmode); padapter 636 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int is_ap_in_tkip(struct adapter *padapter); padapter 642 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern void rtw_alloc_macid(struct adapter *padapter, struct sta_info *psta); padapter 643 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern void rtw_release_macid(struct adapter *padapter, struct sta_info *psta); padapter 644 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern u8 rtw_search_max_mac_id(struct adapter *padapter); padapter 646 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void report_join_res(struct adapter *padapter, int res); padapter 647 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void report_survey_event(struct adapter *padapter, union recv_frame *precv_frame); padapter 648 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void report_surveydone_event(struct adapter *padapter); padapter 649 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void report_del_sta_event(struct adapter *padapter, unsigned char* MacAddr, unsigned short reason); padapter 650 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void report_add_sta_event(struct adapter *padapter, unsigned char* MacAddr, int cam_idx); padapter 651 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void report_wmm_edca_update(struct adapter *padapter); padapter 653 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 chk_bmc_sleepq_cmd(struct adapter *padapter); padapter 654 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern u8 set_tx_beacon_cmd(struct adapter *padapter); padapter 655 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int setup_beacon_frame(struct adapter *padapter, unsigned char *beacon_frame); padapter 656 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void update_mgnt_tx_rate(struct adapter *padapter, u8 rate); padapter 657 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void update_mgntframe_attrib(struct adapter *padapter, struct pkt_attrib *pattrib); padapter 658 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void update_mgntframe_attrib_addr(struct adapter *padapter, struct xmit_frame *pmgntframe); padapter 659 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void dump_mgntframe(struct adapter *padapter, struct xmit_frame *pmgntframe); padapter 660 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h s32 dump_mgntframe_and_wait(struct adapter *padapter, struct xmit_frame *pmgntframe, int timeout_ms); padapter 661 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h s32 dump_mgntframe_and_wait_ack(struct adapter *padapter, struct xmit_frame *pmgntframe); padapter 663 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void issue_beacon(struct adapter *padapter, int timeout_ms); padapter 664 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void issue_probersp(struct adapter *padapter, unsigned char *da, u8 is_valid_p2p_probereq); padapter 665 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void issue_assocreq(struct adapter *padapter); padapter 666 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void issue_asocrsp(struct adapter *padapter, unsigned short status, struct sta_info *pstat, int pkt_type); padapter 667 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void issue_auth(struct adapter *padapter, struct sta_info *psta, unsigned short status); padapter 668 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void issue_probereq(struct adapter *padapter, struct ndis_802_11_ssid *pssid, u8 *da); padapter 669 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h s32 issue_probereq_ex(struct adapter *padapter, struct ndis_802_11_ssid *pssid, u8 *da, u8 ch, bool append_wps, int try_cnt, int wait_ms); padapter 670 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int issue_nulldata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms); padapter 671 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h s32 issue_nulldata_in_interrupt(struct adapter *padapter, u8 *da); padapter 672 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int issue_qos_nulldata(struct adapter *padapter, unsigned char *da, u16 tid, int try_cnt, int wait_ms); padapter 673 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int issue_deauth(struct adapter *padapter, unsigned char *da, unsigned short reason); padapter 674 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int issue_deauth_ex(struct adapter *padapter, u8 *da, unsigned short reason, int try_cnt, int wait_ms); padapter 675 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void issue_action_BA(struct adapter *padapter, unsigned char *raddr, unsigned char action, unsigned short status); padapter 676 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void issue_action_SA_Query(struct adapter *padapter, unsigned char *raddr, unsigned char action, unsigned short tid); padapter 677 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int send_delba(struct adapter *padapter, u8 initiator, u8 *addr); padapter 678 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int send_beacon(struct adapter *padapter); padapter 680 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void start_clnt_assoc(struct adapter *padapter); padapter 681 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void start_clnt_auth(struct adapter *padapter); padapter 682 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void start_clnt_join(struct adapter *padapter); padapter 683 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void start_create_ibss(struct adapter *padapter); padapter 685 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int OnAssocReq(struct adapter *padapter, union recv_frame *precv_frame); padapter 686 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int OnAssocRsp(struct adapter *padapter, union recv_frame *precv_frame); padapter 687 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int OnProbeReq(struct adapter *padapter, union recv_frame *precv_frame); padapter 688 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int OnProbeRsp(struct adapter *padapter, union recv_frame *precv_frame); padapter 689 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int DoReserved(struct adapter *padapter, union recv_frame *precv_frame); padapter 690 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int OnBeacon(struct adapter *padapter, union recv_frame *precv_frame); padapter 691 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int OnAtim(struct adapter *padapter, union recv_frame *precv_frame); padapter 692 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int OnDisassoc(struct adapter *padapter, union recv_frame *precv_frame); padapter 693 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int OnAuth(struct adapter *padapter, union recv_frame *precv_frame); padapter 694 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int OnAuthClient(struct adapter *padapter, union recv_frame *precv_frame); padapter 695 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int OnDeAuth(struct adapter *padapter, union recv_frame *precv_frame); padapter 696 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int OnAction(struct adapter *padapter, union recv_frame *precv_frame); padapter 698 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int on_action_spct(struct adapter *padapter, union recv_frame *precv_frame); padapter 699 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int OnAction_back(struct adapter *padapter, union recv_frame *precv_frame); padapter 700 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int on_action_public(struct adapter *padapter, union recv_frame *precv_frame); padapter 701 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int OnAction_ht(struct adapter *padapter, union recv_frame *precv_frame); padapter 702 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int OnAction_sa_query(struct adapter *padapter, union recv_frame *precv_frame); padapter 704 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void mlmeext_joinbss_event_callback(struct adapter *padapter, int join_res); padapter 705 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void mlmeext_sta_del_event_callback(struct adapter *padapter); padapter 706 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void mlmeext_sta_add_event_callback(struct adapter *padapter, struct sta_info *psta); padapter 708 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void linked_status_chk(struct adapter *padapter); padapter 710 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h void _linked_info_dump(struct adapter *padapter); padapter 738 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern void process_addba_req(struct adapter *padapter, u8 *paddba_req, u8 *addr); padapter 741 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern void correct_TSF(struct adapter *padapter, struct mlme_ext_priv *pmlmeext); padapter 743 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern u8 traffic_status_watchdog(struct adapter *padapter, u8 from_timer); padapter 745 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int rtw_chk_start_clnt_join(struct adapter *padapter, u8 *ch, u8 *bw, u8 *offset); padapter 750 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 (*h2cfuns)(struct adapter *padapter, u8 *pbuf); padapter 754 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 read_macreg_hdl(struct adapter *padapter, u8 *pbuf); padapter 755 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 write_macreg_hdl(struct adapter *padapter, u8 *pbuf); padapter 756 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 read_bbreg_hdl(struct adapter *padapter, u8 *pbuf); padapter 757 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 write_bbreg_hdl(struct adapter *padapter, u8 *pbuf); padapter 758 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 read_rfreg_hdl(struct adapter *padapter, u8 *pbuf); padapter 759 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 write_rfreg_hdl(struct adapter *padapter, u8 *pbuf); padapter 762 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 NULL_hdl(struct adapter *padapter, u8 *pbuf); padapter 763 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 join_cmd_hdl(struct adapter *padapter, u8 *pbuf); padapter 764 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 disconnect_hdl(struct adapter *padapter, u8 *pbuf); padapter 765 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 createbss_hdl(struct adapter *padapter, u8 *pbuf); padapter 766 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 setopmode_hdl(struct adapter *padapter, u8 *pbuf); padapter 767 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 sitesurvey_cmd_hdl(struct adapter *padapter, u8 *pbuf); padapter 768 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 setauth_hdl(struct adapter *padapter, u8 *pbuf); padapter 769 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 setkey_hdl(struct adapter *padapter, u8 *pbuf); padapter 770 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 set_stakey_hdl(struct adapter *padapter, u8 *pbuf); padapter 771 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 set_assocsta_hdl(struct adapter *padapter, u8 *pbuf); padapter 772 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 del_assocsta_hdl(struct adapter *padapter, u8 *pbuf); padapter 773 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 add_ba_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 775 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 mlme_evt_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 776 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 h2c_msg_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 777 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 chk_bmc_sleepq_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 778 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 tx_beacon_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 779 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 set_ch_hdl(struct adapter *padapter, u8 *pbuf); padapter 780 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 set_chplan_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 781 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 led_blink_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 782 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 set_csa_hdl(struct adapter *padapter, unsigned char *pbuf); /* Kurt: Handling DFS channel switch announcement ie. */ padapter 783 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 tdls_hdl(struct adapter *padapter, unsigned char *pbuf); padapter 784 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u8 run_in_thread_hdl(struct adapter *padapter, u8 *pbuf); padapter 23 drivers/staging/rtl8723bs/include/rtw_mp.h struct adapter *padapter; padapter 36 drivers/staging/rtl8723bs/include/rtw_mp.h typedef void(*wi_act_func)(void* padapter); padapter 424 drivers/staging/rtl8723bs/include/rtw_mp.h s32 init_mp_priv(struct adapter *padapter); padapter 426 drivers/staging/rtl8723bs/include/rtw_mp.h s32 MPT_InitializeAdapter(struct adapter *padapter, u8 Channel); padapter 427 drivers/staging/rtl8723bs/include/rtw_mp.h void MPT_DeInitAdapter(struct adapter *padapter); padapter 428 drivers/staging/rtl8723bs/include/rtw_mp.h s32 mp_start_test(struct adapter *padapter); padapter 429 drivers/staging/rtl8723bs/include/rtw_mp.h void mp_stop_test(struct adapter *padapter); padapter 431 drivers/staging/rtl8723bs/include/rtw_mp.h u32 _read_rfreg(struct adapter *padapter, u8 rfpath, u32 addr, u32 bitmask); padapter 432 drivers/staging/rtl8723bs/include/rtw_mp.h void _write_rfreg(struct adapter *padapter, u8 rfpath, u32 addr, u32 bitmask, u32 val); padapter 434 drivers/staging/rtl8723bs/include/rtw_mp.h u32 read_macreg(struct adapter *padapter, u32 addr, u32 sz); padapter 435 drivers/staging/rtl8723bs/include/rtw_mp.h void write_macreg(struct adapter *padapter, u32 addr, u32 val, u32 sz); padapter 436 drivers/staging/rtl8723bs/include/rtw_mp.h u32 read_bbreg(struct adapter *padapter, u32 addr, u32 bitmask); padapter 437 drivers/staging/rtl8723bs/include/rtw_mp.h void write_bbreg(struct adapter *padapter, u32 addr, u32 bitmask, u32 val); padapter 438 drivers/staging/rtl8723bs/include/rtw_mp.h u32 read_rfreg(struct adapter *padapter, u8 rfpath, u32 addr); padapter 439 drivers/staging/rtl8723bs/include/rtw_mp.h void write_rfreg(struct adapter *padapter, u8 rfpath, u32 addr, u32 val); padapter 441 drivers/staging/rtl8723bs/include/rtw_mp.h void SetChannel(struct adapter *padapter); padapter 442 drivers/staging/rtl8723bs/include/rtw_mp.h void SetBandwidth(struct adapter *padapter); padapter 443 drivers/staging/rtl8723bs/include/rtw_mp.h int SetTxPower(struct adapter *padapter); padapter 444 drivers/staging/rtl8723bs/include/rtw_mp.h void SetAntennaPathPower(struct adapter *padapter); padapter 445 drivers/staging/rtl8723bs/include/rtw_mp.h void SetDataRate(struct adapter *padapter); padapter 447 drivers/staging/rtl8723bs/include/rtw_mp.h void SetAntenna(struct adapter *padapter); padapter 449 drivers/staging/rtl8723bs/include/rtw_mp.h s32 SetThermalMeter(struct adapter *padapter, u8 target_ther); padapter 450 drivers/staging/rtl8723bs/include/rtw_mp.h void GetThermalMeter(struct adapter *padapter, u8 *value); padapter 452 drivers/staging/rtl8723bs/include/rtw_mp.h void SetContinuousTx(struct adapter *padapter, u8 bStart); padapter 453 drivers/staging/rtl8723bs/include/rtw_mp.h void SetSingleCarrierTx(struct adapter *padapter, u8 bStart); padapter 454 drivers/staging/rtl8723bs/include/rtw_mp.h void SetSingleToneTx(struct adapter *padapter, u8 bStart); padapter 455 drivers/staging/rtl8723bs/include/rtw_mp.h void SetCarrierSuppressionTx(struct adapter *padapter, u8 bStart); padapter 456 drivers/staging/rtl8723bs/include/rtw_mp.h void PhySetTxPowerLevel(struct adapter *padapter); padapter 458 drivers/staging/rtl8723bs/include/rtw_mp.h void fill_txdesc_for_mp(struct adapter *padapter, u8 *ptxdesc); padapter 459 drivers/staging/rtl8723bs/include/rtw_mp.h void SetPacketTx(struct adapter *padapter); padapter 460 drivers/staging/rtl8723bs/include/rtw_mp.h void SetPacketRx(struct adapter *padapter, u8 bStartRx); padapter 462 drivers/staging/rtl8723bs/include/rtw_mp.h void ResetPhyRxPktCount(struct adapter *padapter); padapter 463 drivers/staging/rtl8723bs/include/rtw_mp.h u32 GetPhyRxPktReceived(struct adapter *padapter); padapter 464 drivers/staging/rtl8723bs/include/rtw_mp.h u32 GetPhyRxPktCRC32Error(struct adapter *padapter); padapter 466 drivers/staging/rtl8723bs/include/rtw_mp.h s32 SetPowerTracking(struct adapter *padapter, u8 enable); padapter 467 drivers/staging/rtl8723bs/include/rtw_mp.h void GetPowerTracking(struct adapter *padapter, u8 *enable); padapter 469 drivers/staging/rtl8723bs/include/rtw_mp.h u32 mp_query_psd(struct adapter *padapter, u8 *data); padapter 471 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetAntenna(struct adapter *padapter); padapter 472 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetBandwidth(struct adapter *padapter); padapter 474 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetTxPower(struct adapter *padapter); padapter 475 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetCarrierSuppressionTx(struct adapter *padapter, u8 bStart); padapter 476 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetSingleToneTx (struct adapter *padapter , u8 bStart); padapter 477 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetSingleCarrierTx (struct adapter *padapter, u8 bStart); padapter 478 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetContinuousTx (struct adapter *padapter, u8 bStart); padapter 479 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetBandwidth(struct adapter *padapter); padapter 481 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetDataRate(struct adapter *padapter); padapter 482 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetChannel(struct adapter *padapter); padapter 483 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetAntennaPathPower(struct adapter *padapter); padapter 484 drivers/staging/rtl8723bs/include/rtw_mp.h s32 Hal_SetThermalMeter(struct adapter *padapter, u8 target_ther); padapter 485 drivers/staging/rtl8723bs/include/rtw_mp.h s32 Hal_SetPowerTracking(struct adapter *padapter, u8 enable); padapter 486 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_GetPowerTracking(struct adapter *padapter, u8 * enable); padapter 487 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_GetThermalMeter(struct adapter *padapter, u8 *value); padapter 488 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_mpt_SwitchRfSetting(struct adapter *padapter); padapter 490 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_MPT_CCKTxPowerAdjustbyIndex(struct adapter *padapter, bool beven); padapter 491 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetCCKTxPower(struct adapter *padapter, u8 * TxPower); padapter 492 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetOFDMTxPower(struct adapter *padapter, u8 * TxPower); padapter 493 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_TriggerRFThermalMeter(struct adapter *padapter); padapter 494 drivers/staging/rtl8723bs/include/rtw_mp.h u8 Hal_ReadRFThermalMeter(struct adapter *padapter); padapter 495 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetCCKContinuousTx(struct adapter *padapter, u8 bStart); padapter 496 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_SetOFDMContinuousTx(struct adapter *padapter, u8 bStart); padapter 497 drivers/staging/rtl8723bs/include/rtw_mp.h void Hal_ProSetCrystalCap (struct adapter *padapter , u32 CrystalCapVal); padapter 498 drivers/staging/rtl8723bs/include/rtw_mp.h void MP_PHY_SetRFPathSwitch(struct adapter *padapter , bool bMain); padapter 499 drivers/staging/rtl8723bs/include/rtw_mp.h u32 mpt_ProQueryCalTxPower(struct adapter *padapter, u8 RfPath); padapter 500 drivers/staging/rtl8723bs/include/rtw_mp.h void MPT_PwrCtlDM(struct adapter *padapter, u32 bstart); padapter 329 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h extern s32 rtw_register_tx_alive(struct adapter *padapter); padapter 330 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h extern void rtw_unregister_tx_alive(struct adapter *padapter); padapter 331 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h extern s32 rtw_register_cmd_alive(struct adapter *padapter); padapter 332 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h extern void rtw_unregister_cmd_alive(struct adapter *padapter); padapter 333 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h extern void cpwm_int_hdl(struct adapter *padapter, struct reportpwrstate_parm *preportpwrstate); padapter 334 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h extern void LPS_Leave_check(struct adapter *padapter); padapter 338 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h void _ips_enter(struct adapter *padapter); padapter 339 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h void ips_enter(struct adapter *padapter); padapter 340 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h int _ips_leave(struct adapter *padapter); padapter 341 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h int ips_leave(struct adapter *padapter); padapter 343 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h void rtw_ps_processor(struct adapter *padapter); padapter 345 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h s32 LPS_RF_ON_check(struct adapter *padapter, u32 delay_ms); padapter 346 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h void LPS_Enter(struct adapter *padapter, const char *msg); padapter 347 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h void LPS_Leave(struct adapter *padapter, const char *msg); padapter 348 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h void traffic_check_for_leave_lps(struct adapter *padapter, u8 tx, u32 tx_packets); padapter 349 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_ant_mode, const char *msg); padapter 350 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h void rtw_set_rpwm(struct adapter *padapter, u8 val8); padapter 352 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h void rtw_set_ips_deny(struct adapter *padapter, u32 ms); padapter 353 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h int _rtw_pwr_wakeup(struct adapter *padapter, u32 ips_deffer_ms, const char *caller); padapter 356 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h int rtw_pm_set_ips(struct adapter *padapter, u8 mode); padapter 357 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h int rtw_pm_set_lps(struct adapter *padapter, u8 mode); padapter 359 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h void rtw_ps_deny(struct adapter *padapter, enum PS_DENY_REASON reason); padapter 360 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h void rtw_ps_deny_cancel(struct adapter *padapter, enum PS_DENY_REASON reason); padapter 361 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h u32 rtw_ps_deny_get(struct adapter *padapter); padapter 47 drivers/staging/rtl8723bs/include/rtw_recv.h struct adapter *padapter; padapter 543 drivers/staging/rtl8723bs/include/rtw_recv.h extern void mgt_dispatcher(struct adapter *padapter, union recv_frame *precv_frame); padapter 420 drivers/staging/rtl8723bs/include/rtw_security.h u32 rtw_aes_encrypt(struct adapter *padapter, u8 *pxmitframe); padapter 421 drivers/staging/rtl8723bs/include/rtw_security.h u32 rtw_tkip_encrypt(struct adapter *padapter, u8 *pxmitframe); padapter 422 drivers/staging/rtl8723bs/include/rtw_security.h void rtw_wep_encrypt(struct adapter *padapter, u8 *pxmitframe); padapter 424 drivers/staging/rtl8723bs/include/rtw_security.h u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe); padapter 425 drivers/staging/rtl8723bs/include/rtw_security.h u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe); padapter 426 drivers/staging/rtl8723bs/include/rtw_security.h void rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe); padapter 427 drivers/staging/rtl8723bs/include/rtw_security.h u32 rtw_BIP_verify(struct adapter *padapter, u8 *precvframe); padapter 23 drivers/staging/rtl8723bs/include/rtw_wifi_regd.h int rtw_regd_init(struct adapter *padapter, padapter 253 drivers/staging/rtl8723bs/include/rtw_xmit.h struct adapter *padapter; padapter 294 drivers/staging/rtl8723bs/include/rtw_xmit.h struct adapter *padapter; padapter 460 drivers/staging/rtl8723bs/include/rtw_xmit.h void rtw_count_tx_stats(struct adapter *padapter, struct xmit_frame *pxmitframe, int sz); padapter 461 drivers/staging/rtl8723bs/include/rtw_xmit.h extern void rtw_update_protection(struct adapter *padapter, u8 *ie, uint ie_len); padapter 462 drivers/staging/rtl8723bs/include/rtw_xmit.h extern s32 rtw_make_wlanhdr(struct adapter *padapter, u8 *hdr, struct pkt_attrib *pattrib); padapter 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); padapter 471 drivers/staging/rtl8723bs/include/rtw_xmit.h extern s32 rtw_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe); padapter 473 drivers/staging/rtl8723bs/include/rtw_xmit.h extern s32 rtw_xmit_classifier(struct adapter *padapter, struct xmit_frame *pxmitframe); padapter 476 drivers/staging/rtl8723bs/include/rtw_xmit.h extern s32 rtw_xmitframe_coalesce(struct adapter *padapter, _pkt *pkt, struct xmit_frame *pxmitframe); padapter 477 drivers/staging/rtl8723bs/include/rtw_xmit.h extern s32 rtw_mgmt_xmitframe_coalesce(struct adapter *padapter, _pkt *pkt, struct xmit_frame *pxmitframe); padapter 482 drivers/staging/rtl8723bs/include/rtw_xmit.h s32 rtw_txframes_pending(struct adapter *padapter); padapter 486 drivers/staging/rtl8723bs/include/rtw_xmit.h s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter); padapter 490 drivers/staging/rtl8723bs/include/rtw_xmit.h s32 rtw_alloc_hwxmits(struct adapter *padapter); padapter 491 drivers/staging/rtl8723bs/include/rtw_xmit.h void rtw_free_hwxmits(struct adapter *padapter); padapter 494 drivers/staging/rtl8723bs/include/rtw_xmit.h s32 rtw_xmit(struct adapter *padapter, _pkt **pkt); padapter 497 drivers/staging/rtl8723bs/include/rtw_xmit.h sint xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_frame *pxmitframe); padapter 498 drivers/staging/rtl8723bs/include/rtw_xmit.h void stop_sta_xmit(struct adapter *padapter, struct sta_info *psta); padapter 499 drivers/staging/rtl8723bs/include/rtw_xmit.h void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta); padapter 500 drivers/staging/rtl8723bs/include/rtw_xmit.h void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta); padapter 11 drivers/staging/rtl8723bs/include/sdio_hal.h extern u8 sd_hal_bus_init(struct adapter *padapter); padapter 12 drivers/staging/rtl8723bs/include/sdio_hal.h extern u8 sd_hal_bus_deinit(struct adapter *padapter); padapter 14 drivers/staging/rtl8723bs/include/sdio_hal.h u8 sd_int_isr(struct adapter *padapter); padapter 15 drivers/staging/rtl8723bs/include/sdio_hal.h void sd_int_dpc(struct adapter *padapter); padapter 16 drivers/staging/rtl8723bs/include/sdio_hal.h void rtw_set_hal_ops(struct adapter *padapter); padapter 18 drivers/staging/rtl8723bs/include/sdio_hal.h void rtl8723bs_set_hal_ops(struct adapter *padapter); padapter 13 drivers/staging/rtl8723bs/include/sdio_ops.h extern void sdio_set_intf_ops(struct adapter *padapter, struct _io_ops *pops); padapter 17 drivers/staging/rtl8723bs/include/sdio_ops.h extern u8 SdioLocalCmd52Read1Byte(struct adapter *padapter, u32 addr); padapter 18 drivers/staging/rtl8723bs/include/sdio_ops.h extern void SdioLocalCmd52Write1Byte(struct adapter *padapter, u32 addr, u8 v); padapter 19 drivers/staging/rtl8723bs/include/sdio_ops.h extern s32 sdio_local_read(struct adapter *padapter, u32 addr, u32 cnt, u8 *pbuf); padapter 20 drivers/staging/rtl8723bs/include/sdio_ops.h extern s32 sdio_local_write(struct adapter *padapter, u32 addr, u32 cnt, u8 *pbuf); padapter 22 drivers/staging/rtl8723bs/include/sdio_ops.h u32 _sdio_read32(struct adapter *padapter, u32 addr); padapter 23 drivers/staging/rtl8723bs/include/sdio_ops.h s32 _sdio_write32(struct adapter *padapter, u32 addr, u32 val); padapter 25 drivers/staging/rtl8723bs/include/sdio_ops.h extern void sd_int_hdl(struct adapter *padapter); padapter 26 drivers/staging/rtl8723bs/include/sdio_ops.h extern u8 CheckIPSStatus(struct adapter *padapter); padapter 29 drivers/staging/rtl8723bs/include/sdio_ops.h extern u8 RecvOnePkt(struct adapter *padapter, u32 size); padapter 31 drivers/staging/rtl8723bs/include/sdio_ops.h extern void InitInterrupt8723BSdio(struct adapter *padapter); padapter 32 drivers/staging/rtl8723bs/include/sdio_ops.h extern void InitSysInterrupt8723BSdio(struct adapter *padapter); padapter 33 drivers/staging/rtl8723bs/include/sdio_ops.h extern void EnableInterrupt8723BSdio(struct adapter *padapter); padapter 34 drivers/staging/rtl8723bs/include/sdio_ops.h extern void DisableInterrupt8723BSdio(struct adapter *padapter); padapter 35 drivers/staging/rtl8723bs/include/sdio_ops.h extern u8 HalQueryTxBufferStatus8723BSdio(struct adapter *padapter); padapter 36 drivers/staging/rtl8723bs/include/sdio_ops.h extern void HalQueryTxOQTBufferStatus8723BSdio(struct adapter *padapter); padapter 38 drivers/staging/rtl8723bs/include/sdio_ops.h extern void ClearInterrupt8723BSdio(struct adapter *padapter); padapter 12 drivers/staging/rtl8723bs/include/sdio_osintf.h u8 sd_hal_bus_init(struct adapter *padapter); padapter 13 drivers/staging/rtl8723bs/include/sdio_osintf.h u8 sd_hal_bus_deinit(struct adapter *padapter); padapter 14 drivers/staging/rtl8723bs/include/sdio_osintf.h void sd_c2h_hdl(struct adapter *padapter); padapter 75 drivers/staging/rtl8723bs/include/sta_info.h struct adapter *padapter; padapter 323 drivers/staging/rtl8723bs/include/sta_info.h struct adapter *padapter; padapter 377 drivers/staging/rtl8723bs/include/sta_info.h extern u32 rtw_free_stainfo(struct adapter *padapter , struct sta_info *psta); padapter 378 drivers/staging/rtl8723bs/include/sta_info.h extern void rtw_free_all_stainfo(struct adapter *padapter); padapter 380 drivers/staging/rtl8723bs/include/sta_info.h extern u32 rtw_init_bcmc_stainfo(struct adapter *padapter); padapter 381 drivers/staging/rtl8723bs/include/sta_info.h extern struct sta_info* rtw_get_bcmc_stainfo(struct adapter *padapter); padapter 382 drivers/staging/rtl8723bs/include/sta_info.h extern u8 rtw_access_ctrl(struct adapter *padapter, u8 *mac_addr); padapter 31 drivers/staging/rtl8723bs/include/xmit_osdep.h void rtw_os_xmit_schedule(struct adapter *padapter); padapter 33 drivers/staging/rtl8723bs/include/xmit_osdep.h int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u8 flag); padapter 34 drivers/staging/rtl8723bs/include/xmit_osdep.h void rtw_os_xmit_resource_free(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 free_sz, u8 flag); padapter 41 drivers/staging/rtl8723bs/include/xmit_osdep.h extern void rtw_os_pkt_complete(struct adapter *padapter, _pkt *pkt); padapter 42 drivers/staging/rtl8723bs/include/xmit_osdep.h extern void rtw_os_xmit_complete(struct adapter *padapter, struct xmit_frame *pxframe); padapter 235 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct cfg80211_bss *rtw_cfg80211_inform_bss(struct adapter *padapter, struct wlan_network *pnetwork) padapter 254 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *wdev = padapter->rtw_wdev; padapter 256 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 282 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (adapter_wdev_data(padapter)->scan_request != NULL) padapter 286 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct cfg80211_scan_request *request = adapter_wdev_data(padapter)->scan_request; padapter 336 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c notify_signal = 100*translate_percentage_to_dbm(padapter->recvpriv.signal_strength);/* dbm */ padapter 357 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(pwlanhdr->addr1, myid(&(padapter->eeprompriv)), ETH_ALEN); padapter 377 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_8192C(FUNC_ADPT_FMT" bss NULL\n", FUNC_ADPT_ARG(padapter)); padapter 395 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c int rtw_cfg80211_check_bss(struct adapter *padapter) padapter 397 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wlan_bssid_ex *pnetwork = &(padapter->mlmeextpriv.mlmext_info.network); padapter 402 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!(pnetwork) || !(padapter->rtw_wdev)) padapter 407 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c notify_channel = ieee80211_get_channel(padapter->rtw_wdev->wiphy, freq); padapter 408 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c bss = cfg80211_get_bss(padapter->rtw_wdev->wiphy, notify_channel, padapter 413 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c cfg80211_put_bss(padapter->rtw_wdev->wiphy, bss); padapter 418 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c void rtw_cfg80211_ibss_indicate_connect(struct adapter *padapter) padapter 420 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 422 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *pwdev = padapter->rtw_wdev; padapter 427 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT"\n", FUNC_ADPT_ARG(padapter)); padapter 433 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!rtw_cfg80211_check_bss(padapter)) { padapter 434 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wlan_bssid_ex *pnetwork = &(padapter->mlmeextpriv.mlmext_info.network); padapter 441 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!rtw_cfg80211_inform_bss(padapter, cur_network)) padapter 442 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT" inform fail !!\n", FUNC_ADPT_ARG(padapter)); padapter 444 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT" inform success !!\n", FUNC_ADPT_ARG(padapter)); padapter 455 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!rtw_cfg80211_inform_bss(padapter, scanned)) { padapter 456 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT" inform fail !!\n", FUNC_ADPT_ARG(padapter)); padapter 466 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!rtw_cfg80211_check_bss(padapter)) padapter 467 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X_LEVEL(_drv_always_, FUNC_ADPT_FMT" BSS not found !!\n", FUNC_ADPT_ARG(padapter)); padapter 471 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c cfg80211_ibss_joined(padapter->pnetdev, cur_network->network.MacAddress, chan, GFP_ATOMIC); padapter 474 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c void rtw_cfg80211_indicate_connect(struct adapter *padapter) padapter 476 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 478 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *pwdev = padapter->rtw_wdev; padapter 480 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT"\n", FUNC_ADPT_ARG(padapter)); padapter 491 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wlan_bssid_ex *pnetwork = &(padapter->mlmeextpriv.mlmext_info.network); padapter 504 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!rtw_cfg80211_inform_bss(padapter, scanned)) { padapter 505 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT" inform fail !!\n", FUNC_ADPT_ARG(padapter)); padapter 519 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!rtw_cfg80211_check_bss(padapter)) padapter 520 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X_LEVEL(_drv_always_, FUNC_ADPT_FMT" BSS not found !!\n", FUNC_ADPT_ARG(padapter)); padapter 522 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (rtw_to_roam(padapter) > 0) { padapter 533 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT" call cfg80211_roamed\n", FUNC_ADPT_ARG(padapter)); padapter 544 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c cfg80211_roamed(padapter->pnetdev, &roam_info, GFP_ATOMIC); padapter 548 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c cfg80211_connect_result(padapter->pnetdev, cur_network->network.MacAddress padapter 557 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c void rtw_cfg80211_indicate_disconnect(struct adapter *padapter) padapter 559 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 560 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *pwdev = padapter->rtw_wdev; padapter 562 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT"\n", FUNC_ADPT_ARG(padapter)); padapter 573 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!padapter->mlmepriv.not_indic_disco) { padapter 574 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (check_fwstate(&padapter->mlmepriv, _FW_LINKED)) { padapter 575 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c cfg80211_disconnected(padapter->pnetdev, 0, padapter 578 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c cfg80211_connect_result(padapter->pnetdev, NULL, NULL, 0, NULL, 0, padapter 590 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 591 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 592 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct security_priv* psecuritypriv =&(padapter->securitypriv); padapter 593 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 679 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_ap_set_wep_key(padapter, param->u.crypt.key, wep_key_len, wep_key_idx, 1); padapter 740 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_ap_set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx); padapter 742 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pbcmc_sta =rtw_get_bcmc_stainfo(padapter); padapter 801 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_ap_set_pairwise_key(padapter, psta); padapter 851 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_ap_set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx); padapter 853 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pbcmc_sta =rtw_get_bcmc_stainfo(padapter); padapter 876 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 877 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 878 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 946 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_set_key(padapter, psecuritypriv, wep_key_idx, 0, true); padapter 951 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) /* 802_1x */ padapter 954 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct sta_priv * pstapriv = &padapter->stapriv; padapter 972 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if ((padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption2Enabled)|| padapter 973 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c (padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption3Enabled)) padapter 975 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; padapter 991 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.busetkipkey =false; padapter 998 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_setstakey_cmd(padapter, psta, true, true); padapter 1004 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); padapter 1005 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey,&(param->u.crypt.key[16]), 8); padapter 1006 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey,&(param->u.crypt.key[24]), 8); padapter 1007 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.binstallGrpkey = true; padapter 1011 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot118021XGrpKeyid = param->u.crypt.idx; padapter 1012 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_set_key(padapter,&padapter->securitypriv, param->u.crypt.idx, 1, true); padapter 1018 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(padapter->securitypriv.dot11wBIPKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); padapter 1023 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot11wBIPKeyid = param->u.crypt.idx; padapter 1024 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.binstallBIPkey = true; padapter 1030 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pbcmc_sta =rtw_get_bcmc_stainfo(padapter); padapter 1041 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if ((padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption2Enabled)|| padapter 1042 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c (padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption3Enabled)) padapter 1044 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pbcmc_sta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; padapter 1068 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 1069 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1178 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 1179 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 1197 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 1198 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 1230 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 1231 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1233 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 1268 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c sinfo->signal = translate_percentage_to_dbm(padapter->recvpriv.signal_strength); padapter 1271 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c sinfo->txrate.legacy = rtw_get_cur_max_rate(padapter); padapter 1304 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 1305 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *rtw_wdev = padapter->rtw_wdev; padapter 1306 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 1312 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (adapter_to_dvobj(padapter)->processing_dev_remove == true) padapter 1327 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (_FAIL == rtw_pwr_wakeup(padapter)) { padapter 1361 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (rtw_set_802_11_infrastructure_mode(padapter, networkType) ==false) padapter 1368 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_setopmode_cmd(padapter, networkType, true); padapter 1408 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c void rtw_cfg80211_unlink_bss(struct adapter *padapter, struct wlan_network *pnetwork) padapter 1410 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *pwdev = padapter->rtw_wdev; padapter 1423 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c cfg80211_put_bss(padapter->rtw_wdev->wiphy, bss); padapter 1428 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c void rtw_cfg80211_surveydone_event_callback(struct adapter *padapter) padapter 1431 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1452 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (rtw_ch_set_search_ch(padapter->mlmeextpriv.channel_set, pnetwork->network.Configuration.DSConfig) >= 0 padapter 1453 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c && rtw_mlme_band_check(padapter, pnetwork->network.Configuration.DSConfig) == true padapter 1458 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_cfg80211_inform_bss(padapter, pnetwork); padapter 1468 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c static int rtw_cfg80211_set_probe_req_wpsp2pie(struct adapter *padapter, char *buf, int len) padapter 1473 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1524 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter; padapter 1533 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 1534 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pwdev_priv = adapter_wdev_data(padapter); padapter 1535 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pmlmepriv = &padapter->mlmepriv; padapter 1538 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT"\n", FUNC_ADPT_ARG(padapter)); padapter 1565 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_ps_deny(padapter, PS_DENY_SCAN); padapter 1566 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (_FAIL == rtw_pwr_wakeup(padapter)) { padapter 1573 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_cfg80211_set_probe_req_wpsp2pie(padapter, (u8 *)request->ie, request->ie_len); padapter 1601 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (rtw_is_scan_deny(padapter)) { padapter 1602 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT ": scan deny\n", FUNC_ADPT_ARG(padapter)); padapter 1621 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT CHAN_FMT"\n", FUNC_ADPT_ARG(padapter), CHAN_ARG(request->channels[i])); padapter 1631 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c _status = rtw_sitesurvey_cmd(padapter, ssid, RTW_SSID_SCAN_AMOUNT, ch, survey_times_for_one_ch); padapter 1638 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c _status = rtw_sitesurvey_cmd(padapter, ssid, RTW_SSID_SCAN_AMOUNT, ch, survey_times * request->n_channels); padapter 1640 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c _status = rtw_sitesurvey_cmd(padapter, ssid, RTW_SSID_SCAN_AMOUNT, NULL, 0); padapter 1653 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_cfg80211_surveydone_event_callback(padapter); padapter 1654 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_cfg80211_indicate_scan_done(padapter, false); padapter 1657 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_ps_deny_cancel(padapter, PS_DENY_SCAN); padapter 1799 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c static int rtw_cfg80211_set_wpa_ie(struct adapter *padapter, u8 *pie, size_t ielen) padapter 1811 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c _clr_fwstate_(&padapter->mlmepriv, WIFI_UNDER_WPS); padapter 1848 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_8021X; padapter 1849 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.ndisauthtype =Ndis802_11AuthModeWPAPSK; padapter 1850 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(padapter->securitypriv.supplicant_ie, &pwpa[0], wpa_ielen+2); padapter 1861 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_8021X; padapter 1862 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.ndisauthtype =Ndis802_11AuthModeWPA2PSK; padapter 1863 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(padapter->securitypriv.supplicant_ie, &pwpa2[0], wpa2_ielen+2); padapter 1881 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot118021XGrpPrivacy = _NO_PRIVACY_; padapter 1882 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.ndisencryptstatus =Ndis802_11EncryptionDisabled; padapter 1885 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot118021XGrpPrivacy = _WEP40_; padapter 1886 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 1889 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot118021XGrpPrivacy = _TKIP_; padapter 1890 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption2Enabled; padapter 1893 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot118021XGrpPrivacy = _AES_; padapter 1894 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption3Enabled; padapter 1897 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot118021XGrpPrivacy = _WEP104_; padapter 1898 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 1905 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot11PrivacyAlgrthm = _NO_PRIVACY_; padapter 1906 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.ndisencryptstatus =Ndis802_11EncryptionDisabled; padapter 1909 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP40_; padapter 1910 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 1913 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot11PrivacyAlgrthm = _TKIP_; padapter 1914 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption2Enabled; padapter 1917 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot11PrivacyAlgrthm = _AES_; padapter 1918 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption3Enabled; padapter 1921 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP104_; padapter 1922 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 1933 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.wps_ie_len = wps_ielen<MAX_WPS_IE_LEN?wps_ielen:MAX_WPS_IE_LEN; padapter 1934 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(padapter->securitypriv.wps_ie, wps_ie, padapter->securitypriv.wps_ie_len); padapter 1935 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c set_fwstate(&padapter->mlmepriv, WIFI_UNDER_WPS); padapter 1937 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c _clr_fwstate_(&padapter->mlmepriv, WIFI_UNDER_WPS); padapter 1942 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (padapter->securitypriv.dot11PrivacyAlgrthm == _TKIP_ padapter 1943 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c || padapter->securitypriv.dot11PrivacyAlgrthm == _TKIP_WTMIC_ padapter 1944 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c || padapter->securitypriv.dot11PrivacyAlgrthm == _AES_) padapter 1947 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_hal_set_hwreg(padapter, HW_VAR_OFF_RCR_AM, null_addr); padapter 1951 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pairwise_cipher, padapter->securitypriv.ndisencryptstatus, padapter->securitypriv.ndisauthtype)); padapter 1956 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c _clr_fwstate_(&padapter->mlmepriv, WIFI_UNDER_WPS); padapter 1963 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 1965 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 1966 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1969 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (_FAIL == rtw_pwr_wakeup(padapter)) { padapter 2004 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_set_802_11_authentication_mode(padapter, psecuritypriv->ndisauthtype); padapter 2006 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (rtw_set_802_11_ssid(padapter, &ndis_ssid) == false) padapter 2018 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 2019 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *rtw_wdev = padapter->rtw_wdev; padapter 2027 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_set_to_roam(padapter, 0); padapter 2029 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (check_fwstate(&padapter->mlmepriv, _FW_LINKED)) padapter 2031 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_scan_abort(padapter); padapter 2032 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c LeaveAllPowerSaveMode(padapter); padapter 2036 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (rtw_set_802_11_infrastructure_mode(padapter, Ndis802_11Infrastructure) ==false) padapter 2042 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_setopmode_cmd(padapter, Ndis802_11Infrastructure, true); padapter 2055 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 2056 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 2057 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 2059 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->mlmepriv.not_indic_disco = true; padapter 2066 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (adapter_wdev_data(padapter)->block == true) padapter 2073 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_ps_deny(padapter, PS_DENY_JOIN); padapter 2074 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (_FAIL == rtw_pwr_wakeup(padapter)) { padapter 2113 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_scan_abort(padapter); padapter 2133 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ret = rtw_cfg80211_set_wpa_ie(padapter, (u8 *)sme->ie, sme->ie_len); padapter 2178 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP104_; padapter 2179 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->securitypriv.dot118021XGrpPrivacy = _WEP104_; padapter 2192 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) padapter 2214 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_set_802_11_authentication_mode(padapter, authmode); padapter 2218 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (rtw_set_802_11_connect(padapter, (u8 *)sme->bssid, &ndis_ssid) == false) { padapter 2227 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_ps_deny_cancel(padapter, PS_DENY_JOIN); padapter 2231 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->mlmepriv.not_indic_disco = false; padapter 2239 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 2243 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_set_to_roam(padapter, 0); padapter 2245 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_scan_abort(padapter); padapter 2246 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c LeaveAllPowerSaveMode(padapter); padapter 2247 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_disassoc_cmd(padapter, 500, false); padapter 2251 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_indicate_disconnect(padapter); padapter 2253 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_free_assoc_resources(padapter, 1); padapter 2254 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_pwr_wakeup(padapter); padapter 2289 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 2290 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct rtw_wdev_priv *rtw_wdev_priv = adapter_wdev_data(padapter); padapter 2298 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c LPS_Leave(padapter, "CFG80211_PWRMGMT"); padapter 2308 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 2309 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 2361 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 2362 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 2391 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 2392 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 2402 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c void rtw_cfg80211_indicate_sta_assoc(struct adapter *padapter, u8 *pmgmt_frame, uint frame_len) padapter 2404 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct net_device *ndev = padapter->pnetdev; padapter 2406 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT"\n", FUNC_ADPT_ARG(padapter)); padapter 2423 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c void rtw_cfg80211_indicate_sta_disassoc(struct adapter *padapter, unsigned char *da, unsigned short reason) padapter 2425 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct net_device *ndev = padapter->pnetdev; padapter 2427 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT"\n", FUNC_ADPT_ARG(padapter)); padapter 2447 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 2502 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ret = _rtw_xmit_entry(skb, padapter->pnetdev); padapter 2518 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 2519 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 2545 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c update_mgntframe_attrib(padapter, pattrib); padapter 2564 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c dump_mgntframe(padapter, pmgntframe); padapter 2587 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c static int rtw_cfg80211_add_monitor_if (struct adapter *padapter, char *name, struct net_device **ndev) padapter 2593 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct rtw_wdev_priv *pwdev_priv = adapter_wdev_data(padapter); padapter 2596 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT" without specific name\n", FUNC_ADPT_ARG(padapter)); padapter 2603 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c FUNC_ADPT_ARG(padapter), NDEV_ARG(pwdev_priv->pmon_ndev)); padapter 2610 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT" allocate ndev fail\n", FUNC_ADPT_ARG(padapter)); padapter 2624 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pnpi->priv = padapter; padapter 2630 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT" allocate mon_wdev fail\n", FUNC_ADPT_ARG(padapter)); padapter 2635 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c mon_wdev->wiphy = padapter->rtw_wdev->wiphy; padapter 2671 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = wiphy_to_adapter(wiphy); padapter 2674 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c FUNC_ADPT_ARG(padapter), wiphy_name(wiphy), name, type); padapter 2684 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ret = rtw_cfg80211_add_monitor_if(padapter, (char *)name, &ndev); padapter 2700 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT" ndev:%p, ret:%d\n", FUNC_ADPT_ARG(padapter), ndev, ret); padapter 2843 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 2844 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2845 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2861 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c flush_all_cam_entry(padapter); /* clear CAM */ padapter 2863 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_sta_flush(padapter); padapter 2904 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c updated = ap_free_sta(padapter, psta, true, WLAN_REASON_DEAUTH_LEAVING); padapter 2917 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c associated_clients_update(padapter, updated); padapter 2958 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 2960 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 3008 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c static int _cfg80211_rtw_mgmt_tx(struct adapter *padapter, u8 tx_ch, const u8 *buf, size_t len) padapter 3016 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 3017 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 3019 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_set_scan_deny(padapter, 1000); padapter 3021 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_scan_abort(padapter); padapter 3022 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (tx_ch != rtw_get_oper_ch(padapter)) { padapter 3023 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!check_fwstate(&padapter->mlmepriv, _FW_LINKED)) padapter 3025 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c set_channel_bwmode(padapter, tx_ch, HAL_PRIME_CHNL_OFFSET_DONT_CARE, CHANNEL_WIDTH_20); padapter 3038 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c update_mgntframe_attrib(padapter, pattrib); padapter 3056 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (dump_mgntframe_and_wait_ack(padapter, pmgntframe) != _SUCCESS) padapter 3103 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter; padapter 3111 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter = (struct adapter *)rtw_netdev_priv(ndev); padapter 3112 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pwdev_priv = adapter_wdev_data(padapter); padapter 3119 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c "\n", FUNC_ADPT_ARG(padapter), padapter 3125 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_cfg80211_mgmt_tx_status(padapter, *cookie, buf, len, ack, GFP_KERNEL); padapter 3128 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_8192C(FUNC_ADPT_FMT" frame_control:0x%x\n", FUNC_ADPT_ARG(padapter), padapter 3139 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_ps_deny(padapter, PS_DENY_MGNT_TX); padapter 3140 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (_FAIL == rtw_pwr_wakeup(padapter)) { padapter 3147 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c tx_ret = _cfg80211_rtw_mgmt_tx(padapter, tx_ch, buf, len); padapter 3151 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_871X(FUNC_ADPT_FMT" %s (%d/%d)\n", FUNC_ADPT_ARG(padapter), padapter 3157 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_clear_scan_deny(padapter); padapter 3164 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c FUNC_ADPT_ARG(padapter)); padapter 3165 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_set_scan_deny(padapter, 5000); padapter 3166 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_pwr_wakeup_ex(padapter, 5000); padapter 3167 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_clear_scan_deny(padapter); padapter 3173 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_ps_deny_cancel(padapter, PS_DENY_MGNT_TX); padapter 3206 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 3207 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 3210 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (padapter->bup == false) { padapter 3219 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_scan_abort(padapter); padapter 3306 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c void rtw_cfg80211_init_wiphy(struct adapter *padapter) padapter 3310 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct wireless_dev *pwdev = padapter->rtw_wdev; padapter 3313 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_hal_get_hwreg(padapter, HW_VAR_RF_TYPE, (u8 *)(&rf_type)); padapter 3324 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_regd_init(padapter, rtw_reg_notifier); padapter 3327 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(wiphy->perm_addr, padapter->eeprompriv.mac_addr, ETH_ALEN); padapter 3331 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c static void rtw_cfg80211_preinit_wiphy(struct adapter *padapter, struct wiphy *wiphy) padapter 3372 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (padapter->registrypriv.power_mgnt != PS_MODE_ACTIVE) padapter 3420 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c int rtw_wdev_alloc(struct adapter *padapter, struct device *dev) padapter 3426 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct net_device *pnetdev = padapter->pnetdev; padapter 3428 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_8192C("%s(padapter =%p)\n", __func__, padapter); padapter 3438 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c *((struct adapter **)wiphy_priv(wiphy)) = padapter; padapter 3439 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_cfg80211_preinit_wiphy(padapter, wiphy); padapter 3460 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c padapter->rtw_wdev = wdev; padapter 3464 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pwdev_priv = adapter_wdev_data(padapter); padapter 3468 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pwdev_priv->padapter = padapter; padapter 3479 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (padapter->registrypriv.power_mgnt != PS_MODE_ACTIVE) padapter 40 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c void indicate_wx_scan_complete_event(struct adapter *padapter) padapter 50 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c void rtw_indicate_wx_assoc_event(struct adapter *padapter) padapter 53 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 54 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 70 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c void rtw_indicate_wx_disassoc_event(struct adapter *padapter) padapter 80 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static char *translate_scan(struct adapter *padapter, padapter 94 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 326 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ss = padapter->recvpriv.signal_strength; padapter 327 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c sq = padapter->recvpriv.signal_qual; padapter 341 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct hal_com_data *pHal = GET_HAL_DATA(padapter); padapter 355 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_get_odm_var(padapter, HAL_ODM_NOISE_MONITOR,&(pnetwork->network.Configuration.DSConfig), &(tmp_noise)); padapter 390 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 395 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 396 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeAutoSwitch; padapter 397 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Auto; padapter 400 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 402 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeShared; padapter 403 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Shared; padapter 407 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (padapter->securitypriv.ndisauthtype < Ndis802_11AuthModeWPAPSK) { padapter 408 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; padapter 409 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; padapter 427 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 428 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 429 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 458 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 459 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP40_; padapter 460 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _WEP40_; padapter 486 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP104_; padapter 487 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _WEP104_; padapter 502 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) padapter 517 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_set_key(padapter, psecuritypriv, wep_key_idx, 0, true); padapter 523 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { /* 802_1x */ padapter 525 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 536 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if ((padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption2Enabled)|| padapter 537 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c (padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption3Enabled)) { padapter 538 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; padapter 549 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.busetkipkey =false; padapter 556 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_setstakey_cmd(padapter, psta, true, true); padapter 559 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); padapter 562 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey,&(param->u.crypt.key[16]), 8); padapter 563 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey,&(param->u.crypt.key[24]), 8); padapter 565 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.binstallGrpkey = true; padapter 569 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpKeyid = param->u.crypt.idx; padapter 571 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_set_key(padapter,&padapter->securitypriv, param->u.crypt.idx, 1, true); padapter 575 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.dot11wBIPKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len>16 ?16:param->u.crypt.key_len)); padapter 580 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11wBIPKeyid = param->u.crypt.idx; padapter 581 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.binstallBIPkey = true; padapter 587 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c pbcmc_sta =rtw_get_bcmc_stainfo(padapter); padapter 595 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if ((padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption2Enabled)|| padapter 596 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c (padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption3Enabled)) { padapter 597 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c pbcmc_sta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; padapter 611 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_set_wpa_ie(struct adapter *padapter, char *pie, unsigned short ielen) padapter 619 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c _clr_fwstate_(&padapter->mlmepriv, WIFI_UNDER_WPS); padapter 650 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_8021X; padapter 651 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype =Ndis802_11AuthModeWPAPSK; padapter 652 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.supplicant_ie, &buf[0], ielen); padapter 656 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_8021X; padapter 657 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype =Ndis802_11AuthModeWPA2PSK; padapter 658 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.supplicant_ie, &buf[0], ielen); padapter 668 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _NO_PRIVACY_; padapter 669 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus =Ndis802_11EncryptionDisabled; padapter 672 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _WEP40_; padapter 673 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 676 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _TKIP_; padapter 677 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption2Enabled; padapter 680 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _AES_; padapter 681 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption3Enabled; padapter 684 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _WEP104_; padapter 685 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 691 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _NO_PRIVACY_; padapter 692 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus =Ndis802_11EncryptionDisabled; padapter 695 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP40_; padapter 696 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 699 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _TKIP_; padapter 700 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption2Enabled; padapter 703 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _AES_; padapter 704 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption3Enabled; padapter 707 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP104_; padapter 708 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 712 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c _clr_fwstate_(&padapter->mlmepriv, WIFI_UNDER_WPS); padapter 723 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.wps_ie_len = ((buf[cnt+1]+2) < MAX_WPS_IE_LEN) ? (buf[cnt+1]+2):MAX_WPS_IE_LEN; padapter 725 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.wps_ie, &buf[cnt], padapter->securitypriv.wps_ie_len); padapter 727 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c set_fwstate(&padapter->mlmepriv, WIFI_UNDER_WPS); padapter 740 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (padapter->securitypriv.dot11PrivacyAlgrthm == _TKIP_ padapter 741 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c || padapter->securitypriv.dot11PrivacyAlgrthm == _TKIP_WTMIC_ padapter 742 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c || padapter->securitypriv.dot11PrivacyAlgrthm == _AES_) padapter 745 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_set_hwreg(padapter, HW_VAR_OFF_RCR_AM, null_addr); padapter 749 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c pairwise_cipher, padapter->securitypriv.ndisencryptstatus, padapter->securitypriv.ndisauthtype)); padapter 762 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 766 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 826 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 827 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 837 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->freq.m = rtw_ch2freq(padapter->mlmeextpriv.cur_channel) * 100000; padapter 839 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->freq.i = padapter->mlmeextpriv.cur_channel; padapter 848 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 852 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (_FAIL == rtw_pwr_wakeup(padapter)) { padapter 857 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (!padapter->hw_init_completed) { padapter 898 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (rtw_set_802_11_infrastructure_mode(padapter, networkType) ==false) { padapter 905 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_setopmode_cmd(padapter, networkType, true); padapter 914 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 915 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 937 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 940 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 1026 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1027 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1129 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1131 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1138 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ps_deny(padapter, PS_DENY_JOIN); padapter 1139 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (_FAIL == rtw_pwr_wakeup(padapter)) { padapter 1144 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (!padapter->bup) { padapter 1155 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c authmode = padapter->securitypriv.ndisauthtype; padapter 1173 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (!rtw_set_802_11_infrastructure_mode(padapter, pnetwork->network.InfrastructureMode)) { padapter 1184 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_set_802_11_authentication_mode(padapter, authmode); padapter 1186 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (rtw_set_802_11_bssid(padapter, temp->sa_data) == false) { padapter 1193 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ps_deny_cancel(padapter, PS_DENY_JOIN); padapter 1203 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1204 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1230 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1245 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (!rtw_set_802_11_disassociate(padapter)) padapter 1249 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (!rtw_set_802_11_disassociate(padapter)) padapter 1264 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1265 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1273 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ps_deny(padapter, PS_DENY_SCAN); padapter 1274 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (_FAIL == rtw_pwr_wakeup(padapter)) { padapter 1279 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (padapter->bDriverStopped) { padapter 1280 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("bDriverStopped =%d\n", padapter->bDriverStopped); padapter 1285 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (!padapter->bup) { padapter 1290 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (!padapter->hw_init_completed ) { padapter 1299 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c indicate_wx_scan_complete_event(padapter); padapter 1304 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c indicate_wx_scan_complete_event(padapter); padapter 1323 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c _status = rtw_sitesurvey_cmd(padapter, ssid, 1, NULL, 0); padapter 1395 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c _status = rtw_set_802_11_bssid_list_scan(padapter, ssid, RTW_SSID_SCAN_AMOUNT); padapter 1398 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c _status = rtw_set_802_11_bssid_list_scan(padapter, NULL, 0); padapter 1406 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ps_deny_cancel(padapter, PS_DENY_SCAN); padapter 1419 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1420 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1435 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (adapter_to_pwrctl(padapter)->brfoffbyhw && padapter->bDriverStopped) { padapter 1462 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (rtw_ch_set_search_ch(padapter->mlmeextpriv.channel_set, pnetwork->network.Configuration.DSConfig) >= 0 padapter 1463 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c && rtw_mlme_band_check(padapter, pnetwork->network.Configuration.DSConfig) == true padapter 1466 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ev =translate_scan(padapter, a, pnetwork, ev, stop); padapter 1497 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1498 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1515 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ps_deny(padapter, PS_DENY_JOIN); padapter 1516 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (_FAIL == rtw_pwr_wakeup(padapter)) { padapter 1521 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (!padapter->bup) { padapter 1536 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c authmode = padapter->securitypriv.ndisauthtype; padapter 1582 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (rtw_set_802_11_infrastructure_mode(padapter, pnetwork->network.InfrastructureMode) == false) { padapter 1594 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_set_802_11_authentication_mode(padapter, authmode); padapter 1596 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (rtw_set_802_11_ssid(padapter, &ndis_ssid) == false) { padapter 1604 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ps_deny_cancel(padapter, PS_DENY_JOIN); padapter 1620 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1621 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1649 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1721 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (rtw_setdatarate_cmd(padapter, datarates) != _SUCCESS) { padapter 1749 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1752 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->registrypriv.rts_thresh = 2347; padapter 1758 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->registrypriv.rts_thresh = wrqu->rts.value; padapter 1761 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("%s, rts_thresh =%d\n", __func__, padapter->registrypriv.rts_thresh); padapter 1770 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1772 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("%s, rts_thresh =%d\n", __func__, padapter->registrypriv.rts_thresh); padapter 1774 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->rts.value = padapter->registrypriv.rts_thresh; padapter 1785 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1788 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->xmitpriv.frag_len = MAX_FRAG_THRESHOLD; padapter 1794 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->xmitpriv.frag_len = wrqu->frag.value & ~0x1; padapter 1797 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("%s, frag_len =%d\n", __func__, padapter->xmitpriv.frag_len); padapter 1807 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1809 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("%s, frag_len =%d\n", __func__, padapter->xmitpriv.frag_len); padapter 1811 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->frag.value = padapter->xmitpriv.frag_len; padapter 1843 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1844 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 1853 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11EncryptionDisabled; padapter 1854 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _NO_PRIVACY_; padapter 1855 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _NO_PRIVACY_; padapter 1856 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; /* open system */ padapter 1858 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype =authmode; padapter 1870 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c key = padapter->securitypriv.dot11PrivacyKeyIndex; padapter 1877 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled;/* Ndis802_11EncryptionDisabled; */ padapter 1879 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; padapter 1881 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _NO_PRIVACY_; padapter 1882 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _NO_PRIVACY_; padapter 1884 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype =authmode; padapter 1887 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; padapter 1889 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Shared; padapter 1891 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP40_; padapter 1892 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _WEP40_; padapter 1894 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype =authmode; padapter 1898 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled;/* Ndis802_11EncryptionDisabled; */ padapter 1899 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; /* open system */ padapter 1900 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _NO_PRIVACY_; padapter 1901 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _NO_PRIVACY_; padapter 1903 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype =authmode; padapter 1915 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyKeyIndex = key; padapter 1917 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("(keyindex_provided == 1), keyid =%d, key_len =%d\n", key, padapter->securitypriv.dot11DefKeylen[key]); padapter 1919 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c switch (padapter->securitypriv.dot11DefKeylen[key]) { padapter 1921 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP40_; padapter 1924 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _WEP104_; padapter 1927 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _NO_PRIVACY_; padapter 1941 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (rtw_set_802_11_add_wep(padapter, &wep) == false) { padapter 1956 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 1958 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 1976 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c key = padapter->securitypriv.dot11PrivacyKeyIndex; padapter 1986 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c switch (padapter->securitypriv.ndisencryptstatus) { padapter 1993 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c erq->length = padapter->securitypriv.dot11DefKeylen[key]; padapter 1996 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(keybuf, padapter->securitypriv.dot11DefKey[key].skey, padapter->securitypriv.dot11DefKeylen[key]); padapter 2000 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (padapter->securitypriv.ndisauthtype == Ndis802_11AuthModeOpen) padapter 2002 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c else if (padapter->securitypriv.ndisauthtype == Ndis802_11AuthModeShared) padapter 2039 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2041 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c return rtw_set_wpa_ie(padapter, extra, wrqu->data.length); padapter 2048 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2067 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.btkip_countermeasure = true; padapter 2069 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.btkip_countermeasure = false; padapter 2088 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption1Enabled) padapter 2092 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11EncryptionDisabled; padapter 2093 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11PrivacyAlgrthm = _NO_PRIVACY_; padapter 2094 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot118021XGrpPrivacy = _NO_PRIVACY_; padapter 2095 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; /* open system */ padapter 2096 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype =Ndis802_11AuthModeOpen; padapter 2104 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (check_fwstate(&padapter->mlmepriv, _FW_LINKED)) { padapter 2105 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c LeaveAllPowerSaveMode(padapter); padapter 2106 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_disassoc_cmd(padapter, 500, false); padapter 2108 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_indicate_disconnect(padapter); padapter 2109 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_free_assoc_resources(padapter, 1); padapter 2229 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter; padapter 2240 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2261 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c data32 = rtw_read8(padapter, addr); padapter 2265 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c data32 = rtw_read16(padapter, addr); padapter 2269 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c data32 = rtw_read32(padapter, addr); padapter 2289 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2303 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_write8(padapter, addr, (u8)data32); padapter 2307 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_write16(padapter, addr, (u16)data32); padapter 2311 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_write32(padapter, addr, data32); padapter 2326 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2332 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c data32 = rtw_hal_read_rfreg(padapter, path, addr, 0xFFFFF); padapter 2347 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2355 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_write_rfreg(padapter, path, addr, 0xFFFFF, data32); padapter 2382 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2385 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (_SUCCESS == rtw_set_chplan_cmd(padapter, channel_plan_req, 1, 1)) padapter 2446 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2447 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2453 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if ((padapter->bDriverStopped) || (pdata == NULL)) { padapter 2538 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = rtw_netdev_priv(dev); padapter 2542 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if ((padapter->bDriverStopped) || (pdata == NULL)) { padapter 2549 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->pid[selector] = *(pdata+1); padapter 2550 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("%s set pid[%d]=%d\n", __func__, selector , padapter->pid[selector]); padapter 2567 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2572 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if ((true == padapter->bDriverStopped) ||(true ==padapter->bSurpriseRemoved) || (NULL == pdata)) { padapter 2621 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = rtw_netdev_priv(dev); padapter 2622 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct rereg_nd_name_data *rereg_priv = &padapter->rereg_nd_name_priv; padapter 2627 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c reg_ifname = padapter->registrypriv.ifname; padapter 2644 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (0 != (ret = rtw_change_ifname(padapter, new_ifname))) padapter 2654 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_free_network_queue(padapter, true); padapter 2673 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 2674 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 2675 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 2678 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 2694 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("rtw_read8(0x%x) = 0x%02x\n", arg, rtw_read8(padapter, arg)); padapter 2697 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("rtw_read16(0x%x) = 0x%04x\n", arg, rtw_read16(padapter, arg)); padapter 2700 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("rtw_read32(0x%x) = 0x%08x\n", arg, rtw_read32(padapter, arg)); padapter 2707 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_write8(padapter, arg, extra_arg); padapter 2708 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("rtw_write8(0x%x) = 0x%02x\n", arg, rtw_read8(padapter, arg)); padapter 2711 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_write16(padapter, arg, extra_arg); padapter 2712 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("rtw_write16(0x%x) = 0x%04x\n", arg, rtw_read16(padapter, arg)); padapter 2715 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_write32(padapter, arg, extra_arg); padapter 2716 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("rtw_write32(0x%x) = 0x%08x\n", arg, rtw_read32(padapter, arg)); padapter 2721 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("read_bbreg(0x%x) = 0x%x\n", arg, rtw_hal_read_bbreg(padapter, arg, 0xffffffff)); padapter 2724 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_write_bbreg(padapter, arg, 0xffffffff, extra_arg); padapter 2725 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("write_bbreg(0x%x) = 0x%x\n", arg, rtw_hal_read_bbreg(padapter, arg, 0xffffffff)); padapter 2728 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("read RF_reg path(0x%02x), offset(0x%x), value(0x%08x)\n", minor_cmd, arg, rtw_hal_read_rfreg(padapter, minor_cmd, arg, 0xffffffff)); padapter 2731 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_write_rfreg(padapter, minor_cmd, arg, 0xffffffff, extra_arg); padapter 2732 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("write RF_reg path(0x%02x), offset(0x%x), value(0x%08x)\n", minor_cmd, arg, rtw_hal_read_rfreg(padapter, minor_cmd, arg, 0xffffffff)); padapter 2738 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->recvpriv.is_signal_dbg = 0; padapter 2741 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->recvpriv.is_signal_dbg = 1; padapter 2743 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->recvpriv.signal_strength_dbg =extra_arg; padapter 2765 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_write16(padapter, 0x6d9, write_value); padapter 2769 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c receive_disconnect(padapter, pmlmeinfo->network.MacAddress padapter 2794 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("oper_ch =%d\n", rtw_get_oper_ch(padapter)); padapter 2795 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("oper_bw =%d\n", rtw_get_oper_bw(padapter)); padapter 2796 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("oper_ch_offet =%d\n", rtw_get_oper_choffset(padapter)); padapter 2828 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_get_hwreg(padapter, HW_VAR_DM_FLAG, (u8 *)(&ODMFlag)); padapter 2832 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_set_hwreg(padapter, HW_VAR_DM_FLAG, (u8 *)(&ODMFlag)); padapter 2837 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->bSurpriseRemoved, padapter->bDriverStopped); padapter 2897 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c max_mac_id = rtw_search_max_mac_id(padapter); padapter 2904 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->driver_vcs_en = 0; padapter 2907 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->driver_vcs_en = 1; padapter 2910 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->driver_vcs_type = 1; padapter 2912 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->driver_vcs_type = extra_arg; padapter 2920 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_set_def_var(padapter, HAL_DEF_DBG_DUMP_RXPKT, &(extra_arg)); padapter 2923 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_set_def_var(padapter, HAL_DEF_DBG_DUMP_TXPKT, &(extra_arg)); padapter 2931 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->driver_rx_ampdu_factor = 0xFF; padapter 2937 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->driver_rx_ampdu_factor = 0xFF; padapter 2939 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->driver_rx_ampdu_factor = extra_arg; padapter 2949 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c linked_info_dump(padapter, extra_arg); padapter 2954 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct registry_priv *pregpriv = &padapter->registrypriv; padapter 2967 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct registry_priv *pregpriv = &padapter->registrypriv; padapter 2985 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_odm_dbg_comp_msg(RTW_DBGDUMP, padapter); padapter 2988 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_odm_dbg_comp_set(padapter, dbg_comp); padapter 2995 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 3005 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_set_hwreg(padapter, HW_VAR_USB_MODE, (u8 *)&extra_arg); padapter 3010 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 3025 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 3040 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 3044 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c init_mlme_default_rate_set(padapter); padapter 3078 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->driver_ampdu_spacing = 0xFF; padapter 3084 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->driver_ampdu_spacing = 0xFF; padapter 3086 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->driver_ampdu_spacing = extra_arg; padapter 3093 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct hal_com_data *pHalData = GET_HAL_DATA(padapter); padapter 3095 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c u8 chan = rtw_get_oper_ch(padapter); padapter 3110 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->bNotifyChannelChange = extra_arg; padapter 3161 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->fix_rate = extra_arg; padapter 3167 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c mac_reg_dump(RTW_DBGDUMP, padapter); padapter 3169 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c bb_reg_dump(RTW_DBGDUMP, padapter); padapter 3171 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rf_reg_dump(RTW_DBGDUMP, padapter); padapter 3180 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_get_def_var(padapter, HAL_DEF_DBG_DM_FUNC,&odm_flag); padapter 3195 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_set_def_var(padapter, HAL_DEF_DBG_DM_FUNC, &(extra_arg)); padapter 3196 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_get_def_var(padapter, HAL_DEF_DBG_DM_FUNC,&odm_flag); padapter 3203 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_write8(padapter, 0xc50, arg); padapter 3204 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("wr(0xc50) = 0x%x\n", rtw_read8(padapter, 0xc50)); padapter 3205 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_write8(padapter, 0xc58, arg); padapter 3206 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("wr(0xc58) = 0x%x\n", rtw_read8(padapter, 0xc58)); padapter 3209 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("rd(0xc50) = 0x%x\n", rtw_read8(padapter, 0xc50)); padapter 3210 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("rd(0xc58) = 0x%x\n", rtw_read8(padapter, 0xc58)); padapter 3214 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x210) = 0x%x\n", rtw_read32(padapter, 0x210)); padapter 3215 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x608) = 0x%x\n", rtw_read32(padapter, 0x608)); padapter 3216 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x280) = 0x%x\n", rtw_read32(padapter, 0x280)); padapter 3217 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x284) = 0x%x\n", rtw_read32(padapter, 0x284)); padapter 3218 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x288) = 0x%x\n", rtw_read32(padapter, 0x288)); padapter 3220 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x664) = 0x%x\n", rtw_read32(padapter, 0x664)); padapter 3225 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x430) = 0x%x\n", rtw_read32(padapter, 0x430)); padapter 3226 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x438) = 0x%x\n", rtw_read32(padapter, 0x438)); padapter 3228 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x440) = 0x%x\n", rtw_read32(padapter, 0x440)); padapter 3230 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x458) = 0x%x\n", rtw_read32(padapter, 0x458)); padapter 3232 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x484) = 0x%x\n", rtw_read32(padapter, 0x484)); padapter 3233 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x488) = 0x%x\n", rtw_read32(padapter, 0x488)); padapter 3235 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x444) = 0x%x\n", rtw_read32(padapter, 0x444)); padapter 3236 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x448) = 0x%x\n", rtw_read32(padapter, 0x448)); padapter 3237 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x44c) = 0x%x\n", rtw_read32(padapter, 0x44c)); padapter 3238 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("dbg(0x450) = 0x%x\n", rtw_read32(padapter, 0x450)); padapter 3256 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 3261 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_8021X; /* 802.1x */ padapter 3267 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeWPAPSK; /* WPA_PSK */ padapter 3268 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption2Enabled; padapter 3271 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeWPA2PSK; /* WPA2_PSK */ padapter 3272 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption3Enabled; padapter 3276 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c RT_TRACE(_module_rtl871x_ioctl_os_c, _drv_info_, ("wpa_set_param:padapter->securitypriv.ndisauthtype =%d\n", padapter->securitypriv.ndisauthtype)); padapter 3349 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 3354 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (!rtw_set_802_11_disassociate(padapter)) padapter 3361 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (!rtw_set_802_11_disassociate(padapter)) padapter 3444 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 3445 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 3446 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct security_priv* psecuritypriv =&(padapter->securitypriv); padapter 3447 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 3543 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ap_set_wep_key(padapter, pwep->KeyMaterial, pwep->KeyLength, wep_key_idx, 1); padapter 3554 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ap_set_wep_key(padapter, pwep->KeyMaterial, pwep->KeyLength, wep_key_idx, 0); padapter 3606 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ap_set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx); padapter 3608 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c pbcmc_sta =rtw_get_bcmc_stainfo(padapter); padapter 3653 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ap_set_pairwise_key(padapter, psta); padapter 3690 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ap_set_group_key(padapter, param->u.crypt.key, psecuritypriv->dot118021XGrpPrivacy, param->u.crypt.idx); padapter 3692 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c pbcmc_sta =rtw_get_bcmc_stainfo(padapter); padapter 3711 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 3712 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 3713 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 3728 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (rtw_check_beacon_data(padapter, pbuf, (len-12-2)) == _SUCCESS)/* 12 = param header, 2:no packed */ padapter 3743 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 3748 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c flush_all_cam_entry(padapter); /* clear CAM */ padapter 3750 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_sta_flush(padapter); padapter 3757 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 3758 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 3759 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 3817 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c update_sta_info_apmode(padapter, psta); padapter 3832 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 3833 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 3834 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 3857 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c updated = ap_free_sta(padapter, psta, true, WLAN_REASON_DEAUTH_LEAVING); padapter 3862 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c associated_clients_update(padapter, updated); padapter 3881 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 3882 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 3883 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 3944 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 3945 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 3946 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 3988 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 3989 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 3990 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); padapter 4014 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c update_beacon(padapter, _VENDOR_SPECIFIC_IE_, wps_oui, true); padapter 4027 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 4028 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 4060 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 4061 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 4147 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 4148 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 4159 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_acl_remove_sta(padapter, param->sta_addr); padapter 4166 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 4167 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 4178 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c return rtw_acl_add_sta(padapter, param->sta_addr); padapter 4185 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 4186 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 4191 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_set_macaddr_acl(padapter, param->u.mlme.command); padapter 4200 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 4209 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (!padapter->hw_init_completed) { padapter 4353 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 4386 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); padapter 4444 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 4450 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_pm_set_lps(padapter, mode); padapter 4453 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_pm_set_ips(padapter, mode); padapter 4507 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = rtw_netdev_priv(dev); padapter 4535 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c hal_btcoex_SetManualControl(padapter, false); padapter 4538 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c hal_btcoex_SetManualControl(padapter, true); padapter 4564 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ret = rtw_hal_fill_h2c_cmd(padapter, param[0], count-1, ¶m[1]); padapter 4789 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev); padapter 4790 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct iw_statistics *piwstats =&padapter->iwstats; padapter 4795 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) != true) { padapter 4802 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c tmp_level = translate_percentage_to_dbm(padapter->recvpriv.signal_strength); padapter 4808 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct hal_com_data *pHal = GET_HAL_DATA(padapter); padapter 4810 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c tmp_level = (u8)odm_SignalScaleMapping(&pHal->odmpriv, padapter->recvpriv.signal_strength); padapter 4813 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c tmp_level = padapter->recvpriv.signal_strength; padapter 4817 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c tmp_qual = padapter->recvpriv.signal_qual; padapter 4819 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (rtw_linked_check(padapter)) { padapter 4820 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 4826 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ps_deny(padapter, PS_DENY_IOCTL); padapter 4827 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c LeaveAllPowerSaveModeDirect(padapter); padapter 4829 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_set_odm_var(padapter, HAL_ODM_NOISE_MONITOR,&info, false); padapter 4831 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_ps_deny_cancel(padapter, PS_DENY_IOCTL); padapter 4832 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_hal_get_odm_var(padapter, HAL_ODM_NOISE_MONITOR,&(info.chan), &(padapter->recvpriv.noise)); padapter 4833 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("chan:%d, noise_level:%d\n", info.chan, padapter->recvpriv.noise); padapter 4836 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c tmp_noise = padapter->recvpriv.noise; padapter 4837 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("level:%d, qual:%d, noise:%d, rssi (%d)\n", tmp_level, tmp_qual, tmp_noise, padapter->recvpriv.rssi); padapter 4849 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c return &padapter->iwstats; padapter 32 drivers/staging/rtl8723bs/os_dep/mlme_linux.c void rtw_init_mlme_timer(struct adapter *padapter) padapter 34 drivers/staging/rtl8723bs/os_dep/mlme_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 61 drivers/staging/rtl8723bs/os_dep/mlme_linux.c void rtw_os_indicate_scan_done(struct adapter *padapter, bool aborted) padapter 63 drivers/staging/rtl8723bs/os_dep/mlme_linux.c rtw_cfg80211_indicate_scan_done(padapter, aborted); padapter 64 drivers/staging/rtl8723bs/os_dep/mlme_linux.c indicate_wx_scan_complete_event(padapter); padapter 182 drivers/staging/rtl8723bs/os_dep/mlme_linux.c void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta) padapter 187 drivers/staging/rtl8723bs/os_dep/mlme_linux.c void init_mlme_ext_timer(struct adapter *padapter) padapter 189 drivers/staging/rtl8723bs/os_dep/mlme_linux.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 226 drivers/staging/rtl8723bs/os_dep/os_intfs.c static void loadparam(struct adapter *padapter, _nic_hdl pnetdev) padapter 228 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct registry_priv *registry_par = &padapter->registrypriv; padapter 333 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); padapter 336 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->bup == false) { padapter 339 drivers/staging/rtl8723bs/os_dep/os_intfs.c memcpy(padapter->eeprompriv.mac_addr, addr->sa_data, ETH_ALEN); padapter 349 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); padapter 350 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); padapter 351 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct recv_priv *precvpriv = &(padapter->recvpriv); padapter 353 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->stats.tx_packets = pxmitpriv->tx_pkts;/* pxmitpriv->tx_pkts++; */ padapter 354 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->stats.rx_packets = precvpriv->rx_pkts;/* precvpriv->rx_pkts++; */ padapter 355 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->stats.tx_dropped = pxmitpriv->tx_drop; padapter 356 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->stats.rx_dropped = precvpriv->rx_drop; padapter 357 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->stats.tx_bytes = pxmitpriv->tx_bytes; padapter 358 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->stats.rx_bytes = precvpriv->rx_bytes; padapter 360 drivers/staging/rtl8723bs/os_dep/os_intfs.c return &padapter->stats; padapter 401 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct adapter *padapter = rtw_netdev_priv(dev); padapter 402 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 509 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct adapter *padapter; padapter 523 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter = rtw_netdev_priv(pnetdev); padapter 524 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->pnetdev = pnetdev; padapter 536 drivers/staging/rtl8723bs/os_dep/os_intfs.c loadparam(padapter, pnetdev); padapter 543 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct adapter *padapter = NULL; padapter 546 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter = dvobj->padapters; padapter 548 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter == NULL) padapter 551 drivers/staging/rtl8723bs/os_dep/os_intfs.c pnetdev = padapter->pnetdev; padapter 553 drivers/staging/rtl8723bs/os_dep/os_intfs.c if ((padapter->DriverState != DRIVER_DISAPPEAR) && pnetdev) padapter 555 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_wdev_unregister(padapter->rtw_wdev); padapter 558 drivers/staging/rtl8723bs/os_dep/os_intfs.c u32 rtw_start_drv_threads(struct adapter *padapter) padapter 563 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->xmitThread = kthread_run(rtw_xmit_thread, padapter, "RTW_XMIT_THREAD"); padapter 564 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (IS_ERR(padapter->xmitThread)) padapter 567 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->cmdThread = kthread_run(rtw_cmd_thread, padapter, "RTW_CMD_THREAD"); padapter 568 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (IS_ERR(padapter->cmdThread)) padapter 571 drivers/staging/rtl8723bs/os_dep/os_intfs.c wait_for_completion(&padapter->cmdpriv.terminate_cmdthread_comp); /* wait for cmd_thread to run */ padapter 573 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_hal_start_thread(padapter); padapter 577 drivers/staging/rtl8723bs/os_dep/os_intfs.c void rtw_stop_drv_threads (struct adapter *padapter) padapter 581 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_stop_cmd_thread(padapter); padapter 584 drivers/staging/rtl8723bs/os_dep/os_intfs.c complete(&padapter->xmitpriv.xmit_comp); padapter 585 drivers/staging/rtl8723bs/os_dep/os_intfs.c wait_for_completion(&padapter->xmitpriv.terminate_xmitthread_comp); padapter 588 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_hal_stop_thread(padapter); padapter 591 drivers/staging/rtl8723bs/os_dep/os_intfs.c static void rtw_init_default_value(struct adapter *padapter) padapter 593 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct registry_priv *pregistrypriv = &padapter->registrypriv; padapter 594 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 595 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 596 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 637 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_init_registrypriv_dev_network(padapter); padapter 638 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_update_registrypriv_dev_network(padapter); padapter 641 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_hal_def_value_init(padapter); padapter 644 drivers/staging/rtl8723bs/os_dep/os_intfs.c RTW_ENABLE_FUNC(padapter, DF_RX_BIT); padapter 645 drivers/staging/rtl8723bs/os_dep/os_intfs.c RTW_ENABLE_FUNC(padapter, DF_TX_BIT); padapter 646 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bLinkInfoDump = 0; padapter 647 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bNotifyChannelChange = 0; padapter 650 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->fix_rate = 0xFF; padapter 651 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->driver_ampdu_spacing = 0xFF; padapter 652 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->driver_rx_ampdu_factor = 0xFF; padapter 695 drivers/staging/rtl8723bs/os_dep/os_intfs.c void rtw_reset_drv_sw(struct adapter *padapter) padapter 697 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 698 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); padapter 701 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (is_primary_adapter(padapter)) padapter 702 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_hal_def_value_init(padapter); padapter 704 drivers/staging/rtl8723bs/os_dep/os_intfs.c RTW_ENABLE_FUNC(padapter, DF_RX_BIT); padapter 705 drivers/staging/rtl8723bs/os_dep/os_intfs.c RTW_ENABLE_FUNC(padapter, DF_TX_BIT); padapter 706 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bLinkInfoDump = 0; padapter 708 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->xmitpriv.tx_pkts = 0; padapter 709 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->recvpriv.rx_pkts = 0; padapter 722 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->mlmeextpriv.sitesurvey_res.state = SCAN_DISABLE; padapter 724 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_set_signal_stat_timer(&padapter->recvpriv); padapter 729 drivers/staging/rtl8723bs/os_dep/os_intfs.c u8 rtw_init_drv_sw(struct adapter *padapter) padapter 735 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_init_default_value(padapter); padapter 737 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_init_hal_com_default_value(padapter); padapter 739 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (rtw_init_cmd_priv(&padapter->cmdpriv)) { padapter 745 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->cmdpriv.padapter = padapter; padapter 747 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (rtw_init_evt_priv(&padapter->evtpriv)) { padapter 754 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (rtw_init_mlme_priv(padapter) == _FAIL) { padapter 760 drivers/staging/rtl8723bs/os_dep/os_intfs.c init_mlme_ext_priv(padapter); padapter 762 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (_rtw_init_xmit_priv(&padapter->xmitpriv, padapter) == _FAIL) { padapter 768 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (_rtw_init_recv_priv(&padapter->recvpriv, padapter) == _FAIL) { padapter 774 drivers/staging/rtl8723bs/os_dep/os_intfs.c spin_lock_init(&padapter->security_key_mutex); padapter 779 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (_rtw_init_sta_priv(&padapter->stapriv) == _FAIL) { padapter 785 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->stapriv.padapter = padapter; padapter 786 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->setband = GHZ24_50; padapter 787 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->fix_rate = 0xFF; padapter 788 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_init_bcmc_stainfo(padapter); padapter 790 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_init_pwrctrl_priv(padapter); padapter 792 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_hal_dm_init(padapter); padapter 801 drivers/staging/rtl8723bs/os_dep/os_intfs.c void rtw_cancel_all_timer(struct adapter *padapter) padapter 805 drivers/staging/rtl8723bs/os_dep/os_intfs.c del_timer_sync(&padapter->mlmepriv.assoc_timer); padapter 808 drivers/staging/rtl8723bs/os_dep/os_intfs.c del_timer_sync(&padapter->mlmepriv.scan_to_timer); padapter 811 drivers/staging/rtl8723bs/os_dep/os_intfs.c del_timer_sync(&padapter->mlmepriv.dynamic_chk_timer); padapter 814 drivers/staging/rtl8723bs/os_dep/os_intfs.c del_timer_sync(&(adapter_to_pwrctl(padapter)->pwr_state_check_timer)); padapter 816 drivers/staging/rtl8723bs/os_dep/os_intfs.c del_timer_sync(&padapter->mlmepriv.set_scan_deny_timer); padapter 817 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_clear_scan_deny(padapter); padapter 820 drivers/staging/rtl8723bs/os_dep/os_intfs.c del_timer_sync(&padapter->recvpriv.signal_stat_timer); padapter 823 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_hal_dm_deinit(padapter); padapter 826 drivers/staging/rtl8723bs/os_dep/os_intfs.c u8 rtw_free_drv_sw(struct adapter *padapter) padapter 830 drivers/staging/rtl8723bs/os_dep/os_intfs.c free_mlme_ext_priv(&padapter->mlmeextpriv); padapter 832 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_free_cmd_priv(&padapter->cmdpriv); padapter 834 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_free_evt_priv(&padapter->evtpriv); padapter 836 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_free_mlme_priv(&padapter->mlmepriv); padapter 840 drivers/staging/rtl8723bs/os_dep/os_intfs.c _rtw_free_xmit_priv(&padapter->xmitpriv); padapter 842 drivers/staging/rtl8723bs/os_dep/os_intfs.c _rtw_free_sta_priv(&padapter->stapriv); /* will free bcmc_stainfo here */ padapter 844 drivers/staging/rtl8723bs/os_dep/os_intfs.c _rtw_free_recv_priv(&padapter->recvpriv); padapter 846 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_free_pwrctrl_priv(padapter); padapter 850 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_hal_free_data(padapter); padapter 855 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->rereg_nd_name_priv.old_pnetdev) { padapter 856 drivers/staging/rtl8723bs/os_dep/os_intfs.c free_netdev(padapter->rereg_nd_name_priv.old_pnetdev); padapter 857 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->rereg_nd_name_priv.old_pnetdev = NULL; padapter 861 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->pbuddy_adapter != NULL) padapter 862 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->pbuddy_adapter->pbuddy_adapter = NULL; padapter 869 drivers/staging/rtl8723bs/os_dep/os_intfs.c static int _rtw_drv_register_netdev(struct adapter *padapter, char *name) padapter 872 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct net_device *pnetdev = padapter->pnetdev; padapter 878 drivers/staging/rtl8723bs/os_dep/os_intfs.c memcpy(pnetdev->dev_addr, padapter->eeprompriv.mac_addr, ETH_ALEN); padapter 887 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("%s, MAC Address (if%d) = " MAC_FMT "\n", __func__, (padapter->iface_id + 1), MAC_ARG(pnetdev->dev_addr)); padapter 893 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_free_drv_sw(padapter); padapter 903 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct adapter *padapter = dvobj->padapters; padapter 906 drivers/staging/rtl8723bs/os_dep/os_intfs.c return _rtw_drv_register_netdev(padapter, name); padapter 912 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); padapter 913 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); padapter 916 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("+871x_drv - drv_open, bup =%d\n", padapter->bup); padapter 918 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->netif_up = true; padapter 921 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->net_closed = false; padapter 925 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->bup == false) { padapter 926 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bDriverStopped = false; padapter 927 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bSurpriseRemoved = false; padapter 928 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bCardDisableWOHSM = false; padapter 930 drivers/staging/rtl8723bs/os_dep/os_intfs.c status = rtw_hal_init(padapter); padapter 938 drivers/staging/rtl8723bs/os_dep/os_intfs.c status = rtw_start_drv_threads(padapter); padapter 944 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->intf_start) padapter 945 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->intf_start(padapter); padapter 947 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_cfg80211_init_wiphy(padapter); padapter 949 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bup = true; padapter 952 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->net_closed = false; padapter 954 drivers/staging/rtl8723bs/os_dep/os_intfs.c _set_timer(&padapter->mlmepriv.dynamic_chk_timer, 2000); padapter 964 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("-871x_drv - drv_open, bup =%d\n", padapter->bup); padapter 970 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bup = false; padapter 976 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("-871x_drv - drv_open fail, bup =%d\n", padapter->bup); padapter 984 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); padapter 985 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); padapter 992 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (mutex_lock_interruptible(&(adapter_to_dvobj(padapter)->hw_init_mutex))) padapter 996 drivers/staging/rtl8723bs/os_dep/os_intfs.c mutex_unlock(&(adapter_to_dvobj(padapter)->hw_init_mutex)); padapter 1001 drivers/staging/rtl8723bs/os_dep/os_intfs.c static int ips_netdrv_open(struct adapter *padapter) padapter 1006 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->net_closed = false; padapter 1011 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bDriverStopped = false; padapter 1012 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bCardDisableWOHSM = false; padapter 1015 drivers/staging/rtl8723bs/os_dep/os_intfs.c status = rtw_hal_init(padapter); padapter 1021 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->intf_start) padapter 1022 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->intf_start(padapter); padapter 1024 drivers/staging/rtl8723bs/os_dep/os_intfs.c _set_timer(&padapter->mlmepriv.dynamic_chk_timer, 2000); padapter 1030 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("-ips_netdrv_open - drv_open failure, bup =%d\n", padapter->bup); padapter 1036 drivers/staging/rtl8723bs/os_dep/os_intfs.c int rtw_ips_pwr_up(struct adapter *padapter) padapter 1041 drivers/staging/rtl8723bs/os_dep/os_intfs.c result = ips_netdrv_open(padapter); padapter 1047 drivers/staging/rtl8723bs/os_dep/os_intfs.c void rtw_ips_pwr_down(struct adapter *padapter) padapter 1051 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bCardDisableWOHSM = true; padapter 1052 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->net_closed = true; padapter 1054 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_ips_dev_unload(padapter); padapter 1055 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bCardDisableWOHSM = false; padapter 1059 drivers/staging/rtl8723bs/os_dep/os_intfs.c void rtw_ips_dev_unload(struct adapter *padapter) padapter 1064 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->bSurpriseRemoved == false) padapter 1065 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_hal_deinit(padapter); padapter 1073 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); padapter 1076 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (mutex_lock_interruptible(&(adapter_to_dvobj(padapter)->hw_init_mutex)) == 0) { padapter 1078 drivers/staging/rtl8723bs/os_dep/os_intfs.c mutex_unlock(&(adapter_to_dvobj(padapter)->hw_init_mutex)); padapter 1082 drivers/staging/rtl8723bs/os_dep/os_intfs.c status = (_SUCCESS == ips_netdrv_open(padapter)) ? (0) : (-1); padapter 1089 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); padapter 1090 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); padapter 1099 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->net_closed = true; padapter 1100 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->netif_up = false; padapter 1112 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("(2)871x_drv - drv_close, bup =%d, hw_init_completed =%d\n", padapter->bup, padapter->hw_init_completed); padapter 1121 drivers/staging/rtl8723bs/os_dep/os_intfs.c LeaveAllPowerSaveMode(padapter); padapter 1122 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_disassoc_cmd(padapter, 500, false); padapter 1124 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_indicate_disconnect(padapter); padapter 1126 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_free_assoc_resources(padapter, 1); padapter 1128 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_free_network_queue(padapter, true); padapter 1131 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_scan_abort(padapter); padapter 1132 drivers/staging/rtl8723bs/os_dep/os_intfs.c adapter_wdev_data(padapter)->bandroid_scan = false; padapter 1135 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("-871x_drv - drv_close, bup =%d\n", padapter->bup); padapter 1148 drivers/staging/rtl8723bs/os_dep/os_intfs.c void rtw_dev_unload(struct adapter *padapter) padapter 1150 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); padapter 1151 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct dvobj_priv *pobjpriv = padapter->dvobj; padapter 1153 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct cmd_priv *pcmdpriv = &padapter->cmdpriv; padapter 1158 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->bup == true) { padapter 1161 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bDriverStopped = true; padapter 1162 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->xmitpriv.ack_tx) padapter 1163 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_ack_tx_done(&padapter->xmitpriv, RTW_SCTX_DONE_DRV_STOP); padapter 1165 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->intf_stop) padapter 1166 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->intf_stop(padapter); padapter 1171 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_stop_drv_threads(padapter); padapter 1187 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (rtw_hal_check_ips_status(padapter) == true || pwrctl->rf_pwrstate == rf_off) { /* check HW status and SW state */ padapter 1190 drivers/staging/rtl8723bs/os_dep/os_intfs.c LeaveAllPowerSaveMode(padapter); padapter 1195 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->bSurpriseRemoved == false) { padapter 1196 drivers/staging/rtl8723bs/os_dep/os_intfs.c hal_btcoex_IpsNotify(padapter, pwrctl->ips_mode_req); padapter 1206 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_hal_deinit(padapter); padapter 1208 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bSurpriseRemoved = true; padapter 1213 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bup = false; padapter 1225 drivers/staging/rtl8723bs/os_dep/os_intfs.c static int rtw_suspend_free_assoc_resource(struct adapter *padapter) padapter 1227 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1229 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("==> " FUNC_ADPT_FMT " entry....\n", FUNC_ADPT_ARG(padapter)); padapter 1231 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (rtw_chk_roam_flags(padapter, RTW_ROAM_ON_RESUME)) { padapter 1239 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_set_to_roam(padapter, 1); padapter 1244 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_disassoc_cmd(padapter, 0, false); padapter 1246 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_indicate_disconnect(padapter); padapter 1249 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_sta_flush(padapter); padapter 1253 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_free_assoc_resources(padapter, 1); padapter 1256 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_free_network_queue(padapter, true); padapter 1259 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_indicate_scan_done(padapter, 1); padapter 1263 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_indicate_disconnect(padapter); padapter 1266 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("<== " FUNC_ADPT_FMT " exit....\n", FUNC_ADPT_ARG(padapter)); padapter 1271 drivers/staging/rtl8723bs/os_dep/os_intfs.c void rtw_suspend_wow(struct adapter *padapter) padapter 1274 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1275 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct net_device *pnetdev = padapter->pnetdev; padapter 1276 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 1279 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("==> " FUNC_ADPT_FMT " entry....\n", FUNC_ADPT_ARG(padapter)); padapter 1289 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bDriverStopped = true; /* for stop thread */ padapter 1290 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_stop_drv_threads(padapter); padapter 1291 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bDriverStopped = false; /* for 32k command */ padapter 1294 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->intf_stop) { padapter 1295 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->intf_stop(padapter); padapter 1299 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->HalFunc.clear_interrupt) padapter 1300 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->HalFunc.clear_interrupt(padapter); padapter 1304 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->intf_free_irq) padapter 1305 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->intf_free_irq(adapter_to_dvobj(padapter)); padapter 1308 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->HalFunc.SetHwRegHandler(padapter, HW_VAR_WOWLAN, (u8 *)&poidparam); padapter 1309 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (rtw_chk_roam_flags(padapter, RTW_ROAM_ON_RESUME)) { padapter 1318 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_set_to_roam(padapter, 0); padapter 1326 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_indicate_scan_done(padapter, 1); padapter 1330 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (rtw_get_ch_setting_union(padapter, &ch, &bw, &offset) != 0) { padapter 1332 drivers/staging/rtl8723bs/os_dep/os_intfs.c FUNC_ADPT_ARG(padapter), ch, bw, offset); padapter 1333 drivers/staging/rtl8723bs/os_dep/os_intfs.c set_channel_bwmode(padapter, ch, offset, bw); padapter 1339 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_set_ps_mode(padapter, PS_MODE_DTIM, 0, 0, "WOWLAN"); padapter 1344 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("<== " FUNC_ADPT_FMT " exit....\n", FUNC_ADPT_ARG(padapter)); padapter 1349 drivers/staging/rtl8723bs/os_dep/os_intfs.c void rtw_suspend_ap_wow(struct adapter *padapter) padapter 1352 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct net_device *pnetdev = padapter->pnetdev; padapter 1353 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 1356 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("==> " FUNC_ADPT_FMT " entry....\n", FUNC_ADPT_ARG(padapter)); padapter 1365 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bDriverStopped = true; /* for stop thread */ padapter 1366 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_stop_drv_threads(padapter); padapter 1367 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bDriverStopped = false; /* for 32k command */ padapter 1370 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_hal_disable_interrupt(padapter); /* It need wait for leaving 32K. */ padapter 1373 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->HalFunc.clear_interrupt) padapter 1374 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->HalFunc.clear_interrupt(padapter); padapter 1378 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->intf_free_irq) padapter 1379 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->intf_free_irq(adapter_to_dvobj(padapter)); padapter 1382 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->HalFunc.SetHwRegHandler(padapter, padapter 1387 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (rtw_get_ch_setting_union(padapter, &ch, &bw, &offset) != 0) { padapter 1389 drivers/staging/rtl8723bs/os_dep/os_intfs.c FUNC_ADPT_ARG(padapter), ch, bw, offset); padapter 1390 drivers/staging/rtl8723bs/os_dep/os_intfs.c set_channel_bwmode(padapter, ch, offset, bw); padapter 1393 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_set_ps_mode(padapter, PS_MODE_MIN, 0, 0, "AP-WOWLAN"); padapter 1395 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("<== " FUNC_ADPT_FMT " exit....\n", FUNC_ADPT_ARG(padapter)); padapter 1400 drivers/staging/rtl8723bs/os_dep/os_intfs.c static void rtw_suspend_normal(struct adapter *padapter) padapter 1402 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct net_device *pnetdev = padapter->pnetdev; padapter 1404 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("==> " FUNC_ADPT_FMT " entry....\n", FUNC_ADPT_ARG(padapter)); padapter 1410 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_suspend_free_assoc_resource(padapter); padapter 1412 drivers/staging/rtl8723bs/os_dep/os_intfs.c if ((rtw_hal_check_ips_status(padapter) == true) padapter 1413 drivers/staging/rtl8723bs/os_dep/os_intfs.c || (adapter_to_pwrctl(padapter)->rf_pwrstate == rf_off)) { padapter 1417 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_dev_unload(padapter); padapter 1420 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->intf_deinit) padapter 1421 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->intf_deinit(adapter_to_dvobj(padapter)); padapter 1423 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("<== " FUNC_ADPT_FMT " exit....\n", FUNC_ADPT_ARG(padapter)); padapter 1426 drivers/staging/rtl8723bs/os_dep/os_intfs.c int rtw_suspend_common(struct adapter *padapter) padapter 1428 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct dvobj_priv *psdpriv = padapter->dvobj; padapter 1431 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1445 drivers/staging/rtl8723bs/os_dep/os_intfs.c if ((!padapter->bup) || (padapter->bDriverStopped) || (padapter->bSurpriseRemoved)) { padapter 1447 drivers/staging/rtl8723bs/os_dep/os_intfs.c , padapter->bup, padapter->bDriverStopped, padapter->bSurpriseRemoved); padapter 1451 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_ps_deny(padapter, PS_DENY_SUSPEND); padapter 1453 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_cancel_all_timer(padapter); padapter 1455 drivers/staging/rtl8723bs/os_dep/os_intfs.c LeaveAllPowerSaveModeDirect(padapter); padapter 1457 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_stop_cmd_thread(padapter); padapter 1461 drivers/staging/rtl8723bs/os_dep/os_intfs.c hal_btcoex_SuspendNotify(padapter, 0); padapter 1464 drivers/staging/rtl8723bs/os_dep/os_intfs.c hal_btcoex_SuspendNotify(padapter, 1); padapter 1468 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_ps_deny_cancel(padapter, PS_DENY_SUSPEND); padapter 1479 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_suspend_wow(padapter); padapter 1481 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_suspend_normal(padapter); padapter 1484 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_suspend_normal(padapter); padapter 1488 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_suspend_ap_wow(padapter); padapter 1490 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_suspend_normal(padapter); padapter 1493 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_suspend_normal(padapter); padapter 1507 drivers/staging/rtl8723bs/os_dep/os_intfs.c int rtw_resume_process_wow(struct adapter *padapter) padapter 1509 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 1511 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct net_device *pnetdev = padapter->pnetdev; padapter 1512 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 1513 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct dvobj_priv *psdpriv = padapter->dvobj; padapter 1519 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("==> " FUNC_ADPT_FMT " entry....\n", FUNC_ADPT_ARG(padapter)); padapter 1521 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter) { padapter 1522 drivers/staging/rtl8723bs/os_dep/os_intfs.c pnetdev = padapter->pnetdev; padapter 1523 drivers/staging/rtl8723bs/os_dep/os_intfs.c pwrpriv = adapter_to_pwrctl(padapter); padapter 1530 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->bDriverStopped || padapter->bSurpriseRemoved) { padapter 1532 drivers/staging/rtl8723bs/os_dep/os_intfs.c __func__, padapter, padapter->bDriverStopped, padapter 1533 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bSurpriseRemoved); padapter 1542 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_set_ps_mode(padapter, PS_MODE_ACTIVE, 0, 0, "WOWLAN"); padapter 1546 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->intf_stop) { padapter 1547 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->intf_stop(padapter); padapter 1550 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->HalFunc.clear_interrupt) padapter 1551 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->HalFunc.clear_interrupt(padapter); padapter 1554 drivers/staging/rtl8723bs/os_dep/os_intfs.c if ((padapter->intf_alloc_irq) && (padapter->intf_alloc_irq(adapter_to_dvobj(padapter)) != _SUCCESS)) { padapter 1562 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->HalFunc.SetHwRegHandler(padapter, HW_VAR_WOWLAN, (u8 *)&poidparam); padapter 1564 drivers/staging/rtl8723bs/os_dep/os_intfs.c psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(&padapter->mlmepriv)); padapter 1566 drivers/staging/rtl8723bs/os_dep/os_intfs.c set_sta_rate(padapter, psta); padapter 1570 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bDriverStopped = false; padapter 1571 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("%s: wowmode resuming, DriverStopped:%d\n", __func__, padapter->bDriverStopped); padapter 1572 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_start_drv_threads(padapter); padapter 1574 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->intf_start) { padapter 1575 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->intf_start(padapter); padapter 1590 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->pid[1] != 0) { padapter 1591 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("pid[1]:%d\n", padapter->pid[1]); padapter 1592 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_signal_process(padapter->pid[1], SIGUSR2); padapter 1595 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (rtw_chk_roam_flags(padapter, RTW_ROAM_ON_RESUME)) { padapter 1601 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_indicate_disconnect(padapter); padapter 1603 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_sta_media_status_rpt(padapter, padapter 1604 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_get_stainfo(&padapter->stapriv, padapter 1605 drivers/staging/rtl8723bs/os_dep/os_intfs.c get_bssid(&padapter->mlmepriv)), 0); padapter 1607 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_free_assoc_resources(padapter, 1); padapter 1612 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_roaming(padapter, NULL); padapter 1618 drivers/staging/rtl8723bs/os_dep/os_intfs.c _set_timer(&padapter->mlmepriv.dynamic_chk_timer, 2000); padapter 1628 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("<== " FUNC_ADPT_FMT " exit....\n", FUNC_ADPT_ARG(padapter)); padapter 1634 drivers/staging/rtl8723bs/os_dep/os_intfs.c int rtw_resume_process_ap_wow(struct adapter *padapter) padapter 1636 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct net_device *pnetdev = padapter->pnetdev; padapter 1637 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 1638 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct dvobj_priv *psdpriv = padapter->dvobj; padapter 1643 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("==> " FUNC_ADPT_FMT " entry....\n", FUNC_ADPT_ARG(padapter)); padapter 1645 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter) { padapter 1646 drivers/staging/rtl8723bs/os_dep/os_intfs.c pnetdev = padapter->pnetdev; padapter 1647 drivers/staging/rtl8723bs/os_dep/os_intfs.c pwrpriv = adapter_to_pwrctl(padapter); padapter 1654 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_set_ps_mode(padapter, PS_MODE_ACTIVE, 0, 0, "AP-WOWLAN"); padapter 1658 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_hal_disable_interrupt(padapter); padapter 1660 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->HalFunc.clear_interrupt) padapter 1661 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->HalFunc.clear_interrupt(padapter); padapter 1664 drivers/staging/rtl8723bs/os_dep/os_intfs.c if ((padapter->intf_alloc_irq) && (padapter->intf_alloc_irq(adapter_to_dvobj(padapter)) != _SUCCESS)) { padapter 1672 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->HalFunc.SetHwRegHandler(padapter, padapter 1676 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->bDriverStopped = false; padapter 1677 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("%s: wowmode resuming, DriverStopped:%d\n", __func__, padapter->bDriverStopped); padapter 1678 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_start_drv_threads(padapter); padapter 1680 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->intf_start) { padapter 1681 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->intf_start(padapter); padapter 1692 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->pid[1] != 0) { padapter 1693 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("pid[1]:%d\n", padapter->pid[1]); padapter 1694 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_signal_process(padapter->pid[1], SIGUSR2); padapter 1698 drivers/staging/rtl8723bs/os_dep/os_intfs.c _set_timer(&padapter->mlmepriv.dynamic_chk_timer, 2000); padapter 1703 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("<== " FUNC_ADPT_FMT " exit....\n", FUNC_ADPT_ARG(padapter)); padapter 1708 drivers/staging/rtl8723bs/os_dep/os_intfs.c static int rtw_resume_process_normal(struct adapter *padapter) padapter 1718 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (!padapter) { padapter 1723 drivers/staging/rtl8723bs/os_dep/os_intfs.c pnetdev = padapter->pnetdev; padapter 1724 drivers/staging/rtl8723bs/os_dep/os_intfs.c pwrpriv = adapter_to_pwrctl(padapter); padapter 1725 drivers/staging/rtl8723bs/os_dep/os_intfs.c pmlmepriv = &padapter->mlmepriv; padapter 1726 drivers/staging/rtl8723bs/os_dep/os_intfs.c psdpriv = padapter->dvobj; padapter 1729 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("==> " FUNC_ADPT_FMT " entry....\n", FUNC_ADPT_ARG(padapter)); padapter 1732 drivers/staging/rtl8723bs/os_dep/os_intfs.c if ((padapter->intf_init) && (padapter->intf_init(adapter_to_dvobj(padapter)) != _SUCCESS)) { padapter 1737 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_hal_disable_interrupt(padapter); padapter 1739 drivers/staging/rtl8723bs/os_dep/os_intfs.c if ((padapter->intf_alloc_irq) && (padapter->intf_alloc_irq(adapter_to_dvobj(padapter)) != _SUCCESS)) { padapter 1745 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_reset_drv_sw(padapter); padapter 1758 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (padapter->pid[1] != 0) { padapter 1759 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("pid[1]:%d\n", padapter->pid[1]); padapter 1760 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_signal_process(padapter->pid[1], SIGUSR2); padapter 1765 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X(FUNC_ADPT_FMT " fwstate:0x%08x - WIFI_STATION_STATE\n", FUNC_ADPT_ARG(padapter), get_fwstate(pmlmepriv)); padapter 1767 drivers/staging/rtl8723bs/os_dep/os_intfs.c if (rtw_chk_roam_flags(padapter, RTW_ROAM_ON_RESUME)) padapter 1768 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_roaming(padapter, NULL); padapter 1771 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X(FUNC_ADPT_FMT " fwstate:0x%08x - WIFI_AP_STATE\n", FUNC_ADPT_ARG(padapter), get_fwstate(pmlmepriv)); padapter 1772 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_ap_restore_network(padapter); padapter 1774 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X(FUNC_ADPT_FMT " fwstate:0x%08x - WIFI_ADHOC_STATE\n", FUNC_ADPT_ARG(padapter), get_fwstate(pmlmepriv)); padapter 1776 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X(FUNC_ADPT_FMT " fwstate:0x%08x - ???\n", FUNC_ADPT_ARG(padapter), get_fwstate(pmlmepriv)); padapter 1779 drivers/staging/rtl8723bs/os_dep/os_intfs.c DBG_871X("<== " FUNC_ADPT_FMT " exit....\n", FUNC_ADPT_ARG(padapter)); padapter 1785 drivers/staging/rtl8723bs/os_dep/os_intfs.c int rtw_resume_common(struct adapter *padapter) padapter 1789 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 1790 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 1798 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_resume_process_wow(padapter); padapter 1800 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_resume_process_normal(padapter); padapter 1802 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_resume_process_normal(padapter); padapter 1807 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_resume_process_ap_wow(padapter); padapter 1809 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_resume_process_normal(padapter); padapter 1812 drivers/staging/rtl8723bs/os_dep/os_intfs.c rtw_resume_process_normal(padapter); padapter 1815 drivers/staging/rtl8723bs/os_dep/os_intfs.c hal_btcoex_SuspendNotify(padapter, 0); padapter 263 drivers/staging/rtl8723bs/os_dep/osdep_service.c int rtw_change_ifname(struct adapter *padapter, const char *ifname) padapter 270 drivers/staging/rtl8723bs/os_dep/osdep_service.c if (!padapter) padapter 273 drivers/staging/rtl8723bs/os_dep/osdep_service.c cur_pnetdev = padapter->pnetdev; padapter 274 drivers/staging/rtl8723bs/os_dep/osdep_service.c rereg_priv = &padapter->rereg_nd_name_priv; padapter 289 drivers/staging/rtl8723bs/os_dep/osdep_service.c pnetdev = rtw_init_netdev(padapter); padapter 295 drivers/staging/rtl8723bs/os_dep/osdep_service.c SET_NETDEV_DEV(pnetdev, dvobj_to_dev(adapter_to_dvobj(padapter))); padapter 299 drivers/staging/rtl8723bs/os_dep/osdep_service.c memcpy(pnetdev->dev_addr, padapter->eeprompriv.mac_addr, ETH_ALEN); padapter 23 drivers/staging/rtl8723bs/os_dep/recv_linux.c void rtw_os_recv_resource_alloc(struct adapter *padapter, union recv_frame *precvframe) padapter 46 drivers/staging/rtl8723bs/os_dep/recv_linux.c void rtw_os_recvbuf_resource_free(struct adapter *padapter, struct recv_buf *precvbuf) padapter 99 drivers/staging/rtl8723bs/os_dep/recv_linux.c void rtw_os_recv_indicate_pkt(struct adapter *padapter, _pkt *pkt, struct rx_pkt_attrib *pattrib) padapter 101 drivers/staging/rtl8723bs/os_dep/recv_linux.c struct mlme_priv*pmlmepriv = &padapter->mlmepriv; padapter 109 drivers/staging/rtl8723bs/os_dep/recv_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 114 drivers/staging/rtl8723bs/os_dep/recv_linux.c if (memcmp(pattrib->dst, myid(&padapter->eeprompriv), ETH_ALEN)) { padapter 118 drivers/staging/rtl8723bs/os_dep/recv_linux.c psta = rtw_get_bcmc_stainfo(padapter); padapter 125 drivers/staging/rtl8723bs/os_dep/recv_linux.c struct net_device *pnetdev = (struct net_device*)padapter->pnetdev; padapter 137 drivers/staging/rtl8723bs/os_dep/recv_linux.c DBG_COUNTER(padapter->rx_logs.os_indicate_ap_mcast); padapter 139 drivers/staging/rtl8723bs/os_dep/recv_linux.c DBG_COUNTER(padapter->rx_logs.os_indicate_ap_forward); padapter 146 drivers/staging/rtl8723bs/os_dep/recv_linux.c DBG_COUNTER(padapter->rx_logs.os_indicate_ap_self); padapter 150 drivers/staging/rtl8723bs/os_dep/recv_linux.c pkt->protocol = eth_type_trans(pkt, padapter->pnetdev); padapter 151 drivers/staging/rtl8723bs/os_dep/recv_linux.c pkt->dev = padapter->pnetdev; padapter 163 drivers/staging/rtl8723bs/os_dep/recv_linux.c ret = rtw_netif_rx(padapter->pnetdev, pkt); padapter 165 drivers/staging/rtl8723bs/os_dep/recv_linux.c DBG_COUNTER(padapter->rx_logs.os_netif_ok); padapter 167 drivers/staging/rtl8723bs/os_dep/recv_linux.c DBG_COUNTER(padapter->rx_logs.os_netif_err); padapter 171 drivers/staging/rtl8723bs/os_dep/recv_linux.c void rtw_handle_tkip_mic_err(struct adapter *padapter, u8 bgroup) padapter 176 drivers/staging/rtl8723bs/os_dep/recv_linux.c struct mlme_priv* pmlmepriv = &padapter->mlmepriv; padapter 177 drivers/staging/rtl8723bs/os_dep/recv_linux.c struct security_priv *psecuritypriv = &padapter->securitypriv; padapter 200 drivers/staging/rtl8723bs/os_dep/recv_linux.c cfg80211_michael_mic_failure(padapter->pnetdev, (u8 *)&pmlmepriv->assoc_bssid[ 0 ], key_type, -1, padapter 218 drivers/staging/rtl8723bs/os_dep/recv_linux.c static void rtw_os_ksocket_send(struct adapter *padapter, union recv_frame *precv_frame) padapter 254 drivers/staging/rtl8723bs/os_dep/recv_linux.c int rtw_recv_indicatepkt(struct adapter *padapter, union recv_frame *precv_frame) padapter 261 drivers/staging/rtl8723bs/os_dep/recv_linux.c DBG_COUNTER(padapter->rx_logs.os_indicate); padapter 263 drivers/staging/rtl8723bs/os_dep/recv_linux.c precvpriv = &(padapter->recvpriv); padapter 286 drivers/staging/rtl8723bs/os_dep/recv_linux.c rtw_os_ksocket_send(padapter, precv_frame); padapter 292 drivers/staging/rtl8723bs/os_dep/recv_linux.c rtw_os_recv_indicate_pkt(padapter, skb, pattrib); padapter 307 drivers/staging/rtl8723bs/os_dep/recv_linux.c DBG_COUNTER(padapter->rx_logs.os_indicate_err); padapter 124 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct adapter *padapter = data; padapter 132 drivers/staging/rtl8723bs/os_dep/sdio_intf.c static u8 gpio_hostwakeup_alloc_irq(struct adapter *padapter) padapter 146 drivers/staging/rtl8723bs/os_dep/sdio_intf.c "rtw_wifi_gpio_wakeup", padapter); padapter 158 drivers/staging/rtl8723bs/os_dep/sdio_intf.c static void gpio_hostwakeup_free_irq(struct adapter *padapter) padapter 164 drivers/staging/rtl8723bs/os_dep/sdio_intf.c free_irq(oob_irq, padapter); padapter 282 drivers/staging/rtl8723bs/os_dep/sdio_intf.c void rtw_set_hal_ops(struct adapter *padapter) padapter 285 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_hal_data_init(padapter); padapter 287 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtl8723bs_set_hal_ops(padapter); padapter 290 drivers/staging/rtl8723bs/os_dep/sdio_intf.c static void sd_intf_start(struct adapter *padapter) padapter 292 drivers/staging/rtl8723bs/os_dep/sdio_intf.c if (padapter == NULL) { padapter 298 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_hal_enable_interrupt(padapter); padapter 301 drivers/staging/rtl8723bs/os_dep/sdio_intf.c static void sd_intf_stop(struct adapter *padapter) padapter 303 drivers/staging/rtl8723bs/os_dep/sdio_intf.c if (padapter == NULL) { padapter 309 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_hal_disable_interrupt(padapter); padapter 317 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct adapter *padapter = NULL; padapter 320 drivers/staging/rtl8723bs/os_dep/sdio_intf.c padapter = vzalloc(sizeof(*padapter)); padapter 321 drivers/staging/rtl8723bs/os_dep/sdio_intf.c if (padapter == NULL) { padapter 325 drivers/staging/rtl8723bs/os_dep/sdio_intf.c padapter->dvobj = dvobj; padapter 326 drivers/staging/rtl8723bs/os_dep/sdio_intf.c dvobj->if1 = padapter; padapter 328 drivers/staging/rtl8723bs/os_dep/sdio_intf.c padapter->bDriverStopped =true; padapter 330 drivers/staging/rtl8723bs/os_dep/sdio_intf.c dvobj->padapters = padapter; padapter 331 drivers/staging/rtl8723bs/os_dep/sdio_intf.c padapter->iface_id = 0; padapter 334 drivers/staging/rtl8723bs/os_dep/sdio_intf.c pnetdev = rtw_init_netdev(padapter); padapter 340 drivers/staging/rtl8723bs/os_dep/sdio_intf.c padapter = rtw_netdev_priv(pnetdev); padapter 342 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_wdev_alloc(padapter, dvobj_to_dev(dvobj)); padapter 347 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_set_hal_ops(padapter); padapter 351 drivers/staging/rtl8723bs/os_dep/sdio_intf.c padapter->intf_start = &sd_intf_start; padapter 352 drivers/staging/rtl8723bs/os_dep/sdio_intf.c padapter->intf_stop = &sd_intf_stop; padapter 354 drivers/staging/rtl8723bs/os_dep/sdio_intf.c padapter->intf_init = &sdio_init; padapter 355 drivers/staging/rtl8723bs/os_dep/sdio_intf.c padapter->intf_deinit = &sdio_deinit; padapter 356 drivers/staging/rtl8723bs/os_dep/sdio_intf.c padapter->intf_alloc_irq = &sdio_alloc_irq; padapter 357 drivers/staging/rtl8723bs/os_dep/sdio_intf.c padapter->intf_free_irq = &sdio_free_irq; padapter 359 drivers/staging/rtl8723bs/os_dep/sdio_intf.c if (rtw_init_io_priv(padapter, sdio_set_intf_ops) == _FAIL) { padapter 365 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_hal_read_chip_version(padapter); padapter 367 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_hal_chip_configure(padapter); padapter 369 drivers/staging/rtl8723bs/os_dep/sdio_intf.c hal_btcoex_Initialize((void *) padapter); padapter 372 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_hal_read_chip_info(padapter); padapter 375 drivers/staging/rtl8723bs/os_dep/sdio_intf.c if (rtw_init_drv_sw(padapter) == _FAIL) { padapter 383 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_macaddr_cfg(&psdio->func->dev, padapter->eeprompriv.mac_addr); padapter 385 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_hal_disable_interrupt(padapter); padapter 388 drivers/staging/rtl8723bs/os_dep/sdio_intf.c , padapter->bDriverStopped padapter 389 drivers/staging/rtl8723bs/os_dep/sdio_intf.c , padapter->bSurpriseRemoved padapter 390 drivers/staging/rtl8723bs/os_dep/sdio_intf.c , padapter->bup padapter 391 drivers/staging/rtl8723bs/os_dep/sdio_intf.c , padapter->hw_init_completed padapter 397 drivers/staging/rtl8723bs/os_dep/sdio_intf.c if (status != _SUCCESS && padapter->HalData) padapter 398 drivers/staging/rtl8723bs/os_dep/sdio_intf.c kfree(padapter->HalData); padapter 401 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_wdev_unregister(padapter->rtw_wdev); padapter 402 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_wdev_free(padapter->rtw_wdev); padapter 410 drivers/staging/rtl8723bs/os_dep/sdio_intf.c vfree((u8 *)padapter); padapter 411 drivers/staging/rtl8723bs/os_dep/sdio_intf.c padapter = NULL; padapter 414 drivers/staging/rtl8723bs/os_dep/sdio_intf.c return padapter; padapter 510 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct adapter *padapter = dvobj->if1; padapter 518 drivers/staging/rtl8723bs/os_dep/sdio_intf.c if (padapter->bSurpriseRemoved == false) { padapter 526 drivers/staging/rtl8723bs/os_dep/sdio_intf.c padapter->bSurpriseRemoved = true; padapter 531 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_ps_deny(padapter, PS_DENY_DRV_REMOVE); padapter 533 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_pm_set_ips(padapter, IPS_NONE); padapter 534 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_pm_set_lps(padapter, PS_MODE_ACTIVE); padapter 536 drivers/staging/rtl8723bs/os_dep/sdio_intf.c LeaveAllPowerSaveMode(padapter); padapter 538 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_btcoex_HaltNotify(padapter); padapter 540 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_sdio_if1_deinit(padapter); padapter 555 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct adapter *padapter = psdpriv->if1; padapter 558 drivers/staging/rtl8723bs/os_dep/sdio_intf.c if (padapter->bDriverStopped == true) { padapter 559 drivers/staging/rtl8723bs/os_dep/sdio_intf.c DBG_871X("%s bDriverStopped = %d\n", __func__, padapter->bDriverStopped); padapter 569 drivers/staging/rtl8723bs/os_dep/sdio_intf.c return rtw_suspend_common(padapter); padapter 572 drivers/staging/rtl8723bs/os_dep/sdio_intf.c static int rtw_resume_process(struct adapter *padapter) padapter 574 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter); padapter 575 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct dvobj_priv *psdpriv = padapter->dvobj; padapter 584 drivers/staging/rtl8723bs/os_dep/sdio_intf.c return rtw_resume_common(padapter); padapter 591 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct adapter *padapter = psdpriv->if1; padapter 592 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 600 drivers/staging/rtl8723bs/os_dep/sdio_intf.c ret = rtw_resume_process(padapter); padapter 31 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct adapter *padapter; padapter 39 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter = pintfhdl->padapter; padapter 43 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (padapter->bSurpriseRemoved) { padapter 68 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct adapter *padapter; padapter 75 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter = pintfhdl->padapter; padapter 79 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (padapter->bSurpriseRemoved) { padapter 103 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct adapter *padapter; padapter 111 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter = pintfhdl->padapter; padapter 115 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (padapter->bSurpriseRemoved) { padapter 138 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct adapter *padapter; padapter 145 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter = pintfhdl->padapter; padapter 149 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (padapter->bSurpriseRemoved) { padapter 173 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct adapter *padapter; padapter 181 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter = pintfhdl->padapter; padapter 185 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (padapter->bSurpriseRemoved) { padapter 203 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct adapter *padapter; padapter 211 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter = pintfhdl->padapter; padapter 215 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (padapter->bSurpriseRemoved) { padapter 235 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct adapter *padapter; padapter 242 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter = pintfhdl->padapter; padapter 246 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (padapter->bSurpriseRemoved) { padapter 277 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter->bSurpriseRemoved = true; padapter 281 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter->bSurpriseRemoved = true; padapter 298 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct adapter *padapter; padapter 304 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter = pintfhdl->padapter; padapter 308 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (padapter->bSurpriseRemoved) { padapter 327 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct adapter *padapter; padapter 333 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter = pintfhdl->padapter; padapter 337 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (padapter->bSurpriseRemoved) { padapter 367 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter->bSurpriseRemoved = true; padapter 371 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter->bSurpriseRemoved = true; padapter 401 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct adapter *padapter; padapter 408 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter = pintfhdl->padapter; padapter 412 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (padapter->bSurpriseRemoved) { padapter 456 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct adapter *padapter; padapter 464 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter = pintfhdl->padapter; padapter 468 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (padapter->bSurpriseRemoved) { padapter 500 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct adapter *padapter; padapter 508 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter = pintfhdl->padapter; padapter 512 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (padapter->bSurpriseRemoved) { padapter 558 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct adapter *padapter; padapter 565 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c padapter = pintfhdl->padapter; padapter 569 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (padapter->bSurpriseRemoved) { padapter 62 drivers/staging/rtl8723bs/os_dep/wifi_regd.c struct adapter *padapter = wiphy_to_adapter(wiphy); padapter 63 drivers/staging/rtl8723bs/os_dep/wifi_regd.c struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; padapter 142 drivers/staging/rtl8723bs/os_dep/wifi_regd.c int rtw_regd_init(struct adapter *padapter, padapter 146 drivers/staging/rtl8723bs/os_dep/wifi_regd.c struct wiphy *wiphy = padapter->rtw_wdev->wiphy; padapter 49 drivers/staging/rtl8723bs/os_dep/xmit_linux.c int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u8 flag) padapter 62 drivers/staging/rtl8723bs/os_dep/xmit_linux.c void rtw_os_xmit_resource_free(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 free_sz, u8 flag) padapter 70 drivers/staging/rtl8723bs/os_dep/xmit_linux.c void rtw_os_pkt_complete(struct adapter *padapter, _pkt *pkt) padapter 73 drivers/staging/rtl8723bs/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 76 drivers/staging/rtl8723bs/os_dep/xmit_linux.c if (padapter->registrypriv.wifi_spec) { padapter 77 drivers/staging/rtl8723bs/os_dep/xmit_linux.c if (__netif_subqueue_stopped(padapter->pnetdev, queue) && padapter 79 drivers/staging/rtl8723bs/os_dep/xmit_linux.c netif_wake_subqueue(padapter->pnetdev, queue); padapter 81 drivers/staging/rtl8723bs/os_dep/xmit_linux.c if (__netif_subqueue_stopped(padapter->pnetdev, queue)) padapter 82 drivers/staging/rtl8723bs/os_dep/xmit_linux.c netif_wake_subqueue(padapter->pnetdev, queue); padapter 88 drivers/staging/rtl8723bs/os_dep/xmit_linux.c void rtw_os_xmit_complete(struct adapter *padapter, struct xmit_frame *pxframe) padapter 91 drivers/staging/rtl8723bs/os_dep/xmit_linux.c rtw_os_pkt_complete(padapter, pxframe->pkt); padapter 96 drivers/staging/rtl8723bs/os_dep/xmit_linux.c void rtw_os_xmit_schedule(struct adapter *padapter) padapter 98 drivers/staging/rtl8723bs/os_dep/xmit_linux.c struct adapter *pri_adapter = padapter; padapter 100 drivers/staging/rtl8723bs/os_dep/xmit_linux.c if (!padapter) padapter 103 drivers/staging/rtl8723bs/os_dep/xmit_linux.c if (!list_empty(&padapter->xmitpriv.pending_xmitbuf_queue.queue)) padapter 107 drivers/staging/rtl8723bs/os_dep/xmit_linux.c static void rtw_check_xmit_resource(struct adapter *padapter, _pkt *pkt) padapter 109 drivers/staging/rtl8723bs/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 113 drivers/staging/rtl8723bs/os_dep/xmit_linux.c if (padapter->registrypriv.wifi_spec) { padapter 117 drivers/staging/rtl8723bs/os_dep/xmit_linux.c netif_stop_subqueue(padapter->pnetdev, queue); padapter 121 drivers/staging/rtl8723bs/os_dep/xmit_linux.c if (!netif_tx_queue_stopped(netdev_get_tx_queue(padapter->pnetdev, queue))) padapter 122 drivers/staging/rtl8723bs/os_dep/xmit_linux.c netif_stop_subqueue(padapter->pnetdev, queue); padapter 127 drivers/staging/rtl8723bs/os_dep/xmit_linux.c static int rtw_mlcst2unicst(struct adapter *padapter, struct sk_buff *skb) padapter 129 drivers/staging/rtl8723bs/os_dep/xmit_linux.c struct sta_priv *pstapriv = &padapter->stapriv; padapter 130 drivers/staging/rtl8723bs/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 142 drivers/staging/rtl8723bs/os_dep/xmit_linux.c DBG_COUNTER(padapter->tx_logs.os_tx_m2u); padapter 164 drivers/staging/rtl8723bs/os_dep/xmit_linux.c DBG_COUNTER(padapter->tx_logs.os_tx_m2u_ignore_fw_linked); padapter 172 drivers/staging/rtl8723bs/os_dep/xmit_linux.c DBG_COUNTER(padapter->tx_logs.os_tx_m2u_ignore_self); padapter 176 drivers/staging/rtl8723bs/os_dep/xmit_linux.c DBG_COUNTER(padapter->tx_logs.os_tx_m2u_entry); padapter 182 drivers/staging/rtl8723bs/os_dep/xmit_linux.c res = rtw_xmit(padapter, &newskb); padapter 184 drivers/staging/rtl8723bs/os_dep/xmit_linux.c DBG_COUNTER(padapter->tx_logs.os_tx_m2u_entry_err_xmit); padapter 190 drivers/staging/rtl8723bs/os_dep/xmit_linux.c DBG_COUNTER(padapter->tx_logs.os_tx_m2u_entry_err_skb); padapter 204 drivers/staging/rtl8723bs/os_dep/xmit_linux.c struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); padapter 205 drivers/staging/rtl8723bs/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; padapter 206 drivers/staging/rtl8723bs/os_dep/xmit_linux.c struct mlme_priv *pmlmepriv = &padapter->mlmepriv; padapter 209 drivers/staging/rtl8723bs/os_dep/xmit_linux.c DBG_COUNTER(padapter->tx_logs.os_tx); padapter 212 drivers/staging/rtl8723bs/os_dep/xmit_linux.c if (rtw_if_up(padapter) == false) { padapter 213 drivers/staging/rtl8723bs/os_dep/xmit_linux.c DBG_COUNTER(padapter->tx_logs.os_tx_err_up); padapter 221 drivers/staging/rtl8723bs/os_dep/xmit_linux.c rtw_check_xmit_resource(padapter, pkt); padapter 231 drivers/staging/rtl8723bs/os_dep/xmit_linux.c && padapter->registrypriv.wifi_spec == 0) { padapter 233 drivers/staging/rtl8723bs/os_dep/xmit_linux.c res = rtw_mlcst2unicst(padapter, pkt); padapter 239 drivers/staging/rtl8723bs/os_dep/xmit_linux.c DBG_COUNTER(padapter->tx_logs.os_tx_m2u_stop); padapter 243 drivers/staging/rtl8723bs/os_dep/xmit_linux.c res = rtw_xmit(padapter, &pkt);