Home
last modified time | relevance | path

Searched refs:nlattr (Results 1 – 25 of 33) sorted by relevance

12

/hardware/qcom/wlan/qcwcn/wifi_hal/
Dcpp_bindings.h30 struct nlattr *mAttributes[NL80211_ATTR_MAX_INTERNAL + 1];
72 nlattr ** attributes() { in attributes()
76 nlattr *get_attribute(int attribute) { in get_attribute()
109 struct nlattr *pos;
112 nl_iterator(struct nlattr *attr) { in nl_iterator()
113 pos = (struct nlattr *)nla_data(attr); in nl_iterator()
120 pos = (struct nlattr *)nla_next(pos, &(rem)); in next()
122 struct nlattr *get() { in get()
223 u8 get_u8(const struct nlattr *nla) in get_u8()
227 u16 get_u16(const struct nlattr *nla) in get_u16()
[all …]
Dgscan_event_handler.h81 struct nlattr **tb_vendor);
86 struct nlattr **tb_vendor);
88 struct nlattr **tb_vendor);
93 struct nlattr **tbVendor);
Dgscan_event_handler.cpp224 struct nlattr **tb_vendor) in gscan_parse_hotlist_ap_results()
227 struct nlattr *scanResultsInfo; in gscan_parse_hotlist_ap_results()
232 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_parse_hotlist_ap_results()
240 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX + 1]; in gscan_parse_hotlist_ap_results()
242 (struct nlattr *) nla_data(scanResultsInfo), in gscan_parse_hotlist_ap_results()
357 struct nlattr **tb_vendor) in gscan_get_significant_change_results()
365 struct nlattr *scanResultsInfo; in gscan_get_significant_change_results()
367 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_get_significant_change_results()
374 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX + 1]; in gscan_get_significant_change_results()
376 (struct nlattr *) nla_data(scanResultsInfo), in gscan_get_significant_change_results()
[all …]
Dllstats.cpp110 struct nlattr **tb_vendor) in get_wifi_interface_info()
219 struct nlattr **tb_vendor) in get_wifi_wmm_ac_stat()
351 struct nlattr **tb_vendor) in get_wifi_rate_stat()
448 struct nlattr **tb_vendor) in get_wifi_peer_info()
453 struct nlattr *rateInfo; in get_wifi_peer_info()
501 …for (rateInfo = (struct nlattr *) nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_PEER_INFO_RATE_… in get_wifi_peer_info()
505 struct nlattr *tb2[ QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX+ 1]; in get_wifi_peer_info()
508 …nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, (struct nlattr *) nla_data(rateInfo), nla_len(ra… in get_wifi_peer_info()
519 struct nlattr **tb_vendor) in get_wifi_iface_stats()
521 struct nlattr *wmmInfo; in get_wifi_iface_stats()
[all …]
Difaceeventhandler.cpp231 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_FEATURE_SET_MAX + 1]; in handleResponse()
233 (struct nlattr *)mVendorData, in handleResponse()
248 struct nlattr *tb_vendor[ in handleResponse()
252 (struct nlattr *)mVendorData,mDataLen, NULL); in handleResponse()
292 struct nlattr *tb_vendor[ in handleResponse()
295 (struct nlattr *)mVendorData, in handleResponse()
322 struct nlattr *tb_vendor[ in handleResponse()
325 (struct nlattr *)mVendorData, mDataLen, NULL); in handleResponse()
340 struct nlattr *tbVendor[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX + 1]; in handleResponse()
342 (struct nlattr *)mVendorData,mDataLen, NULL); in handleResponse()
[all …]
Dnancommand.h98 int handleNdpResponse(NanResponseType ndpCmdtyp, struct nlattr **tb_vendor);
99 int handleNdpIndication(u32 ndpCmdType, struct nlattr **tb_vendor);
100 int getNdpRequest(struct nlattr **tb_vendor, NanDataPathRequestInd *event);
101 int getNdpConfirm(struct nlattr **tb_vendor, NanDataPathConfirmInd *event);
102 int getNdpEnd(struct nlattr **tb_vendor, NanDataPathEndInd *event);
Dtdls.cpp102 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_STATE_MAX in handleEvent()
110 (struct nlattr *)mVendorData, in handleEvent()
191 struct nlattr *tb_vendor[ in handleResponse()
194 (struct nlattr *)mVendorData, in handleResponse()
247 struct nlattr *tb_vendor[ in handleResponse()
250 (struct nlattr *)mVendorData, in handleResponse()
354 struct nlattr *nl_data; in wifi_enable_tdls()
433 struct nlattr *nl_data; in wifi_disable_tdls()
483 struct nlattr *nl_data; in wifi_get_tdls_status()
Dgscan.cpp97 struct nlattr *nlData; in wifi_get_valid_channels()
223 struct nlattr *nlData; in wifi_start_gscan()
228 struct nlattr *nlBuckectSpecList; in wifi_start_gscan()
332 struct nlattr *nlBucketSpec = gScanCommand->attr_start(i); in wifi_start_gscan()
361 struct nlattr *nl_channelSpecList = in wifi_start_gscan()
366 struct nlattr *nl_channelSpec = gScanCommand->attr_start(j); in wifi_start_gscan()
447 struct nlattr *nlData; in wifi_stop_gscan()
540 struct nlattr *nlData, *nlApThresholdParamList; in wifi_set_bssid_hotlist()
631 struct nlattr *nlApThresholdParam = gScanCommand->attr_start(i); in wifi_set_bssid_hotlist()
713 struct nlattr *nlData; in wifi_reset_bssid_hotlist()
[all …]
Dcpp_bindings.cpp756 struct nlattr **tb = reply.attributes(); in handleResponse()
772 struct nlattr **tb = event.attributes(); in handleEvent()
876 u8 WifiVendorCommand::get_u8(const struct nlattr *nla) in get_u8()
881 u16 WifiVendorCommand::get_u16(const struct nlattr *nla) in get_u16()
886 u32 WifiVendorCommand::get_u32(const struct nlattr *nla) in get_u32()
891 u64 WifiVendorCommand::get_u64(const struct nlattr *nla) in get_u64()
896 s8 WifiVendorCommand::get_s8(const struct nlattr *nla) in get_s8()
901 s16 WifiVendorCommand::get_s16(const struct nlattr *nla) in get_s16()
906 s32 WifiVendorCommand::get_s32(const struct nlattr *nla) in get_s32()
911 s64 WifiVendorCommand::get_s64(const struct nlattr *nla) in get_s64()
[all …]
Droam.cpp65 struct nlattr *nlData, *nlBssids; in wifi_set_bssid_blacklist()
122 struct nlattr *nl_ssid = roamCommand->attr_start(i); in wifi_set_bssid_blacklist()
153 struct nlattr *nlData, *nlSsids; in wifi_set_ssid_white_list()
205 struct nlattr *nl_ssid = roamCommand->attr_start(i); in wifi_set_ssid_white_list()
313 struct nlattr *nlData; in wifi_enable_firmware_roaming()
Drssi_monitor.cpp190 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_RSSI_MONITORING_MAX in handleEvent()
193 (struct nlattr *)mVendorData, in handleEvent()
257 struct nlattr *nlData; in wifi_start_rssi_monitoring()
318 struct nlattr *nlData; in wifi_stop_rssi_monitoring()
Dwifilogger.cpp73 struct nlattr *nlData; in wifi_start_logging()
222 struct nlattr *nlData; in wifi_get_logger_supported_feature_set()
286 struct nlattr *nlData; in wifi_get_ring_data()
356 struct nlattr *nlData; in wifi_get_firmware_version()
419 struct nlattr *nlData; in wifi_get_driver_version()
481 struct nlattr *nlData; in wifi_get_firmware_memory_dump()
997 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_WIFI_INFO_GET_MAX + 1]; in handleResponse()
1000 (struct nlattr *)mVendorData, mDataLen, NULL); in handleResponse()
1029 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_FEATURE_SET_MAX + 1]; in handleResponse()
1032 (struct nlattr *)mVendorData, mDataLen, NULL); in handleResponse()
[all …]
Difaceeventhandler.h56 struct nlattr *tb[NL80211_ATTR_MAX + 1];
94 virtual wifi_error wifiParseCapabilities(struct nlattr **tbVendor);
Dwificonfig.cpp44 struct nlattr *nlData; in wifi_extended_dtim_config_set()
164 struct nlattr *nlData; in wifi_set_beacon_wifi_iface_stats_averaging_factor()
231 struct nlattr *nlData; in wifi_set_guard_time()
Dwifi_hal.cpp968 struct nlattr **tb = reply.attributes(); in handleResponse()
969 struct nlattr *mcgrp = NULL; in handleResponse()
983 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in handleResponse()
984 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse()
1147 struct nlattr *nlData; in wifi_get_concurrency_matrix()
1210 struct nlattr *nlData; in wifi_set_nodfs_flag()
1261 struct nlattr *nlData; in wifi_start_sending_offloaded_packet()
1320 struct nlattr *nlData; in wifi_stop_sending_offloaded_packet()
1362 struct nlattr *nlData; in wifi_set_packet_filter()
1440 struct nlattr *nlData; in wifi_get_packet_filter_capabilities()
[all …]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcpp_bindings.h13 struct nlattr *mAttributes[NL80211_ATTR_MAX_INTERNAL + 1];
55 nlattr ** attributes() { in attributes()
59 nlattr *get_attribute(int attribute) { in get_attribute()
92 struct nlattr *pos;
95 nl_iterator(struct nlattr *attr) { in nl_iterator()
96 pos = (struct nlattr *)nla_data(attr); in nl_iterator()
103 pos = (struct nlattr *)nla_next(pos, &(rem)); in next()
105 struct nlattr *get() { in get()
198 struct nlattr * attr_start(int attribute) { in attr_start()
201 void attr_end(struct nlattr *attr) { in attr_end()
[all …]
Dgscan.cpp250 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
275 nlattr *vendor_data = reply.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleResponse()
314 static int parseScanResults(wifi_scan_result *results, int num, nlattr *attr) in parseScanResults()
323 nlattr *sc_data = (nlattr *) it.get_data(); in parseScanResults()
362 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createFeatureRequest()
389 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
469 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createSetupRequest()
481 nlattr * bucket = request.attr_start(i); // next bucket in createSetupRequest()
518 nlattr *channels = request.attr_start(GSCAN_ATTRIBUTE_BUCKET_CHANNELS); in createSetupRequest()
544 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createScanConfigRequest()
[all …]
Dwifi_logger.cpp152 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRingRequest()
196 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
217 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
239 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
325 nlattr *vendor_data = reply.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleResponse()
520 nlattr *vendor_data = event.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleEvent()
638 nlattr *vendor_data = reply.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleResponse()
668 nlattr *vendor_data = event.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleEvent()
711 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in handleEvent()
820 nlattr *vendor_data = reply.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleResponse()
[all …]
Dwifi_hal.cpp574 struct nlattr **tb = reply.attributes(); in handleResponse()
576 struct nlattr *mcgrp = NULL; in handleResponse()
589 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in handleResponse()
590 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse()
634 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
687 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
715 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
745 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
810 nlattr *vendor_data = event.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleEvent()
889 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createSetPktFilterRequest()
[all …]
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dnetlink.h160 struct nlattr { struct
181 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) argument
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dnetlink.h160 struct nlattr { struct
181 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) argument
/hardware/qcom/msm8996/kernel-headers/linux/
Dnetlink.h157 struct nlattr { struct
169 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) argument
/hardware/qcom/msm8994/kernel-headers/linux/
Dnetlink.h157 struct nlattr { struct
169 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) argument
/hardware/qcom/wlan/cld80211-lib/
Dcld80211_lib.c199 struct nlattr *tb[CTRL_ATTR_MAX + 1]; in family_handler()
201 struct nlattr *mcgrp; in family_handler()
210 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in family_handler()
297 struct nlattr **nla_data, int pid) in cld80211_msg_alloc()
Dcld80211_lib.h84 struct nlattr **nla_data, int pid);

12