Home
last modified time | relevance | path

Searched refs:mMsg (Results 1 – 12 of 12) 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.cpp379 int ret = mMsg.create(nlctrlFamily, CTRL_CMD_GETFAMILY, 0, 0); in create()
383 ret = mMsg.put_string(CTRL_ATTR_FAMILY_NAME, mName); in create()
498 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_NODFS_SET); in create()
504 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
505 ret = mMsg.put_u32(ATTR_NODFS_VALUE, mNoDfs); in create()
510 mMsg.attr_end(data); in create()
539 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_GET_FEATURE_SET); in create()
541 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_GET_FEATURE_SET_MATRIX); in create()
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.cpp110 int ret = mMsg.create(GOOGLE_OUI, GSCAN_SUBCMD_GET_CAPABILITIES); in create()
168 int ret = mMsg.create(GOOGLE_OUI, GSCAN_SUBCMD_GET_CHANNEL_LIST); in create()
173 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
174 ret = mMsg.put_u32(GSCAN_ATTRIBUTE_BAND, band); in create()
179 mMsg.attr_end(data); in create()
Drtt.cpp64 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.cpp549 mHeader = (genlmsghdr *)nlmsg_data(nlmsg_hdr(mMsg)); in parse()
558 mMsg = nlmsg_alloc(); in create()
559 if (mMsg != NULL) { in create()
560 genlmsg_put(mMsg, /* pid = */ 0, /* seq = */ 0, family, in create()
603 return requestResponse(mMsg); in requestResponse()
651 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestEvent()
676 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestVendorEvent()
821 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
826 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
831 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
[all …]
Dgscan_event_handler.cpp22 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
28 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
33 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
Dllstats.cpp35 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
40 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
45 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
540 return WifiCommand::requestResponse(mMsg); in requestResponse()
Dwifi_hal.cpp405 int ret = mMsg.create(nlctrlFamily, CTRL_CMD_GETFAMILY, 0, 0); in create()
409 ret = mMsg.put_string(CTRL_ATTR_FAMILY_NAME, mName); in create()
Dgscan.cpp1252 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
1258 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
1262 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
1331 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent()
1366 mMsg.destroy(); in requestEvent()
1373 return WifiCommand::requestResponse(mMsg); in requestResponse()