Home
last modified time | relevance | path

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

/device/linaro/poplar/wifi/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.cpp61 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()