Lines Matching refs:pTdlsCommand

354     TdlsCommand *pTdlsCommand;  in wifi_enable_tdls()  local
358 pTdlsCommand = TdlsCommand::instance(handle); in wifi_enable_tdls()
360 if (pTdlsCommand == NULL) { in wifi_enable_tdls()
364 pTdlsCommand->setSubCmd(QCA_NL80211_VENDOR_SUBCMD_TDLS_ENABLE); in wifi_enable_tdls()
367 ret = pTdlsCommand->create(); in wifi_enable_tdls()
371 ret = pTdlsCommand->set_iface_id(iinfo->name); in wifi_enable_tdls()
376 nl_data = pTdlsCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_enable_tdls()
380 ret = pTdlsCommand->put_bytes(QCA_WLAN_VENDOR_ATTR_TDLS_ENABLE_MAC_ADDR, in wifi_enable_tdls()
390 ret = pTdlsCommand->put_u32( in wifi_enable_tdls()
395 ret = pTdlsCommand->put_u32( in wifi_enable_tdls()
400 ret = pTdlsCommand->put_u32( in wifi_enable_tdls()
405 ret = pTdlsCommand->put_u32( in wifi_enable_tdls()
412 pTdlsCommand->attr_end(nl_data); in wifi_enable_tdls()
414 ret = pTdlsCommand->setCallbackHandler(handler, in wifi_enable_tdls()
419 ret = pTdlsCommand->requestResponse(); in wifi_enable_tdls()
438 TdlsCommand *pTdlsCommand; in wifi_disable_tdls() local
442 pTdlsCommand = TdlsCommand::instance(handle); in wifi_disable_tdls()
444 if (pTdlsCommand == NULL) { in wifi_disable_tdls()
448 pTdlsCommand->setSubCmd(QCA_NL80211_VENDOR_SUBCMD_TDLS_DISABLE); in wifi_disable_tdls()
451 ret = pTdlsCommand->create(); in wifi_disable_tdls()
455 ret = pTdlsCommand->set_iface_id(iinfo->name); in wifi_disable_tdls()
462 nl_data = pTdlsCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_disable_tdls()
465 ret = pTdlsCommand->put_bytes(QCA_WLAN_VENDOR_ATTR_TDLS_DISABLE_MAC_ADDR, in wifi_disable_tdls()
469 pTdlsCommand->attr_end(nl_data); in wifi_disable_tdls()
471 ret = pTdlsCommand->requestResponse(); in wifi_disable_tdls()
476 delete pTdlsCommand; in wifi_disable_tdls()
487 TdlsCommand *pTdlsCommand; in wifi_get_tdls_status() local
491 pTdlsCommand = TdlsCommand::instance(handle); in wifi_get_tdls_status()
493 if (pTdlsCommand == NULL) { in wifi_get_tdls_status()
497 pTdlsCommand->setSubCmd(QCA_NL80211_VENDOR_SUBCMD_TDLS_GET_STATUS); in wifi_get_tdls_status()
500 ret = pTdlsCommand->create(); in wifi_get_tdls_status()
504 ret = pTdlsCommand->set_iface_id(iinfo->name); in wifi_get_tdls_status()
510 nl_data = pTdlsCommand->attr_start(NL80211_ATTR_VENDOR_DATA); in wifi_get_tdls_status()
513 ret = pTdlsCommand->put_bytes(QCA_WLAN_VENDOR_ATTR_TDLS_GET_STATUS_MAC_ADDR, in wifi_get_tdls_status()
517 pTdlsCommand->attr_end(nl_data); in wifi_get_tdls_status()
519 ret = pTdlsCommand->requestResponse(); in wifi_get_tdls_status()
523 pTdlsCommand->getStatusRspParams(status); in wifi_get_tdls_status()
534 TdlsCommand *pTdlsCommand; in wifi_get_tdls_capabilities() local
543 pTdlsCommand = TdlsCommand::instance(handle); in wifi_get_tdls_capabilities()
545 if (pTdlsCommand == NULL) { in wifi_get_tdls_capabilities()
549 pTdlsCommand->setSubCmd(QCA_NL80211_VENDOR_SUBCMD_TDLS_GET_CAPABILITIES); in wifi_get_tdls_capabilities()
552 ret = pTdlsCommand->create(); in wifi_get_tdls_capabilities()
556 ret = pTdlsCommand->set_iface_id(iinfo->name); in wifi_get_tdls_capabilities()
560 ret = pTdlsCommand->requestResponse(); in wifi_get_tdls_capabilities()
565 pTdlsCommand->getCapsRspParams(capabilities); in wifi_get_tdls_capabilities()
570 delete pTdlsCommand; in wifi_get_tdls_capabilities()