Loading wifi/1.6/IWifiChip.hal +13 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,19 @@ import IWifiRttController; * Interface that represents a chip that must be configured as a single unit. */ interface IWifiChip extends @1.5::IWifiChip { /** * Usable Wifi channels filter masks. */ enum UsableChannelFilter : @1.5::IWifiChip.UsableChannelFilter { /** * Filter Wifi channels that are supported for NAN3.1 Instant communication mode. This * filter should only be applied to NAN interface. * - If 5G is supported default discovery channel 149/44 is considered, * - If 5G is not supported then channel 6 has to be considered. */ NAN_INSTANT_MODE = 1 << 2, }; /** * Create a RTTController instance. * Loading wifi/1.6/default/hidl_struct_util.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -433,6 +433,9 @@ uint32_t convertHidlUsableChannelFilterToLegacy(uint32_t hidl_filter_mask) { if (hidl_filter_mask & V1_5::IWifiChip::UsableChannelFilter::CONCURRENCY) { legacy_filter_mask |= legacy_hal::WIFI_USABLE_CHANNEL_FILTER_CONCURRENCY; } if (hidl_filter_mask & V1_6::IWifiChip::UsableChannelFilter::NAN_INSTANT_MODE) { legacy_filter_mask |= WIFI_USABLE_CHANNEL_FILTER_NAN_INSTANT_MODE; } return legacy_filter_mask; } Loading wifi/1.6/default/wifi_chip.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -715,7 +715,7 @@ Return<void> WifiChip::createRttController_1_6(const sp<IWifiIface>& bound_iface Return<void> WifiChip::getUsableChannels_1_6( WifiBand band, hidl_bitfield<V1_5::WifiIfaceMode> ifaceModeMask, hidl_bitfield<V1_5::IWifiChip::UsableChannelFilter> filterMask, hidl_bitfield<V1_6::IWifiChip::UsableChannelFilter> filterMask, getUsableChannels_1_6_cb _hidl_cb) { return validateAndCall(this, WifiStatusCode::ERROR_WIFI_CHIP_INVALID, &WifiChip::getUsableChannelsInternal_1_6, _hidl_cb, band, ifaceModeMask, Loading wifi/1.6/default/wifi_chip.h +1 −1 Original line number Diff line number Diff line Loading @@ -151,7 +151,7 @@ class WifiChip : public V1_6::IWifiChip { Return<void> setCountryCode(const hidl_array<int8_t, 2>& code, setCountryCode_cb _hidl_cb) override; Return<void> getUsableChannels(WifiBand band, hidl_bitfield<V1_5::WifiIfaceMode> ifaceModeMask, hidl_bitfield<UsableChannelFilter> filterMask, hidl_bitfield<V1_5::IWifiChip::UsableChannelFilter> filterMask, getUsableChannels_cb _hidl_cb) override; Return<void> triggerSubsystemRestart(triggerSubsystemRestart_cb hidl_status_cb) override; Return<void> createRttController_1_6(const sp<IWifiIface>& bound_iface, Loading wifi/1.6/types.hal +1 −1 Original line number Diff line number Diff line Loading @@ -764,7 +764,7 @@ struct NanDataPathSecurityConfig { /** * Security Context Identifier attribute contains PMKID shall be included in NDP setup and * response messages. Security Context Identifier, Identifies the Security Context. When * security is enabled This field contains the 16 octet PMKID identifying the PMK used for * security is enabled this field contains the 16 octet PMKID identifying the PMK used for * setting up the Secure Data Path. */ uint8_t[16] scid; Loading Loading
wifi/1.6/IWifiChip.hal +13 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,19 @@ import IWifiRttController; * Interface that represents a chip that must be configured as a single unit. */ interface IWifiChip extends @1.5::IWifiChip { /** * Usable Wifi channels filter masks. */ enum UsableChannelFilter : @1.5::IWifiChip.UsableChannelFilter { /** * Filter Wifi channels that are supported for NAN3.1 Instant communication mode. This * filter should only be applied to NAN interface. * - If 5G is supported default discovery channel 149/44 is considered, * - If 5G is not supported then channel 6 has to be considered. */ NAN_INSTANT_MODE = 1 << 2, }; /** * Create a RTTController instance. * Loading
wifi/1.6/default/hidl_struct_util.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -433,6 +433,9 @@ uint32_t convertHidlUsableChannelFilterToLegacy(uint32_t hidl_filter_mask) { if (hidl_filter_mask & V1_5::IWifiChip::UsableChannelFilter::CONCURRENCY) { legacy_filter_mask |= legacy_hal::WIFI_USABLE_CHANNEL_FILTER_CONCURRENCY; } if (hidl_filter_mask & V1_6::IWifiChip::UsableChannelFilter::NAN_INSTANT_MODE) { legacy_filter_mask |= WIFI_USABLE_CHANNEL_FILTER_NAN_INSTANT_MODE; } return legacy_filter_mask; } Loading
wifi/1.6/default/wifi_chip.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -715,7 +715,7 @@ Return<void> WifiChip::createRttController_1_6(const sp<IWifiIface>& bound_iface Return<void> WifiChip::getUsableChannels_1_6( WifiBand band, hidl_bitfield<V1_5::WifiIfaceMode> ifaceModeMask, hidl_bitfield<V1_5::IWifiChip::UsableChannelFilter> filterMask, hidl_bitfield<V1_6::IWifiChip::UsableChannelFilter> filterMask, getUsableChannels_1_6_cb _hidl_cb) { return validateAndCall(this, WifiStatusCode::ERROR_WIFI_CHIP_INVALID, &WifiChip::getUsableChannelsInternal_1_6, _hidl_cb, band, ifaceModeMask, Loading
wifi/1.6/default/wifi_chip.h +1 −1 Original line number Diff line number Diff line Loading @@ -151,7 +151,7 @@ class WifiChip : public V1_6::IWifiChip { Return<void> setCountryCode(const hidl_array<int8_t, 2>& code, setCountryCode_cb _hidl_cb) override; Return<void> getUsableChannels(WifiBand band, hidl_bitfield<V1_5::WifiIfaceMode> ifaceModeMask, hidl_bitfield<UsableChannelFilter> filterMask, hidl_bitfield<V1_5::IWifiChip::UsableChannelFilter> filterMask, getUsableChannels_cb _hidl_cb) override; Return<void> triggerSubsystemRestart(triggerSubsystemRestart_cb hidl_status_cb) override; Return<void> createRttController_1_6(const sp<IWifiIface>& bound_iface, Loading
wifi/1.6/types.hal +1 −1 Original line number Diff line number Diff line Loading @@ -764,7 +764,7 @@ struct NanDataPathSecurityConfig { /** * Security Context Identifier attribute contains PMKID shall be included in NDP setup and * response messages. Security Context Identifier, Identifies the Security Context. When * security is enabled This field contains the 16 octet PMKID identifying the PMK used for * security is enabled this field contains the 16 octet PMKID identifying the PMK used for * setting up the Secure Data Path. */ uint8_t[16] scid; Loading