Home
last modified time | relevance | path

Searched refs:mMsg (Results 1 – 17 of 17) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcpp_bindings.h11 struct nl_msg *mMsg; variable
17 mMsg = msg; in WifiEvent()
138 struct nl_msg *mMsg; variable
142 mMsg = NULL; in WifiRequest()
148 mMsg = NULL; in WifiRequest()
158 if (mMsg) { in destroy()
159 nlmsg_free(mMsg); in destroy()
160 mMsg = NULL; in destroy()
165 return mMsg; in getMessage()
177 return nla_put(mMsg, attribute, len, ptr); in put()
[all …]
Dwifi_hal.cpp522 int ret = mMsg.create(nlctrlFamily, CTRL_CMD_GETFAMILY, 0, 0); in create()
526 ret = mMsg.put_string(CTRL_ATTR_FAMILY_NAME, mName); in create()
641 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_NODFS_SET); in create()
647 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
648 ret = mMsg.put_u32(ATTR_NODFS_VALUE, mNoDfs); in create()
653 mMsg.attr_end(data); in create()
669 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_SET_COUNTRY_CODE); in create()
675 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
676 ret = mMsg.put_string(ATTR_COUNTRY_CODE, mCountryCode); in create()
681 mMsg.attr_end(data); in create()
[all …]
Dcpp_bindings.cpp532 mHeader = (genlmsghdr *)nlmsg_data(nlmsg_hdr(mMsg)); in parse()
541 mMsg = nlmsg_alloc(); in create()
542 if (mMsg != NULL) { in create()
543 genlmsg_put(mMsg, /* pid = */ 0, /* seq = */ 0, family, in create()
586 return requestResponse(mMsg); in requestResponse()
634 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestEvent()
659 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestVendorEvent()
Dlink_layer_stats.cpp45 int ret = mMsg.create(GOOGLE_OUI, LSTATS_SUBCMD_GET_INFO); in create()
Dgscan.cpp161 int ret = mMsg.create(GOOGLE_OUI, GSCAN_SUBCMD_GET_CAPABILITIES); in create()
219 int ret = mMsg.create(GOOGLE_OUI, GSCAN_SUBCMD_GET_CHANNEL_LIST); in create()
224 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
225 ret = mMsg.put_u32(GSCAN_ATTRIBUTE_BAND, band); in create()
230 mMsg.attr_end(data); in create()
Drtt.cpp126 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_GETCAPABILITY); in create()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dcpp_bindings.h28 struct nl_msg *mMsg; variable
34 mMsg = msg; in WifiEvent()
155 struct nl_msg *mMsg; variable
159 mMsg = NULL; in WifiRequest()
165 mMsg = NULL; in WifiRequest()
175 if (mMsg) { in destroy()
176 nlmsg_free(mMsg); in destroy()
177 mMsg = NULL; in destroy()
182 return mMsg; in getMessage()
197 return nla_put(mMsg, attribute, sizeof(value), &value); in put_u8()
[all …]
Dcpp_bindings.cpp550 mHeader = (genlmsghdr *)nlmsg_data(nlmsg_hdr(mMsg)); in parse()
559 mMsg = nlmsg_alloc(); in create()
560 if (mMsg != NULL) { in create()
561 genlmsg_put(mMsg, /* pid = */ 0, /* seq = */ 0, family, in create()
604 return requestResponse(mMsg); in requestResponse()
652 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestEvent()
677 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestVendorEvent()
832 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
837 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
842 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
[all …]
Dwificonfig.cpp312 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
318 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
322 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
331 int ret = mMsg.create(cmdId, 0, 0); in create_generic()
393 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent()
423 mMsg.destroy(); in requestEvent()
Dwifilogger.cpp625 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
631 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
635 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
781 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent()
811 mMsg.destroy(); in requestEvent()
817 return WifiCommand::requestResponse(mMsg); in requestResponse()
Difaceeventhandler.cpp220 return WifiCommand::requestResponse(mMsg); in requestResponse()
Dllstats.cpp36 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
41 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
46 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
839 return WifiCommand::requestResponse(mMsg); in requestResponse()
Dgscan_event_handler.cpp25 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
31 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
36 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
Dtdls.cpp325 return WifiCommand::requestResponse(mMsg); in requestResponse()
Dwifi_hal.cpp779 int ret = mMsg.create(nlctrlFamily, CTRL_CMD_GETFAMILY, 0, 0); in create()
783 ret = mMsg.put_string(CTRL_ATTR_FAMILY_NAME, mName); in create()
Dgscan.cpp1670 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
1676 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
1680 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
1731 return WifiCommand::requestResponse(mMsg); in requestResponse()
Dnan_req.cpp926 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent()
948 mMsg.destroy(); in requestEvent()