Skip to content

Commit

Permalink
sta_reset_default: Make sure IPv6 enabled for QM program for Android
Browse files Browse the repository at this point in the history
Android may disable IPv6 on the wlan0 interface and this can cause the
QoS Management program test case failures due to IPv6 link local address
configuration failing after the connection complete.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
  • Loading branch information
Veerendranath Jakkam authored and Jouni Malinen committed Feb 6, 2025
1 parent 9712250 commit 14a417a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -11373,6 +11373,9 @@ static enum sigma_cmd_result cmd_sta_reset_default(struct sigma_dut *dut,
dut->qm_domain_name[0] = '\0';
dut->reject_dscp_policies = 0;
dut->num_dscp_status = 0;
#ifdef ANDROID
enable_sta_ipv6_configuration(dut, intf, buf, sizeof(buf));
#endif /* ANDROID */
snprintf(buf, sizeof(buf),
"ip -6 route replace fe80::/64 dev %s table local",
intf);
Expand Down

0 comments on commit 14a417a

Please sign in to comment.