Lines Matching refs:LLCommand

577     LLStatsCommand *LLCommand;  in wifi_set_link_stats()  local
581 LLCommand = LLStatsCommand::instance(handle); in wifi_set_link_stats()
582 if (LLCommand == NULL) { in wifi_set_link_stats()
586 LLCommand->setSubCmd(QCA_NL80211_VENDOR_SUBCMD_LL_STATS_SET); in wifi_set_link_stats()
589 ret = LLCommand->create(); in wifi_set_link_stats()
593 ret = LLCommand->set_iface_id(iinfo->name); in wifi_set_link_stats()
598 nl_data = LLCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_set_link_stats()
602 ret = LLCommand->put_u32(QCA_WLAN_VENDOR_ATTR_LL_STATS_SET_CONFIG_MPDU_SIZE_THRESHOLD, in wifi_set_link_stats()
607 ret = LLCommand->put_u32( in wifi_set_link_stats()
612 LLCommand->attr_end(nl_data); in wifi_set_link_stats()
614 ret = LLCommand->requestResponse(); in wifi_set_link_stats()
629 LLStatsCommand *LLCommand; in wifi_get_link_stats() local
635 LLCommand = LLStatsCommand::instance(handle); in wifi_get_link_stats()
636 if (LLCommand == NULL) { in wifi_get_link_stats()
640 LLCommand->setSubCmd(QCA_NL80211_VENDOR_SUBCMD_LL_STATS_GET); in wifi_get_link_stats()
642 LLCommand->initGetContext(id); in wifi_get_link_stats()
650 ret = LLCommand->create(); in wifi_get_link_stats()
654 ret = LLCommand->set_iface_id(iinfo->name); in wifi_get_link_stats()
658 nl_data = LLCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_link_stats()
661 ret = LLCommand->put_u32(QCA_WLAN_VENDOR_ATTR_LL_STATS_GET_CONFIG_REQ_ID, in wifi_get_link_stats()
665 ret = LLCommand->put_u32(QCA_WLAN_VENDOR_ATTR_LL_STATS_GET_CONFIG_REQ_MASK, in wifi_get_link_stats()
671 LLCommand->attr_end(nl_data); in wifi_get_link_stats()
673 ret = LLCommand->requestResponse(); in wifi_get_link_stats()
680 …ret = LLCommand->setCallbackHandler(callbackHandler, QCA_NL80211_VENDOR_SUBCMD_LL_STATS_RADIO_RESU… in wifi_get_link_stats()
683 …ret = LLCommand->setCallbackHandler(callbackHandler, QCA_NL80211_VENDOR_SUBCMD_LL_STATS_IFACE_RESU… in wifi_get_link_stats()
686 …ret = LLCommand->setCallbackHandler(callbackHandler, QCA_NL80211_VENDOR_SUBCMD_LL_STATS_PEERS_RESU… in wifi_get_link_stats()
701 LLStatsCommand *LLCommand; in wifi_clear_link_stats() local
706 LLCommand = LLStatsCommand::instance(handle); in wifi_clear_link_stats()
707 if (LLCommand == NULL) { in wifi_clear_link_stats()
711 LLCommand->setSubCmd(QCA_NL80211_VENDOR_SUBCMD_LL_STATS_CLR); in wifi_clear_link_stats()
714 ret = LLCommand->create(); in wifi_clear_link_stats()
718 ret = LLCommand->set_iface_id(iinfo->name); in wifi_clear_link_stats()
722 nl_data = LLCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_clear_link_stats()
726 ret = LLCommand->put_u32(QCA_WLAN_VENDOR_ATTR_LL_STATS_CLR_CONFIG_REQ_MASK, in wifi_clear_link_stats()
731 ret = LLCommand->put_u8(QCA_WLAN_VENDOR_ATTR_LL_STATS_CLR_CONFIG_STOP_REQ, in wifi_clear_link_stats()
735 LLCommand->attr_end(nl_data); in wifi_clear_link_stats()
737 ret = LLCommand->requestResponse(); in wifi_clear_link_stats()
742 LLCommand->getClearRspParams(stats_clear_rsp_mask, stop_rsp); in wifi_clear_link_stats()
745 LLCommand->unregisterHandler(QCA_NL80211_VENDOR_SUBCMD_LL_STATS_RADIO_RESULTS); in wifi_clear_link_stats()
746 LLCommand->unregisterHandler(QCA_NL80211_VENDOR_SUBCMD_LL_STATS_IFACE_RESULTS); in wifi_clear_link_stats()
747 LLCommand->unregisterHandler(QCA_NL80211_VENDOR_SUBCMD_LL_STATS_PEERS_RESULTS); in wifi_clear_link_stats()
748 delete LLCommand; in wifi_clear_link_stats()