Starting from Galaxy S7, Samsung added a new cool feature called Wi-Fi sharing, by which you can connect to an Access Point and turn on your hotspot at the same time. That means, you can now turn on your Wi-Fi and hotspot at the same time, something that was not possible in any other phones till date. So, how do they do it? Is it something possible to do in code, or you have to have a special hardware?
Software, not hardware
Thanks to the brilliant research of xavier_fakerat
You will see that software can accomplish this. So it's not just a special hardware thing.
You can use https://play.google.com/store/apps/details?id=kha.prog.mikrotik&hl=en To get similar results that the S7 produces