ipa: update wlan upstream iface name
Update WLAN upstream name to support STA SAP scenario with wlan1 iface. Change-Id: I0223c5b4aff8dfe24562a2c6d4ac581a7843224e Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
This commit is contained in:
parent
11ee621aea
commit
f605473d7c
2 changed files with 6 additions and 2 deletions
|
@ -53,6 +53,7 @@
|
|||
|
||||
#define IPA_WWAN_DEV_NAME "rmnet_ipa%d"
|
||||
#define IPA_UPSTEAM_WLAN_IFACE_NAME "wlan0"
|
||||
#define IPA_UPSTEAM_WLAN1_IFACE_NAME "wlan1"
|
||||
|
||||
#define IPA_WWAN_DEVICE_COUNT (1)
|
||||
|
||||
|
@ -800,7 +801,8 @@ static enum ipa_upstream_type find_upstream_type(const char *upstreamIface)
|
|||
return IPA_UPSTEAM_MODEM;
|
||||
}
|
||||
|
||||
if (strcmp(IPA_UPSTEAM_WLAN_IFACE_NAME, upstreamIface) == 0)
|
||||
if ((strcmp(IPA_UPSTEAM_WLAN_IFACE_NAME, upstreamIface) == 0) ||
|
||||
(strcmp(IPA_UPSTEAM_WLAN1_IFACE_NAME, upstreamIface) == 0))
|
||||
return IPA_UPSTEAM_WLAN;
|
||||
else
|
||||
return IPA_UPSTEAM_MAX;
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
|
||||
#define IPA_WWAN_DEV_NAME "rmnet_ipa%d"
|
||||
#define IPA_UPSTEAM_WLAN_IFACE_NAME "wlan0"
|
||||
#define IPA_UPSTEAM_WLAN1_IFACE_NAME "wlan1"
|
||||
|
||||
#define IPA_WWAN_RX_SOFTIRQ_THRESH 16
|
||||
|
||||
|
@ -814,7 +815,8 @@ static enum ipa_upstream_type find_upstream_type(const char *upstreamIface)
|
|||
return IPA_UPSTEAM_MODEM;
|
||||
}
|
||||
|
||||
if (strcmp(IPA_UPSTEAM_WLAN_IFACE_NAME, upstreamIface) == 0)
|
||||
if ((strcmp(IPA_UPSTEAM_WLAN_IFACE_NAME, upstreamIface) == 0) ||
|
||||
(strcmp(IPA_UPSTEAM_WLAN1_IFACE_NAME, upstreamIface) == 0))
|
||||
return IPA_UPSTEAM_WLAN;
|
||||
else
|
||||
return MAX_NUM_OF_MUX_CHANNEL;
|
||||
|
|
Loading…
Add table
Reference in a new issue