In general,hotspot’s maximam connection is limited by hardware,so if you want to modify the number,must to make sure the performance of hardware is enough;
packages/apps/Settings/res_ext/values/mtk_arrays.xml
<string-array name="wifi_ap_max_connection_entries">
<item>1 user</item>
<item>2 users</item>
<item>3 users</item>
<item>4 users</item>
<item>5 users</item>
<item>6 users</item>
<item>7 users</item>
<item>8 users</item>
//add to ten
<item>9 users</item>
<item>10 users</item>
//add
</string-array>
so you can choose "10 users " when you setup hotspot;