/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | cpp_bindings.h | 11 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 …]
|
D | wifi_hal.cpp | 544 int ret = mMsg.create(nlctrlFamily, CTRL_CMD_GETFAMILY, 0, 0); in create() 548 ret = mMsg.put_string(CTRL_ATTR_FAMILY_NAME, mName); in create() 663 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_NODFS_SET); in create() 669 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create() 670 ret = mMsg.put_u32(ANDR_WIFI_ATTRIBUTE_NODFS_SET, mNoDfs); in create() 675 mMsg.attr_end(data); in create() 691 ret = mMsg.create(GOOGLE_OUI, WIFI_SUBCMD_SET_COUNTRY_CODE); in create() 697 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create() 698 ret = mMsg.put_string(ANDR_WIFI_ATTRIBUTE_COUNTRY, mCountryCode); in create() 703 mMsg.attr_end(data); in create() [all …]
|
D | cpp_bindings.cpp | 532 mHeader = (genlmsghdr *)nlmsg_data(nlmsg_hdr(mMsg)); in parse() 544 mMsg = nlmsg_alloc(); in create() 545 if (mMsg != NULL) { in create() 546 genlmsg_put(mMsg, /* pid = */ 0, /* seq = */ 0, family, in create() 589 return requestResponse(mMsg); in requestResponse() 637 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestEvent() 662 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestVendorEvent()
|
D | rtt.cpp | 129 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_GETCAPABILITY); in create() 177 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_GETAVAILCHANNEL); in create() 228 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_SET_RESPONDER); in create() 275 int ret = mMsg.create(GOOGLE_OUI, RTT_SUBCMD_CANCEL_RESPONDER); in create()
|
D | link_layer_stats.cpp | 60 int ret = mMsg.create(GOOGLE_OUI, LSTATS_SUBCMD_GET_INFO); in create()
|
D | gscan.cpp | 186 int ret = mMsg.create(GOOGLE_OUI, GSCAN_SUBCMD_GET_CAPABILITIES); in create() 244 int ret = mMsg.create(GOOGLE_OUI, GSCAN_SUBCMD_GET_CHANNEL_LIST); in create() 249 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create() 250 ret = mMsg.put_u32(GSCAN_ATTRIBUTE_BAND, band); in create() 255 mMsg.attr_end(data); in create()
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | cpp_bindings.h | 28 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 …]
|
D | cpp_bindings.cpp | 540 mHeader = (genlmsghdr *)nlmsg_data(nlmsg_hdr(mMsg)); in parse() 551 mMsg = nlmsg_alloc(); in create() 552 if (mMsg != NULL) { in create() 553 genlmsg_put(mMsg, /* pid = */ 0, /* seq = */ 0, family, in create() 596 return requestResponse(mMsg); in requestResponse() 626 mMsg.destroy(); in requestResponse() 641 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestEvent() 665 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestVendorEvent() 802 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create() 807 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create() [all …]
|
D | wificonfig.cpp | 312 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create() 318 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create() 322 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create() 331 int ret = mMsg.create(cmdId, 0, 0); in create_generic() 393 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent() 423 mMsg.destroy(); in requestEvent()
|
D | nan_req.cpp | 263 int ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanEnable() 294 int ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanDisable() 454 int ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanConfig() 538 int ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanPublish() 575 int ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanPublishCancel() 670 int ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanSubscribe() 707 int ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanSubscribeCancel() 775 int ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanTransmitFollowup() 815 int ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanStats() 871 int ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in putNanTCA() [all …]
|
D | nan.cpp | 646 mMsg.destroy(); in cleanup() 673 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create() 679 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create() 683 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create() 688 mMsg.destroy(); in create()
|
D | wifilogger.cpp | 795 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create() 801 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create() 805 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create() 951 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent() 981 mMsg.destroy(); in requestEvent() 987 return WifiCommand::requestResponse(mMsg); in requestResponse()
|
D | ifaceeventhandler.cpp | 218 return WifiCommand::requestResponse(mMsg); in requestResponse()
|
D | llstats.cpp | 36 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create() 41 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create() 46 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create() 855 return WifiCommand::requestResponse(mMsg); in requestResponse()
|
D | gscan_event_handler.cpp | 25 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create() 31 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create() 36 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
|
D | tdls.cpp | 323 return WifiCommand::requestResponse(mMsg); in requestResponse()
|
D | gscan.cpp | 1373 int ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create() 1379 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create() 1383 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create() 1431 return WifiCommand::requestResponse(mMsg); in requestResponse()
|
D | wifi_hal.cpp | 848 int ret = mMsg.create(nlctrlFamily, CTRL_CMD_GETFAMILY, 0, 0); in create() 852 ret = mMsg.put_string(CTRL_ATTR_FAMILY_NAME, mName); in create()
|