Home
last modified time | relevance | path

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

12

/hardware/synaptics/wlan/synadhd/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.cpp879 int ret = mMsg.create(nlctrlFamily, CTRL_CMD_GETFAMILY, 0, 0); in create()
883 ret = mMsg.put_string(CTRL_ATTR_FAMILY_NAME, mName); in create()
1001 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_NODFS_SET); in create()
1007 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
1008 ret = mMsg.put_u32(ANDR_WIFI_ATTRIBUTE_NODFS_SET, mNoDfs); in create()
1013 mMsg.attr_end(data); in create()
1029 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_SET_COUNTRY_CODE); in create()
1035 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
1036 ret = mMsg.put_string(ANDR_WIFI_ATTRIBUTE_COUNTRY, mCountryCode); in create()
1041 mMsg.attr_end(data); in create()
[all …]
Dtwt.cpp335 int ret = mMsg.create(GOOGLE_OUI, TWT_SUBCMD_GETCAPABILITY); in create()
433 int ret = mMsg.create(GOOGLE_OUI, TWT_SUBCMD_GETSTATS); in create()
438 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
439 ret = mMsg.put_u8(TWT_ATTRIBUTE_CONFIG_ID, mConfig_id); in create()
446 mMsg.attr_end(data); in create()
541 int ret = mMsg.create(GOOGLE_OUI, TWT_SUBCMD_CLR_STATS); in create()
546 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
547 ret = mMsg.put_u8(TWT_ATTRIBUTE_CONFIG_ID, mConfig_id); in create()
554 mMsg.attr_end(data); in create()
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()
646 return requestResponse(mMsg); in requestResponse()
696 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestEvent()
721 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestVendorEvent()
Drtt.cpp158 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_GETCAPABILITY); in create()
206 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_GETAVAILCHANNEL); in create()
257 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_SET_RESPONDER); in create()
304 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_CANCEL_RESPONDER); in create()
/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()
205 return nla_put(mMsg, attribute, len, ptr); in put()
[all …]
Dwifi_hal.cpp919 int ret = mMsg.create(nlctrlFamily, CTRL_CMD_GETFAMILY, 0, 0); in create()
923 ret = mMsg.put_string(CTRL_ATTR_FAMILY_NAME, mName); in create()
1041 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_NODFS_SET); in create()
1047 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
1048 ret = mMsg.put_u32(ANDR_WIFI_ATTRIBUTE_NODFS_SET, mNoDfs); in create()
1053 mMsg.attr_end(data); in create()
1069 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_SET_COUNTRY_CODE); in create()
1075 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
1076 ret = mMsg.put_string(ANDR_WIFI_ATTRIBUTE_COUNTRY, mCountryCode); in create()
1081 mMsg.attr_end(data); in create()
[all …]
Dcpp_bindings.cpp560 mHeader = (genlmsghdr *)nlmsg_data(nlmsg_hdr(mMsg)); in parse()
578 mMsg = nlmsg_alloc_size(data_len); in create()
580 mMsg = nlmsg_alloc(); in create()
582 if (mMsg != NULL) { in create()
583 genlmsg_put(mMsg, /* pid = */ 0, /* seq = */ 0, family, in create()
681 return requestResponse(mMsg); in requestResponse()
736 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestEvent()
761 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestVendorEvent()
Dtwt.cpp334 int ret = mMsg.create(GOOGLE_OUI, TWT_SUBCMD_GETCAPABILITY); in create()
439 int ret = mMsg.create(GOOGLE_OUI, TWT_SUBCMD_GETSTATS); in create()
444 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
445 ret = mMsg.put_u8(TWT_ATTRIBUTE_CONFIG_ID, mConfig_id); in create()
452 mMsg.attr_end(data); in create()
548 int ret = mMsg.create(GOOGLE_OUI, TWT_SUBCMD_CLR_STATS); in create()
553 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
554 ret = mMsg.put_u8(TWT_ATTRIBUTE_CONFIG_ID, mConfig_id); in create()
561 mMsg.attr_end(data); in create()
Dscan.cpp73 int ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_GET_CACHED_SCAN_RESULTS); in create()
Drtt.cpp163 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_GETCAPABILITY); in create()
211 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_GETAVAILCHANNEL); in create()
264 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_SET_RESPONDER); in create()
311 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_CANCEL_RESPONDER); in create()
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dcpp_bindings.h34 struct nl_msg *mMsg; variable
40 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()
214 return wifi_nla_put(mMsg, attribute, sizeof(value), &value); in put_u8()
[all …]
Dcpp_bindings.cpp545 mHeader = (genlmsghdr *)nlmsg_data(nlmsg_hdr(mMsg)); in parse()
556 mMsg = nlmsg_alloc(); in create()
557 if (mMsg != NULL) { in create()
558 genlmsg_put(mMsg, /* pid = */ 0, /* seq = */ 0, family, in create()
597 return requestResponse(mMsg); in requestResponse()
628 mMsg.destroy(); in requestResponse()
645 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestEvent()
671 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestVendorEvent()
808 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
813 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
[all …]
Dnan_req.cpp396 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanEnable()
410 if (mMsg.put_u32(QCA_WLAN_VENDOR_ATTR_NAN_SUBCMD_TYPE, in putNanEnable()
412 mMsg.put_bytes(QCA_WLAN_VENDOR_ATTR_NAN_CMD_DATA, in putNanEnable()
419 if (mMsg.put_u32(QCA_WLAN_VENDOR_ATTR_NAN_DISC_24GHZ_BAND_FREQ, in putNanEnable()
427 if (mMsg.put_u32(QCA_WLAN_VENDOR_ATTR_NAN_DISC_5GHZ_BAND_FREQ, in putNanEnable()
464 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanDisable()
479 if (mMsg.put_u32(QCA_WLAN_VENDOR_ATTR_NAN_SUBCMD_TYPE, in putNanDisable()
481 mMsg.put_bytes(QCA_WLAN_VENDOR_ATTR_NAN_CMD_DATA, in putNanDisable()
745 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanConfig()
759 if (mMsg.put_bytes(QCA_WLAN_VENDOR_ATTR_NAN_CMD_DATA, in putNanConfig()
[all …]
Droam.cpp41 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
46 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
50 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
61 return WifiCommand::requestResponse(mMsg); in requestResponse()
Dwifihal_vendor.cpp53 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
58 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
63 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
121 return WifiCommand::requestResponse(mMsg); in requestResponse()
Dwificonfig.cpp880 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
885 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
889 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
897 wifi_error ret = mMsg.create(cmdId, 0, 0); in create_generic()
965 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent()
1001 mMsg.destroy(); in requestEvent()
Dwifilogger.cpp852 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
857 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
861 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
1018 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent()
1051 mMsg.destroy(); in requestEvent()
1057 return WifiCommand::requestResponse(mMsg); in requestResponse()
/hardware/qcom/wlan/legacy/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 …]
Dnan_req.cpp362 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanEnable()
376 if (mMsg.put_u32(QCA_WLAN_VENDOR_ATTR_NAN_SUBCMD_TYPE, in putNanEnable()
378 mMsg.put_bytes(QCA_WLAN_VENDOR_ATTR_NAN_CMD_DATA, in putNanEnable()
385 if (mMsg.put_u32(QCA_WLAN_VENDOR_ATTR_NAN_DISC_24GHZ_BAND_FREQ, in putNanEnable()
393 if (mMsg.put_u32(QCA_WLAN_VENDOR_ATTR_NAN_DISC_5GHZ_BAND_FREQ, in putNanEnable()
430 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanDisable()
445 if (mMsg.put_u32(QCA_WLAN_VENDOR_ATTR_NAN_SUBCMD_TYPE, in putNanDisable()
447 mMsg.put_bytes(QCA_WLAN_VENDOR_ATTR_NAN_CMD_DATA, in putNanDisable()
711 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanConfig()
725 if (mMsg.put_bytes(QCA_WLAN_VENDOR_ATTR_NAN_CMD_DATA, in putNanConfig()
[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.cpp36 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
41 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
45 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
56 return WifiCommand::requestResponse(mMsg); in requestResponse()
Dwificonfig.cpp682 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
687 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
691 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
699 wifi_error ret = mMsg.create(cmdId, 0, 0); in create_generic()
767 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent()
802 mMsg.destroy(); in requestEvent()
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()

12