Lines Matching refs:MNULL
273 if (priv != MNULL) in wlan_wmm_init()
278 priv->wmm.tid_tbl_ptr[i].ra_list_curr = MNULL; in wlan_wmm_init()
324 …l *)util_peek_list(priv->adapter->pmoal_handle, &priv->wmm.tid_tbl_ptr[tid].ra_list, MNULL, MNULL); in wlan_wmm_get_ralist_node()
335 return MNULL; in wlan_wmm_get_ralist_node()
365 if (ppAssocBuf == MNULL) in wlan_wmm_process_association_req()
370 if ((*ppAssocBuf) == MNULL) in wlan_wmm_process_association_req()
376 if (pWmmIE == MNULL) in wlan_wmm_process_association_req()
384 … if ((priv->wmm_required || ((pHTCap != MNULL) && (pHTCap->ieee_hdr.element_id == HT_CAPABILITY) && in wlan_wmm_process_association_req()
457 mlan_ds_wmm_cfg *pwmm = MNULL; in wlan_ret_wmm_param_config()
485 …t = (raListTbl *)util_peek_list(priv->adapter->pmoal_handle, &priv->wmm.hist_ra[ac], MNULL, MNULL); in wlan_ralist_get_history()
487 if (ra_list == MNULL) in wlan_ralist_get_history()
488 return MNULL; in wlan_ralist_get_history()
497 return MNULL; in wlan_ralist_get_history()
503 raListTbl *tmp = MNULL; in wlan_ralist_restore_history()
507 if (tmp != MNULL) in wlan_ralist_restore_history()
509 …k_list(priv->adapter->pmoal_handle, &priv->wmm.hist_ra[ac], (mlan_linked_list *)tmp, MNULL, MNULL); in wlan_ralist_restore_history()
511 …_list_tail(priv->adapter->pmoal_handle, &priv->wmm.hist_ra[ac], (mlan_linked_list *)ra_list, MNULL, in wlan_ralist_restore_history()
512 MNULL); in wlan_ralist_restore_history()
519 … (raListTbl *)util_dequeue_list(priv->adapter->pmoal_handle, &priv->wmm.hist_ra[ac], MNULL, MNULL); in wlan_ralist_restore_history()
520 if (tmp == MNULL) in wlan_ralist_restore_history()
526 …_list_tail(priv->adapter->pmoal_handle, &priv->wmm.hist_ra[ac], (mlan_linked_list *)ra_list, MNULL, in wlan_ralist_restore_history()
527 MNULL); in wlan_ralist_restore_history()
532 …_list_tail(priv->adapter->pmoal_handle, &priv->wmm.hist_ra[ac], (mlan_linked_list *)ra_list, MNULL, in wlan_ralist_restore_history()
533 MNULL); in wlan_ralist_restore_history()
573 raListTbl *ra_list = MNULL; in wifi_wmm_is_tx_pause()
593 if (ra_list != MNULL) in wifi_wmm_is_tx_pause()
616 raListTbl *ra_list_head = MNULL; in wifi_wmm_get_alter_buf_from_txqueue()
617 raListTbl *ra_list = MNULL; in wifi_wmm_get_alter_buf_from_txqueue()
618 outbuf_t *buf = MNULL; in wifi_wmm_get_alter_buf_from_txqueue()
627 …(raListTbl *)util_peek_list(mlan_adap->pmoal_handle, (mlan_list_head *)ra_list_head, MNULL, MNULL); in wifi_wmm_get_alter_buf_from_txqueue()
635 … buf = (outbuf_t *)util_dequeue_list(mlan_adap->pmoal_handle, &ra_list->buf_head, MNULL, MNULL); in wifi_wmm_get_alter_buf_from_txqueue()
636 if (buf != MNULL) in wifi_wmm_get_alter_buf_from_txqueue()
646 return MNULL; in wifi_wmm_get_alter_buf_from_txqueue()
670 outbuf_t *buf = MNULL; in wifi_wmm_get_outbuf_enh()
674 if (buf != MNULL) in wifi_wmm_get_outbuf_enh()
687 if (buf != MNULL) in wifi_wmm_get_outbuf_enh()
693 return MNULL; in wifi_wmm_get_outbuf_enh()
706 raListTbl *ra_list = MNULL; in wlan_wmm_get_queue_raptr_enh()
710 if (ra_list != MNULL) in wlan_wmm_get_queue_raptr_enh()
717 if (MNULL == wlan_get_station_entry(priv, ra_addr)) in wlan_wmm_get_queue_raptr_enh()
721 return MNULL; in wlan_wmm_get_queue_raptr_enh()
726 return MNULL; in wlan_wmm_get_queue_raptr_enh()
743 mlan_private *priv = MNULL; in wlan_wmm_add_buf_txqueue_enh()
745 raListTbl *ralist = MNULL; in wlan_wmm_add_buf_txqueue_enh()
759 if (ralist == MNULL) in wlan_wmm_add_buf_txqueue_enh()
770 …ue_list_tail(mlan_adap->pmoal_handle, &ralist->buf_head, (mlan_linked_list *)buffer, MNULL, MNULL); in wlan_wmm_add_buf_txqueue_enh()
785 outbuf_t *buf = MNULL; in wifi_wmm_buf_get()
794 return MNULL; in wifi_wmm_buf_get()
797 …uf_t *)util_dequeue_list(mlan_adap->pmoal_handle, &mlan_adap->outbuf_pool.free_list, MNULL, MNULL); in wifi_wmm_buf_get()
798 assert(buf != MNULL); in wifi_wmm_buf_get()
816 …e_list_tail(mlan_adap->pmoal_handle, &mlan_adap->outbuf_pool.free_list, &buf->entry, MNULL, MNULL); in wifi_wmm_buf_put()
826 outbuf_t *buf = MNULL; in wifi_wmm_buf_pool_init()
830 util_init_list_head(mlan_adap->pmoal_handle, &mlan_adap->outbuf_pool.free_list, MFALSE, MNULL); in wifi_wmm_buf_pool_init()
842 …e_list_tail(mlan_adap->pmoal_handle, &mlan_adap->outbuf_pool.free_list, &buf->entry, MNULL, MNULL); in wifi_wmm_buf_pool_init()
856 util_free_list_head(mlan_adap->pmoal_handle, &mlan_adap->outbuf_pool.free_list, MNULL); in wifi_wmm_buf_pool_deinit()
865 outbuf_t *buff = MNULL; in wlan_ralist_pkts_free_enh()
869 …(buff = (outbuf_t *)util_peek_list(priv->adapter->pmoal_handle, &ra_list->buf_head, MNULL, MNULL))) in wlan_ralist_pkts_free_enh()
871 … util_unlink_list(priv->adapter->pmoal_handle, &ra_list->buf_head, &buff->entry, MNULL, MNULL); in wlan_ralist_pkts_free_enh()
902 raListTbl *ra_list = MNULL; in wlan_ralist_alloc_enh()
906 if (ret != MLAN_STATUS_SUCCESS || ra_list == MNULL) in wlan_ralist_alloc_enh()
907 return MNULL; in wlan_ralist_alloc_enh()
910 if (ra_list == MNULL) in wlan_ralist_alloc_enh()
912 return MNULL; in wlan_ralist_alloc_enh()
918 util_init_list_head((t_void *)pmadapter->pmoal_handle, &ra_list->buf_head, MFALSE, MNULL); in wlan_ralist_alloc_enh()
924 return MNULL; in wlan_ralist_alloc_enh()
941 raListTbl *ra_list = MNULL; in wlan_ralist_add_enh()
951 if (ra_list == MNULL) in wlan_ralist_add_enh()
960 MNULL, MNULL); in wlan_ralist_add_enh()
962 if (priv->wmm.tid_tbl_ptr[i].ra_list_curr == MNULL) in wlan_ralist_add_enh()
973 raListTbl *ra_list = MNULL; in wlan_ralist_update_enh()
975 raListTbl *hist_ra_list = MNULL; in wlan_ralist_update_enh()
984 if (ra_list == MNULL) in wlan_ralist_update_enh()
1000 if (hist_ra_list != MNULL) in wlan_ralist_update_enh()
1018 raListTbl *ra_list = MNULL; in wlan_ralist_del_enh()
1025 if (ra_list == MNULL) in wlan_ralist_del_enh()
1033 …list(pmadapter->pmoal_handle, &priv->wmm.tid_tbl_ptr[i].ra_list, (pmlan_linked_list)ra_list, MNULL, in wlan_ralist_del_enh()
1034 MNULL); in wlan_ralist_del_enh()
1048 raListTbl *ra_list = MNULL; in wlan_ralist_del_all_enh()
1056 …st = (raListTbl *)util_peek_list(pmadapter->pmoal_handle, &priv->wmm.tid_tbl_ptr[i].ra_list, MNULL, in wlan_ralist_del_all_enh()
1057 MNULL))) in wlan_ralist_del_all_enh()
1060 MNULL, MNULL); in wlan_ralist_del_all_enh()
1069 priv->wmm.tid_tbl_ptr[i].ra_list_curr = MNULL; in wlan_ralist_del_all_enh()
1091 util_free_list_head(priv->adapter->pmoal_handle, &priv->wmm.tid_tbl_ptr[i].ra_list, MNULL); in wlan_ralist_deinit_enh()
1146 …ue_list_tail(mlan_adap->pmoal_handle, &priv->bypass_txq, (mlan_linked_list *)buffer, MNULL, MNULL); in wlan_add_buf_bypass_txq()
1165 if (priv != MNULL) in wifi_bypass_txq_init()
1168 … util_init_list_head((t_void *)mlan_adap->pmoal_handle, &priv->bypass_txq, MFALSE, MNULL); in wifi_bypass_txq_init()
1192 …f = (bypass_outbuf_t *)util_dequeue_list(mlan_adap->pmoal_handle, &priv->bypass_txq, MNULL, MNULL); in wlan_cleanup_bypass_txq()
1212 if (priv != MNULL) in wifi_bypass_txq_deinit()
1218 util_free_list_head(mlan_adap->pmoal_handle, &priv->bypass_txq, MNULL); in wifi_bypass_txq_deinit()