Home
last modified time | relevance | path

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

/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcpp_bindings.h28 struct nl_msg *mMsg; variable
34 mMsg = msg; in WifiEvent()
161 struct nl_msg *mMsg; variable
165 mMsg = NULL; in WifiRequest()
171 mMsg = NULL; in WifiRequest()
181 if (mMsg) { in destroy()
182 nlmsg_free(mMsg); in destroy()
183 mMsg = NULL; in destroy()
188 return mMsg; in getMessage()
200 return nla_put(mMsg, attribute, len, ptr); in put()
[all …]
Dwifi_hal.cpp784 int ret = mMsg.create(nlctrlFamily, CTRL_CMD_GETFAMILY, 0, 0); in create()
788 ret = mMsg.put_string(CTRL_ATTR_FAMILY_NAME, mName); in create()
907 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_NODFS_SET); in create()
913 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
914 ret = mMsg.put_u32(ANDR_WIFI_ATTRIBUTE_NODFS_SET, mNoDfs); in create()
919 mMsg.attr_end(data); in create()
935 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_SET_COUNTRY_CODE); in create()
941 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
942 ret = mMsg.put_string(ANDR_WIFI_ATTRIBUTE_COUNTRY, mCountryCode); in create()
947 mMsg.attr_end(data); in create()
[all …]
Dcpp_bindings.cpp560 mHeader = (genlmsghdr *)nlmsg_data(nlmsg_hdr(mMsg)); in parse()
572 mMsg = nlmsg_alloc(); in create()
573 if (mMsg != NULL) { in create()
574 genlmsg_put(mMsg, /* pid = */ 0, /* seq = */ 0, family, in create()
617 return requestResponse(mMsg); in requestResponse()
667 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestEvent()
692 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestVendorEvent()
Drtt.cpp148 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_GETCAPABILITY); in create()
196 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_GETAVAILCHANNEL); in create()
247 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_SET_RESPONDER); in create()
294 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_CANCEL_RESPONDER); in create()
Dlink_layer_stats.cpp77 int ret = mMsg.create(GOOGLE_OUI, LSTATS_SUBCMD_GET_INFO); in create()
Dgscan.cpp214 int ret = mMsg.create(GOOGLE_OUI, mRequesttype); in create()
280 int ret = mMsg.create(GOOGLE_OUI, GSCAN_SUBCMD_GET_CHANNEL_LIST); in create()
285 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
286 ret = mMsg.put_u32(GSCAN_ATTRIBUTE_BAND, band); in create()
291 mMsg.attr_end(data); 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()
208 return wifi_nla_put(mMsg, attribute, sizeof(value), &value); in put_u8()
[all …]
Dcpp_bindings.cpp539 mHeader = (genlmsghdr *)nlmsg_data(nlmsg_hdr(mMsg)); in parse()
550 mMsg = nlmsg_alloc(); in create()
551 if (mMsg != NULL) { in create()
552 genlmsg_put(mMsg, /* pid = */ 0, /* seq = */ 0, family, in create()
591 return requestResponse(mMsg); in requestResponse()
622 mMsg.destroy(); in requestResponse()
639 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestEvent()
665 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestVendorEvent()
802 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
807 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
[all …]
Dwifihal_vendor.cpp47 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
52 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
57 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
108 return WifiCommand::requestResponse(mMsg); in requestResponse()
Droam.cpp33 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
38 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
42 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
53 return WifiCommand::requestResponse(mMsg); in requestResponse()
Dwificonfig.cpp675 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
680 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
684 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
692 wifi_error ret = mMsg.create(cmdId, 0, 0); in create_generic()
755 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent()
790 mMsg.destroy(); in requestEvent()
Dnan_req.cpp356 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanEnable()
388 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanDisable()
648 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanConfig()
866 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanPublish()
904 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanPublishCancel()
1126 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanSubscribe()
1164 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanSubscribeCancel()
1238 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanTransmitFollowup()
1279 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanStats()
1335 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanTCA()
[all …]
Dwifilogger.cpp805 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
810 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
814 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
970 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent()
1002 mMsg.destroy(); in requestEvent()
1008 return WifiCommand::requestResponse(mMsg); in requestResponse()
Dnan.cpp1135 mMsg.destroy(); in cleanup()
1171 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
1176 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
1180 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
1184 mMsg.destroy(); in create()
Dllstats.cpp34 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
39 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
44 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
852 return WifiCommand::requestResponse(mMsg); in requestResponse()
Dgscan_event_handler.cpp24 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
29 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
34 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
Dgscan.cpp1184 ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
1189 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
1194 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
1206 return WifiCommand::requestResponse(mMsg); in requestResponse()
Dtdls.cpp315 return WifiCommand::requestResponse(mMsg); in requestResponse()
Difaceeventhandler.cpp222 return WifiCommand::requestResponse(mMsg); in requestResponse()
Dwifi_hal.cpp1686 wifi_error ret = mMsg.create(nlctrlFamily, CTRL_CMD_GETFAMILY, 0, 0); in create()
1690 ret = mMsg.put_string(CTRL_ATTR_FAMILY_NAME, mName); in create()