Home
last modified time | relevance | path

Searched refs:nlattr (Results 1 – 25 of 36) 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()
243 u8 get_u8(const struct nlattr *nla) in get_u8()
247 u16 get_u16(const struct nlattr *nla) in get_u16()
[all …]
Dradio_mode.cpp108 struct nlattr *mtb_vendor[QCA_WLAN_VENDOR_ATTR_MAC_MAX + 1]; in handleEvent()
109 struct nlattr *modeInfo; in handleEvent()
113 (struct nlattr *)mVendorData, in handleEvent()
118 … for (modeInfo = (struct nlattr *) nla_data(mtb_vendor[QCA_WLAN_VENDOR_ATTR_MAC_INFO]), in handleEvent()
122 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_MAX+ 1]; in handleEvent()
124 (struct nlattr *) nla_data(modeInfo), nla_len(modeInfo), NULL); in handleEvent()
146 struct nlattr *tb_iface; in handleEvent()
149 … for (tb_iface = (struct nlattr *) nla_data(tb2[QCA_WLAN_VENDOR_ATTR_MAC_IFACE_INFO]), in handleEvent()
153 struct nlattr *tb3[QCA_WLAN_VENDOR_ATTR_MAC_IFACE_INFO_MAX+ 1]; in handleEvent()
157 … (struct nlattr *) nla_data(tb_iface), nla_len(tb_iface), NULL); in handleEvent()
Dgscan_event_handler.h81 struct nlattr **tb_vendor);
86 struct nlattr **tb_vendor);
88 struct nlattr **tb_vendor);
93 struct nlattr **tbVendor);
Difaceeventhandler.cpp236 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_FEATURE_SET_MAX + 1]; in handleResponse()
238 (struct nlattr *)mVendorData, in handleResponse()
253 struct nlattr *attr; in handleResponse()
254 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_MAX + 1]; in handleResponse()
256 (struct nlattr *)mVendorData, mDataLen, NULL); in handleResponse()
270 struct nlattr *tb_vendor[ in handleResponse()
274 (struct nlattr *)mVendorData,mDataLen, NULL); in handleResponse()
315 struct nlattr *tb_vendor[ in handleResponse()
318 (struct nlattr *)mVendorData, in handleResponse()
382 struct nlattr *tb_vendor[ in handleResponse()
[all …]
Dgscan_event_handler.cpp220 struct nlattr **tb_vendor) in gscan_parse_hotlist_ap_results()
223 struct nlattr *scanResultsInfo; in gscan_parse_hotlist_ap_results()
228 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_parse_hotlist_ap_results()
236 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX + 1]; in gscan_parse_hotlist_ap_results()
238 (struct nlattr *) nla_data(scanResultsInfo), in gscan_parse_hotlist_ap_results()
353 struct nlattr **tb_vendor) in gscan_get_significant_change_results()
361 struct nlattr *scanResultsInfo; in gscan_get_significant_change_results()
363 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_get_significant_change_results()
370 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX + 1]; in gscan_get_significant_change_results()
372 (struct nlattr *) nla_data(scanResultsInfo), in gscan_get_significant_change_results()
[all …]
Dllstats.cpp106 struct nlattr **tb_vendor) in get_wifi_interface_info()
215 struct nlattr **tb_vendor) in get_wifi_wmm_ac_stat()
347 struct nlattr **tb_vendor) in get_wifi_rate_stat()
444 struct nlattr **tb_vendor) in get_wifi_peer_info()
449 struct nlattr *rateInfo; in get_wifi_peer_info()
497 …for (rateInfo = (struct nlattr *) nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_PEER_INFO_RATE_… in get_wifi_peer_info()
501 struct nlattr *tb2[ QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX+ 1]; in get_wifi_peer_info()
504 …nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, (struct nlattr *) nla_data(rateInfo), nla_len(ra… in get_wifi_peer_info()
515 struct nlattr **tb_vendor) in get_wifi_iface_stats()
517 struct nlattr *wmmInfo; in get_wifi_iface_stats()
[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);
106 int getNdpScheduleUpdate(struct nlattr **tb_vendor, NanDataPathScheduleUpdateInd *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()
355 struct nlattr *nl_data; in wifi_enable_tdls()
439 struct nlattr *nl_data; in wifi_disable_tdls()
488 struct nlattr *nl_data; in wifi_get_tdls_status()
Dgscan.cpp103 struct nlattr *nlData; in wifi_get_valid_channels()
201 struct nlattr *nlData; in wifi_start_gscan()
206 struct nlattr *nlBuckectSpecList; in wifi_start_gscan()
297 struct nlattr *nlBucketSpec = gScanCommand->attr_start(i); in wifi_start_gscan()
326 struct nlattr *nl_channelSpecList = in wifi_start_gscan()
331 struct nlattr *nl_channelSpec = gScanCommand->attr_start(j); in wifi_start_gscan()
412 struct nlattr *nlData; in wifi_stop_gscan()
492 struct nlattr *nlData, *nlApThresholdParamList; in wifi_set_bssid_hotlist()
570 struct nlattr *nlApThresholdParam = gScanCommand->attr_start(i); in wifi_set_bssid_hotlist()
652 struct nlattr *nlData; in wifi_reset_bssid_hotlist()
[all …]
Dwifihal_vendor.cpp122 struct nlattr *tb_vendor[QCA_ATTR_NUD_STATS_GET_MAX + 1]; in handleResponse()
127 (struct nlattr *)mVendorData, mDataLen, NULL); in handleResponse()
249 struct nlattr *nl_data; in wifi_set_nud_stats()
298 struct nlattr *nl_data; in wifi_get_nud_stats()
346 struct nlattr *nl_data; in wifi_clear_nud_stats()
Dcpp_bindings.cpp759 struct nlattr **tb = reply.attributes(); in handleResponse()
775 struct nlattr **tb = event.attributes(); in handleEvent()
885 u8 WifiVendorCommand::get_u8(const struct nlattr *nla) in get_u8()
890 u16 WifiVendorCommand::get_u16(const struct nlattr *nla) in get_u16()
895 u32 WifiVendorCommand::get_u32(const struct nlattr *nla) in get_u32()
900 u64 WifiVendorCommand::get_u64(const struct nlattr *nla) in get_u64()
905 s8 WifiVendorCommand::get_s8(const struct nlattr *nla) in get_s8()
910 s16 WifiVendorCommand::get_s16(const struct nlattr *nla) in get_s16()
915 s32 WifiVendorCommand::get_s32(const struct nlattr *nla) in get_s32()
920 s64 WifiVendorCommand::get_s64(const struct nlattr *nla) in get_s64()
[all …]
Droam.cpp63 struct nlattr *nlData, *nlBssids; in wifi_set_bssid_blacklist()
124 struct nlattr *nl_ssid = roamCommand->attr_start(i); in wifi_set_bssid_blacklist()
154 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()
311 struct nlattr *nlData; in wifi_enable_firmware_roaming()
Difaceeventhandler.h56 struct nlattr *tb[NL80211_ATTR_MAX + 1];
97 virtual wifi_error wifiParseCapabilities(struct nlattr **tbVendor);
Drssi_monitor.cpp191 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_RSSI_MONITORING_MAX in handleEvent()
194 (struct nlattr *)mVendorData, in handleEvent()
258 struct nlattr *nlData; in wifi_start_rssi_monitoring()
321 struct nlattr *nlData; in wifi_stop_rssi_monitoring()
Dwifilogger.cpp74 struct nlattr *nlData; in wifi_start_logging()
227 struct nlattr *nlData; in wifi_get_logger_supported_feature_set()
287 struct nlattr *nlData; in wifi_get_ring_data()
361 struct nlattr *nlData; in wifi_get_firmware_version()
422 struct nlattr *nlData; in wifi_get_driver_version()
482 struct nlattr *nlData; in wifi_get_firmware_memory_dump()
1023 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_WIFI_INFO_GET_MAX + 1]; in handleResponse()
1026 (struct nlattr *)mVendorData, mDataLen, NULL); in handleResponse()
1055 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_LOGGER_MAX + 1]; in handleResponse()
1058 (struct nlattr *)mVendorData, mDataLen, NULL); in handleResponse()
[all …]
Dwificonfig.cpp48 struct nlattr *nlData; in wifi_extended_dtim_config_set()
192 struct nlattr *nlData; in wifi_set_beacon_wifi_iface_stats_averaging_factor()
259 struct nlattr *nlData; in wifi_set_guard_time()
322 struct nlattr *nlData; in wifi_select_tx_power_scenario()
409 struct nlattr *nlData; in wifi_reset_tx_power_scenario()
467 struct nlattr *nlData; in wifi_set_latency_mode()
558 struct nlattr *nlData; in wifi_set_thermal_mitigation_mode()
/hardware/broadcom/wlan/bcmdhd/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()
112 struct nlattr *pos;
115 nl_iterator(struct nlattr *attr) { in nl_iterator()
116 pos = (struct nlattr *)nla_data(attr); in nl_iterator()
123 pos = (struct nlattr *)nla_next(pos, &(rem)); in next()
125 struct nlattr *get() { in get()
224 struct nlattr * attr_start(int attribute) { in attr_start()
227 void attr_end(struct nlattr *attr) { in attr_end()
[all …]
Dgscan.cpp285 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
310 nlattr *vendor_data = reply.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleResponse()
349 static int parseScanResults(wifi_scan_result *results, int num, nlattr *attr) in parseScanResults()
358 nlattr *sc_data = (nlattr *) it.get_data(); in parseScanResults()
397 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createFeatureRequest()
424 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
504 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createSetupRequest()
516 nlattr * bucket = request.attr_start(i); // next bucket in createSetupRequest()
553 nlattr *channels = request.attr_start(GSCAN_ATTRIBUTE_BUCKET_CHANNELS); in createSetupRequest()
579 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createScanConfigRequest()
[all …]
Dwifi_logger.cpp252 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRingRequest()
296 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
317 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
339 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
425 nlattr *vendor_data = reply.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleResponse()
599 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in start()
650 nlattr *vendor_data = event.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleEvent()
773 nlattr *vendor_data = reply.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleResponse()
803 nlattr *vendor_data = event.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleEvent()
868 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in handleEvent()
[all …]
Dwifi_hal.cpp796 struct nlattr **tb = reply.attributes(); in handleResponse()
798 struct nlattr *mcgrp = NULL; in handleResponse()
811 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in handleResponse()
812 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse()
860 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
913 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
941 nlattr *data = mMsg.attr_start(NL80211_ATTR_VENDOR_DATA); in create()
971 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
1036 nlattr *vendor_data = event.get_attribute(NL80211_ATTR_VENDOR_DATA); in handleEvent()
1120 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/msm8996/kernel-headers/linux/
Dnetlink.h157 struct nlattr { struct
169 #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/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()
299 struct nlattr **nla_data, int pid) in cld80211_msg_alloc()

12