/drivers/staging/rtl8712/ |
D | rtl871x_cmd.c | 58 static sint _init_cmd_priv(struct cmd_priv *pcmdpriv) in _init_cmd_priv() argument 60 sema_init(&(pcmdpriv->cmd_queue_sema), 0); in _init_cmd_priv() 61 sema_init(&(pcmdpriv->terminate_cmdthread_sema), 0); in _init_cmd_priv() 63 _init_queue(&(pcmdpriv->cmd_queue)); in _init_cmd_priv() 66 pcmdpriv->cmd_seq = 1; in _init_cmd_priv() 67 pcmdpriv->cmd_allocated_buf = kmalloc(MAX_CMDSZ + CMDBUFF_ALIGN_SZ, in _init_cmd_priv() 69 if (pcmdpriv->cmd_allocated_buf == NULL) in _init_cmd_priv() 71 pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - in _init_cmd_priv() 72 ((addr_t)(pcmdpriv->cmd_allocated_buf) & in _init_cmd_priv() 74 pcmdpriv->rsp_allocated_buf = kmalloc(MAX_RSPSZ + 4, GFP_ATOMIC); in _init_cmd_priv() [all …]
|
D | rtl8712_cmd.c | 321 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in r8712_cmd_thread() local 325 if ((_down_sema(&(pcmdpriv->cmd_queue_sema))) == _FAIL) in r8712_cmd_thread() 332 pcmd = r8712_dequeue_cmd(&(pcmdpriv->cmd_queue)); in r8712_cmd_thread() 337 pcmdbuf = (unsigned int *)pcmdpriv->cmd_buf; in r8712_cmd_thread() 345 pcmdpriv->cmd_issued_cnt++; in r8712_cmd_thread() 373 (pcmdpriv->cmd_seq << 24)); in r8712_cmd_thread() 387 pcmdpriv->cmd_seq++; in r8712_cmd_thread() 405 if (list_empty(&pcmdpriv->cmd_queue.queue)) { in r8712_cmd_thread() 418 pcmd = r8712_dequeue_cmd(&(pcmdpriv->cmd_queue)); in r8712_cmd_thread() 423 up(&pcmdpriv->terminate_cmdthread_sema); in r8712_cmd_thread()
|
D | rtl871x_cmd.h | 94 u32 r8712_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj); 95 u32 r8712_enqueue_cmd_ex(struct cmd_priv *pcmdpriv, struct cmd_obj *obj); 99 u32 r8712_init_cmd_priv(struct cmd_priv *pcmdpriv); 100 void r8712_free_cmd_priv(struct cmd_priv *pcmdpriv);
|
D | rtl8712_xmit.c | 284 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in r8712_construct_txaggr_cmd_hdr() local 291 (pcmdpriv->cmd_seq << 24)); in r8712_construct_txaggr_cmd_hdr() 292 pcmdpriv->cmd_seq++; in r8712_construct_txaggr_cmd_hdr() 431 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in update_txdesc() local 492 (pcmdpriv->cmd_seq << 24); in update_txdesc() 493 pcmdpriv->cmd_seq++; in update_txdesc()
|
D | rtl871x_pwrctrl.c | 101 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in r8712_cpwm_int_hdl() local 110 up(&(pcmdpriv->cmd_queue_sema)); in r8712_cpwm_int_hdl()
|
D | rtl871x_mp.c | 278 struct cmd_priv *pcmdpriv = &pAdapter->cmdpriv; in r8712_SetChannel() local 293 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_SetChannel()
|
D | rtl871x_mlme.c | 1207 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in r8712_set_auth() local 1227 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_set_auth() 1235 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in r8712_set_key() local 1299 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_set_key()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_cmd.c | 33 int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv) in rtw_init_cmd_priv() argument 35 sema_init(&(pcmdpriv->cmd_queue_sema), 0); in rtw_init_cmd_priv() 36 sema_init(&(pcmdpriv->terminate_cmdthread_sema), 0); in rtw_init_cmd_priv() 38 _rtw_init_queue(&(pcmdpriv->cmd_queue)); in rtw_init_cmd_priv() 92 static int rtw_cmd_filter(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj) in rtw_cmd_filter() argument 97 if ((pcmdpriv->padapter->pwrctrlpriv.bHWPwrPindetect) && in rtw_cmd_filter() 98 (!pcmdpriv->padapter->registrypriv.usbss_enable)) { in rtw_cmd_filter() 110 if ((!pcmdpriv->padapter->hw_init_completed && !bAllow) || in rtw_cmd_filter() 111 !pcmdpriv->cmdthd_running) /* com_thread not running */ in rtw_cmd_filter() 116 u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj) in rtw_enqueue_cmd() argument [all …]
|
D | rtw_mlme_ext.c | 4281 struct cmd_priv *pcmdpriv; in report_survey_event() local 4287 pcmdpriv = &padapter->cmdpriv; in report_survey_event() 4325 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_survey_event() 4340 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_surveydone_event() local 4372 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_surveydone_event() 4386 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_join_res() local 4424 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_join_res() 4439 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_del_sta_event() local 4481 rtw_enqueue_cmd(pcmdpriv, pcmd_obj); in report_del_sta_event() 4494 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_add_sta_event() local [all …]
|
D | rtw_mlme.c | 1592 struct cmd_priv *pcmdpriv = &(adapter->cmdpriv); in rtw_set_auth() local 1618 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_auth() 1628 struct cmd_priv *pcmdpriv = &(adapter->cmdpriv); in rtw_set_key() local 1696 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in rtw_set_key()
|
/drivers/staging/rtl8723au/core/ |
D | rtw_cmd.c | 171 int rtw_init_cmd_priv23a(struct cmd_priv *pcmdpriv) in rtw_init_cmd_priv23a() argument 175 pcmdpriv->cmd_issued_cnt = 0; in rtw_init_cmd_priv23a() 176 pcmdpriv->cmd_done_cnt = 0; in rtw_init_cmd_priv23a() 177 pcmdpriv->rsp_cnt = 0; in rtw_init_cmd_priv23a() 179 pcmdpriv->wq = alloc_workqueue("rtl8723au_cmd", 0, 1); in rtw_init_cmd_priv23a() 180 if (!pcmdpriv->wq) in rtw_init_cmd_priv23a() 204 static int rtw_cmd_filter(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj) in rtw_cmd_filter() argument 212 if (pcmdpriv->padapter->hw_init_completed == false && bAllow == false) in rtw_cmd_filter() 219 int rtw_enqueue_cmd23a(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj) in rtw_enqueue_cmd23a() argument 226 cmd_obj->padapter = pcmdpriv->padapter; in rtw_enqueue_cmd23a() [all …]
|
D | rtw_mlme_ext.c | 4717 struct cmd_priv *pcmdpriv; in report_survey_event23a() local 4723 pcmdpriv = &padapter->cmdpriv; in report_survey_event23a() 4759 rtw_enqueue_cmd23a(pcmdpriv, pcmd_obj); in report_survey_event23a() 4774 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_surveydone_event23a() local 4804 rtw_enqueue_cmd23a(pcmdpriv, pcmd_obj); in report_surveydone_event23a() 4818 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_join_res23a() local 4852 rtw_enqueue_cmd23a(pcmdpriv, pcmd_obj); in report_join_res23a() 4868 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_del_sta_event23a() local 4908 rtw_enqueue_cmd23a(pcmdpriv, pcmd_obj); in report_del_sta_event23a() 4922 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in report_add_sta_event23a() local [all …]
|
D | rtw_mlme.c | 1743 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in rtw_set_auth23a() local 1771 res = rtw_enqueue_cmd23a(pcmdpriv, pcmd); in rtw_set_auth23a() 1784 struct cmd_priv *pcmdpriv = &adapter->cmdpriv; in rtw_set_key23a() local 1870 res = rtw_enqueue_cmd23a(pcmdpriv, pcmd); in rtw_set_key23a()
|
/drivers/staging/rtl8188eu/include/ |
D | rtw_cmd.h | 64 u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj); 70 int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv);
|
/drivers/staging/rtl8723au/include/ |
D | rtw_cmd.h | 93 int rtw_enqueue_cmd23a(struct cmd_priv *pcmdpriv, struct cmd_obj *obj); 98 int rtw_init_cmd_priv23a(struct cmd_priv *pcmdpriv);
|
/drivers/staging/rtl8723au/os_dep/ |
D | ioctl_cfg80211.c | 392 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in set_pairwise_key() local 416 res = rtw_enqueue_cmd23a(pcmdpriv, ph2c); in set_pairwise_key() 427 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in set_group_key() local 465 res = rtw_enqueue_cmd23a(pcmdpriv, pcmd); in set_group_key()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 2115 struct cmd_priv *pcmdpriv = &padapter->cmdpriv; in set_pairwise_key() local 2139 res = rtw_enqueue_cmd(pcmdpriv, ph2c); in set_pairwise_key() 2151 struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); in set_group_key() local 2200 res = rtw_enqueue_cmd(pcmdpriv, pcmd); in set_group_key()
|