Home
last modified time | relevance | path

Searched refs:subcmd (Results 1 – 25 of 44) sorted by relevance

12

/aosp12/hardware/broadcom/wlan/bcmdhd/wifi_hal/
H A Dcommon.cpp98 uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_vendor_handler() argument
117 (info->event_cb[i].vendor_subcmd == subcmd)) { in wifi_register_vendor_handler()
129 info->event_cb[info->num_event_cb].vendor_subcmd = subcmd; in wifi_register_vendor_handler()
135 is_update ? "Updated" : "Added", arg, func, id, subcmd, info->num_event_cb); in wifi_register_vendor_handler()
169 void wifi_unregister_vendor_handler_without_lock(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler_without_lock() argument
176 && info->event_cb[i].vendor_subcmd == subcmd) { in wifi_unregister_vendor_handler_without_lock()
178 info->event_cb[i].cb_arg, info->event_cb[i].cb_func, id, subcmd, i); in wifi_unregister_vendor_handler_without_lock()
187 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler() argument
192 wifi_unregister_vendor_handler_without_lock(handle, id, subcmd); in wifi_unregister_vendor_handler()
H A Dcpp_bindings.h197 int create(uint32_t id, int subcmd);
306 int requestVendorEvent(uint32_t id, int subcmd);
346 int registerVendorHandler(uint32_t id, int subcmd) { in registerVendorHandler() argument
347 return wifi_register_vendor_handler(wifiHandle(), id, subcmd, &event_handler, this); in registerVendorHandler()
350 void unregisterVendorHandlerWithoutLock(uint32_t id, int subcmd) { in unregisterVendorHandlerWithoutLock() argument
351 wifi_unregister_vendor_handler_without_lock(wifiHandle(), id, subcmd); in unregisterVendorHandlerWithoutLock()
354 void unregisterVendorHandler(uint32_t id, int subcmd) { in unregisterVendorHandler() argument
355 wifi_unregister_vendor_handler(wifiHandle(), id, subcmd); in unregisterVendorHandler()
H A Drtt.cpp172 int subcmd = reply.get_vendor_subcmd(); in handleResponse() local
177 ALOGD("Id = %0x, subcmd = %d, len = %d, expected len = %d", id, subcmd, len, in handleResponse()
220 int subcmd = reply.get_vendor_subcmd(); in handleResponse() local
225 ALOGD("Id = %0x, subcmd = %d, len = %d, expected len = %d", id, subcmd, len, in handleResponse()
271 int subcmd = reply.get_vendor_subcmd(); in handleResponse() local
276 ALOGD("Id = %0x, subcmd = %d, len = %d, expected len = %d", id, subcmd, len, in handleResponse()
H A Dcpp_bindings.cpp582 int WifiRequest::create(uint32_t id, int subcmd) { in create() argument
593 res = put_u32(NL80211_ATTR_VENDOR_SUBCMD, subcmd); in create()
681 int WifiCommand::requestVendorEvent(uint32_t id, int subcmd) { in requestVendorEvent() argument
683 int res = wifi_register_vendor_handler(wifiHandle(), id, subcmd, event_handler, this); in requestVendorEvent()
701 wifi_unregister_vendor_handler(wifiHandle(), id, subcmd); in requestVendorEvent()
H A Dcommon.h424 uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg);
427 void wifi_unregister_vendor_handler_without_lock(wifi_handle handle, uint32_t id, int subcmd);
428 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd);
H A Dwifi_hal.cpp795 int subcmd = 0; in internal_valid_message_handler() local
799 subcmd = event.get_u32(NL80211_ATTR_VENDOR_SUBCMD); in internal_valid_message_handler()
801 event.get_cmdString(), vendor_id, subcmd); in internal_valid_message_handler()
815 || (subcmd != info->event_cb[i].vendor_subcmd))) in internal_valid_message_handler()
937 int result = request.create(GOOGLE_OUI, subcmd); in createRequest()
1306 int subcmd = reply.get_vendor_subcmd(); in handleResponse() local
1311 ALOGD("Id = %0x, subcmd = %d, len = %d", id, subcmd, len); in handleResponse()
1434 int subcmd = reply.get_vendor_subcmd(); in handleResponse() local
1892 int result = request.create(GOOGLE_OUI, subcmd); in createRequest()
1967 int createRequest(WifiRequest& request, int subcmd, in createRequest() argument
[all …]
H A Dgscan.cpp233 int subcmd = reply.get_vendor_subcmd(); in handleResponse() local
238 ALOGV("Id = %0x, subcmd = 0x%x, len = %d, expected len = %d", id, subcmd, len, in handleResponse()
308 int subcmd = reply.get_vendor_subcmd(); in handleResponse() local
314 ALOGV("Id = %0x, subcmd = %d, len = %d", id, subcmd, len); in handleResponse()
349 int createFeatureRequest(WifiRequest& request, int subcmd, int enable) { in createFeatureRequest() argument
351 int result = request.create(GOOGLE_OUI, subcmd); in createFeatureRequest()
377 int createRequest(WifiRequest& request, int subcmd, int enable) { in createRequest() argument
378 int result = request.create(GOOGLE_OUI, subcmd); in createRequest()
895 int subcmd = reply.get_vendor_subcmd(); in handleResponse() local
897 ALOGV("Id = %0x, subcmd = %d", id, subcmd); in handleResponse()
/aosp12/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dcommon.cpp96 uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_vendor_handler() argument
106 info->event_cb[i].vendor_subcmd == subcmd) in wifi_register_vendor_handler()
111 " and arg %p", func, id, subcmd, arg); in wifi_register_vendor_handler()
120 info->event_cb[info->num_event_cb].vendor_subcmd = subcmd; in wifi_register_vendor_handler()
125 " %p", func, id, subcmd, arg); in wifi_register_vendor_handler()
164 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler() argument
174 && info->event_cb[i].vendor_subcmd == subcmd) { in wifi_unregister_vendor_handler()
H A Dcpp_bindings.h194 wifi_error create(uint32_t id, int subcmd);
347 wifi_error requestVendorEvent(uint32_t id, int subcmd);
387 wifi_error registerVendorHandler(uint32_t id, int subcmd) { in registerVendorHandler() argument
388 return wifi_register_vendor_handler(wifiHandle(), id, subcmd, &event_handler, this); in registerVendorHandler()
391 void unregisterVendorHandler(uint32_t id, int subcmd) { in unregisterVendorHandler() argument
392 wifi_unregister_vendor_handler(wifiHandle(), id, subcmd); in unregisterVendorHandler()
424 WifiVendorCommand(wifi_handle handle, wifi_request_id id, u32 vendor_id, u32 subcmd);
497 u32 subcmd,
H A Difaceeventhandler.h60 wifiEventHandler(wifi_handle handle, int id, u32 subcmd);
74 IfaceEventHandlerCommand(wifi_handle handle, int id, u32 subcmd);
100 WifihalGeneric(wifi_handle handle, int id, u32 vendor_id, u32 subcmd);
H A Dradio_mode.cpp54 u32 vendor_id, u32 subcmd) in RADIOModeCommand() argument
55 : WifiVendorCommand(handle, id, vendor_id, subcmd) in RADIOModeCommand()
58 if (registerVendorHandler(vendor_id, subcmd)) { in RADIOModeCommand()
61 __FUNCTION__, vendor_id, subcmd); in RADIOModeCommand()
H A Dwifihal_vendorcommand.h47 NUDStatsCommand(wifi_handle handle, int id, u32 vendor_id, u32 subcmd);
58 virtual void setSubCmd(u32 subcmd);
H A Difaceeventhandler.cpp134 IfaceEventHandlerCommand::IfaceEventHandlerCommand(wifi_handle handle, int id, u32 subcmd) in IfaceEventHandlerCommand() argument
135 : wifiEventHandler(handle, id, subcmd) in IfaceEventHandlerCommand()
165 wifiEventHandler::wifiEventHandler(wifi_handle handle, int id, u32 subcmd) in wifiEventHandler() argument
169 mSubcmd = subcmd; in wifiEventHandler()
192 u32 subcmd) in WifihalGeneric() argument
193 : WifiVendorCommand(handle, id, vendor_id, subcmd) in WifihalGeneric()
H A Drssi_monitor.cpp107 u32 vendor_id, u32 subcmd) in RSSIMonitorCommand() argument
108 : WifiVendorCommand(handle, id, vendor_id, subcmd) in RSSIMonitorCommand()
111 if (registerVendorHandler(vendor_id, subcmd)) { in RSSIMonitorCommand()
114 __FUNCTION__, vendor_id, subcmd); in RSSIMonitorCommand()
H A DtdlsCommand.h85 TdlsCommand(wifi_handle handle, int id, u32 vendor_id, u32 subcmd);
91 virtual void setSubCmd(u32 subcmd);
H A Dwifihal_vendor.cpp65 NUDStatsCommand::NUDStatsCommand(wifi_handle handle, int id, u32 vendor_id, u32 subcmd) in NUDStatsCommand() argument
66 : WifiVendorCommand(handle, id, vendor_id, subcmd) in NUDStatsCommand()
101 void NUDStatsCommand::setSubCmd(u32 subcmd) in setSubCmd() argument
103 mSubcmd = subcmd; in setSubCmd()
H A Dllstatscommand.h91 LLStatsCommand(wifi_handle handle, int id, u32 vendor_id, u32 subcmd);
102 virtual void setSubCmd(u32 subcmd);
H A Dcpp_bindings.cpp560 wifi_error WifiRequest::create(uint32_t id, int subcmd) { in create() argument
569 res = put_u32(NL80211_ATTR_VENDOR_SUBCMD, subcmd); in create()
654 wifi_error WifiCommand::requestVendorEvent(uint32_t id, int subcmd) { in requestVendorEvent() argument
656 wifi_error res = wifi_register_vendor_handler(wifiHandle(), id, subcmd, in requestVendorEvent()
676 wifi_unregister_vendor_handler(wifiHandle(), id, subcmd); in requestVendorEvent()
739 u32 subcmd) in WifiVendorCommand() argument
740 : WifiCommand(handle, id), mVendor_id(vendor_id), mSubcmd(subcmd), in WifiVendorCommand()
984 u32 subcmd, in initialize_vendor_cmd() argument
998 subcmd); in initialize_vendor_cmd()
H A Dtdls.cpp43 TdlsCommand::TdlsCommand(wifi_handle handle, int id, u32 vendor_id, u32 subcmd) in TdlsCommand() argument
44 : WifiVendorCommand(handle, id, vendor_id, subcmd) in TdlsCommand()
84 void TdlsCommand::setSubCmd(u32 subcmd) in setSubCmd() argument
86 mSubcmd = subcmd; in setSubCmd()
H A Dcommon.h182 uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg);
185 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd);
H A Droamcommand.h39 RoamCommand(wifi_handle handle, int id, u32 vendor_id, u32 subcmd);
H A Dradio_mode.h46 RADIOModeCommand(wifi_handle handle, int id, u32 vendor_id, u32 subcmd);
H A Drssi_monitor.h44 RSSIMonitorCommand(wifi_handle handle, int id, u32 vendor_id, u32 subcmd);
H A Dwificonfigcommand.h55 WiFiConfigCommand(wifi_handle handle, int id, u32 vendor_id, u32 subcmd);
/aosp12/bionic/libc/kernel/uapi/linux/isdn/
H A Dcapicmd.h44 #define CAPICMD(cmd,subcmd) (((cmd) << 8) | (subcmd)) argument

12