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()
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()
194 return nla_put(mMsg, attribute, len, ptr); in put()
[all …]
Dwifi_hal.cpp610 int ret = mMsg.create(nlctrlFamily, CTRL_CMD_GETFAMILY, 0, 0); in create()
614 ret = mMsg.put_string(CTRL_ATTR_FAMILY_NAME, mName); in create()
729 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_NODFS_SET); in create()
735 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
736 ret = mMsg.put_u32(ANDR_WIFI_ATTRIBUTE_NODFS_SET, mNoDfs); in create()
741 mMsg.attr_end(data); in create()
757 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_SET_COUNTRY_CODE); in create()
763 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
764 ret = mMsg.put_string(ANDR_WIFI_ATTRIBUTE_COUNTRY, mCountryCode); in create()
769 mMsg.attr_end(data); in create()
[all …]
Dcpp_bindings.cpp549 mHeader = (genlmsghdr *)nlmsg_data(nlmsg_hdr(mMsg)); in parse()
561 mMsg = nlmsg_alloc(); in create()
562 if (mMsg != NULL) { in create()
563 genlmsg_put(mMsg, /* pid = */ 0, /* seq = */ 0, family, in create()
606 return requestResponse(mMsg); in requestResponse()
654 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestEvent()
679 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.cpp204 int ret = mMsg.create(GOOGLE_OUI, GSCAN_SUBCMD_GET_CAPABILITIES); in create()
262 int ret = mMsg.create(GOOGLE_OUI, GSCAN_SUBCMD_GET_CHANNEL_LIST); in create()
267 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
268 ret = mMsg.put_u32(GSCAN_ATTRIBUTE_BAND, band); in create()
273 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()
Dwificonfig.cpp567 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
572 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
576 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
584 wifi_error ret = mMsg.create(cmdId, 0, 0); in create_generic()
647 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent()
682 mMsg.destroy(); in requestEvent()
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()
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.cpp1680 wifi_error ret = mMsg.create(nlctrlFamily, CTRL_CMD_GETFAMILY, 0, 0); in create()
1684 ret = mMsg.put_string(CTRL_ATTR_FAMILY_NAME, mName); in create()